
.siroko { text-align: justify; }
.centralno { text-align: center; }
.levotekst { text-align: left; }
.desnotekst { text-align: right; }

/* UNIVERZALCI */
.znak-upozorenje { color: #F59E0B; }  /* warning */
.znak-uspeh { color: #22C55E; }       /* success */
.znak-greska { color: #EF4444; }      /* error */
.znak-info { color: #3B82F6; }        /* info */
[class*="znak-"] {
    font-weight: 500;
}
/* 📱 responsive */
@media (max-width: 768px) {
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}
}

/* SEARCH HERO */
.search-box {
    max-width: 700px;
    width: calc(100% - 20px); /* 🔥 KLJUČ */
    margin: 60px auto 30px;
    text-align: center;
    position: relative;
}

#searchInput {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 20px;
    border-radius: 999px;

    border: 1px solid rgba(255,255,255,0.15);

    background: linear-gradient(
        145deg,
        rgba(31, 41, 55, 0.85),
        rgba(17, 24, 39, 0.95)
    );

    backdrop-filter: blur(8px);

    color: #fff;
    font-size: 16px;
    outline: none;
    transition: 0.25s;
}

#searchInput::placeholder {
    color: rgba(255,255,255,0.55);
}

#searchInput:focus {
    border: 1px solid #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    background: rgba(31, 41, 55, 0.9);
}

.search-engines {
    margin-top: 12px;
    font-size: 13px;
    color: #9ca3af;
}

/* MASKOTA */ 
.search-box::after {
    content: '';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 82px;
    height: 82px;
    background: url('/assets/img/mascot.png') center/contain no-repeat;
    opacity: 0.8;
 }

@media (max-width: 768px) {
    .search-box::after {
        display: none;
    }
}




/* QUICKLINKS */

.quicklinks {
    padding: 30px 20px;
    text-align: center;
}

.quicklinks h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #9ca3af;
}

/* GRID */
.quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 32px; /* 🔥 VEĆI RAZMAK ZA TOOLTIP */
    max-width: 800px;
    margin: 0 auto;
}

/* CARD */
.quicklink {
    position: relative;
    height: 95px;

    border-radius: 18px;
    overflow: visible;

    background: linear-gradient(
        145deg,
        rgba(31,41,55,0.8),
        rgba(17,24,39,0.9)
    );

    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.05);

    transition: all 0.25s ease;
}

/* HOVER */
.quicklink:hover {
    transform: translateY(-6px) scale(1.03);
    border: 1px solid rgba(37,99,235,0.4);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.4),
        0 0 0 1px rgba(37,99,235,0.2);
    cursor: pointer;
}

/* BACKGROUND IMAGE */
.tile-bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;

    background-size: cover;
    background-position: center;

    filter: brightness(0.7);
    z-index: 0; /* 🔥 BITNO */
}

/* OVERLAY */
.quicklink::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;

    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0,0,0,0.6)
    );

    z-index: 1;
}

/* ICON (fallback) */
.quicklink img {
    width: 42px;
    height: 42px;

    background: white;
    padding: 6px;
    border-radius: 12px;

    object-fit: contain;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    z-index: 2;
}

/* GLOW */
.quicklink::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;

    background: radial-gradient(
        circle at var(--x, 50%) var(--y, 50%),
        rgba(37,99,235,0.2),
        transparent 60%
    );

    opacity: 0;
    transition: 0.2s;
    z-index: 3;
}

.quicklink:hover::before {
    opacity: 1;
}

/* DELETE BTN */
.delete-btn {
    position: absolute;
    top: 6px;
    right: 8px;

    font-size: 12px;
    color: #9ca3af;
    cursor: pointer;

    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    padding: 2px 6px;

    display: none;
    z-index: 4;
}

.quicklink:hover .delete-btn {
    display: block;
}

/* TOOLTIP */
.tooltip {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);

    background: #111827;
    color: #fff;

    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;

    transition: 0.2s;
    z-index: 999;
}

.quicklink:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(6px);
}

/* TOOLTIP ARROW */
.tooltip::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);

    width: 8px;
    height: 8px;
    background: #111827;
}

/* ADD BUTTON */
.add-btn {
    margin-top: 30px;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;

    background: #2563eb;
    color: white;

    cursor: pointer;
    transition: 0.2s;
}

.add-btn:hover {
    background: #1d4ed8;
}

/* MODAL */
.image-preview-modal {
    z-index: 1000000; /* više od običnog modala */
}

.modal-content-flex {
    background: linear-gradient(145deg, #1f2937, #111827);
    color: #f9fafb;

    border-radius: 16px;
    padding: 20px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.08);

    position: relative;

    display: flex;
    flex-direction: column;
}

.modal-body-flex {
    overflow-y: auto;
}


.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65); /* zatamnjenje pozadine */
    backdrop-filter: blur(4px);   /* blur iza */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.hidden {
    display: none;
}

.modal-box {
    background: #111827;
    padding: 25px;
    border-radius: 14px;
    width: 300px;
    text-align: center;
}

.modal-box input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 8px;
    border: none;
}

.modal-actions {
    margin-top: 10px;
}

.modal-actions button {
    margin: 5px;
    padding: 8px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.modal-content {
    background: linear-gradient(145deg, #1f2937, #111827);
    color: #f9fafb;

    border-radius: 16px;
    padding: 20px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.08);

    position: relative;
    overflow: hidden;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 32px;
    height: 32px;

    border-radius: 8px;
    border: none;

    background: rgba(255,255,255,0.08);
    color: #fff;

    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: rgba(239,68,68,0.8);
}

.net-ua-modal {
    font-size: 14px;
    line-height: 1.6;
}

.net-ua-modal h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.net-ua-modal hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 14px 0;
}

.net-ua-modal ul {
    padding-left: 18px;
}

.net-ua-modal li {
    margin-bottom: 6px;
}

.net-ua-modal strong {
    color: #93c5fd;
}

/* VELIKI MODAL */

.modal-large {
    width: 85vw;
    height: 80vh;
}

.modal-medium {
    width: 70vw;
    height: 65vh;
}

.modal-small {
    width: 55vw;
    height: 50vh;
}

.modal-mini {
    width: 40vw;
    height: 35vh;
}

.modal-large iframe, .modal-medium iframe,
.modal-small iframe, .modal-mini iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal {
    transition: background 0.2s ease;
}

.modal-content {
    animation: net-modal-soft 0.2s ease;
}

@keyframes net-modal-soft {
    from {
        transform: translateY(10px);
        opacity: 0.8;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}



/* INFO ROW: modal za info dugme */
/* MODAL: tutorijal za početnu stranicu */
.homepage-help-modal-box {
    position: relative;
    width: min(1000px, calc(100vw - 30px));
    max-height: calc(100vh - 40px);
    padding: 0;
    text-align: left;
    overflow: hidden;

    background: linear-gradient(
        145deg,
        rgba(17, 24, 39, 0.98),
        rgba(31, 41, 55, 0.98)
    );

    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

.homepage-help-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    z-index: 20;

    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    transition: 0.2s ease;
}

.homepage-help-close:hover {
    background: rgba(255,255,255,0.14);
    transform: scale(1.05);
}

.homepage-help-scroll {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 28px 28px 34px;
    scroll-behavior: smooth;
}

.homepage-help-section {
    padding: 18px 0 6px;
}

.homepage-help-intro {
    padding-top: 6px;
}

.homepage-help-intro h2 {
    margin: 0 60px 14px 0;
    font-size: 28px;
    line-height: 1.2;
    color: #fff;
}

.homepage-help-lead {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.65;
    color: #d1d5db;
}

.homepage-help-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.homepage-help-menu-btn,
.homepage-help-back-btn {
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s ease;
}

.homepage-help-menu-btn {
    padding: 14px 16px;
    background: linear-gradient(
        145deg,
        rgba(37, 99, 235, 0.95),
        rgba(29, 78, 216, 0.95)
    );
    color: #fff;
    box-shadow: 0 8px 20px rgba(37,99,235,0.22);
}

.homepage-help-menu-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.homepage-help-separator {
    height: 2px;
    margin: 8px 0 24px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(37,99,235,0.95),
        rgba(148,163,184,0.25),
        rgba(37,99,235,0.95)
    );
}

.homepage-help-browser-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.homepage-help-browser-head h3 {
    margin: 0;
    font-size: 24px;
    color: #fff;
}

.homepage-help-back-btn {
    padding: 10px 14px;
    background: rgba(255,255,255,0.08);
    color: #e5e7eb;
}

.homepage-help-back-btn:hover {
    background: rgba(255,255,255,0.14);
}

.homepage-help-browser-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(260px, 0.9fr);
    gap: 22px;
    align-items: start;
}

.homepage-help-image-wrap {
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    min-height: 220px;
}

.homepage-help-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.homepage-help-text {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: 18px 20px;
}

.homepage-help-text ol {
    margin: 0;
    padding-left: 20px;
    color: #e5e7eb;
    line-height: 1.8;
    font-size: 15px;
}

.homepage-help-text li + li {
    margin-top: 6px;
}

/* responsivno */
@media (max-width: 900px) {
    .homepage-help-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-help-browser-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .homepage-help-scroll {
        padding: 20px 16px 24px;
    }

    .homepage-help-intro h2 {
        font-size: 23px;
        margin-right: 46px;
    }

    .homepage-help-lead {
        font-size: 15px;
    }

    .homepage-help-menu {
        grid-template-columns: 1fr;
    }

    .homepage-help-browser-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .homepage-help-browser-head h3 {
        font-size: 21px;
    }

    .homepage-help-image-wrap {
        min-height: 160px;
    }

    .homepage-help-text {
        padding: 16px;
    }

    .homepage-help-text ol {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* INFO ROW: prečica za browsere */
.browser-settings-shortcut {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #d1d5db;
    line-height: 1.6;
    font-size: 14px;
}

.browser-settings-shortcut code {
    display: inline-block;
    margin: 6px 0;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(0,0,0,0.25);
    color: #93c5fd;
    font-size: 13px;
    word-break: break-all;
}

/* INFO ROW: copy dugmence */
.browser-settings-copybox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
}

.browser-settings-copybox code {
    flex: 1;
    min-width: 220px;
    padding: 6px 0;
    background: transparent;
    color: #93c5fd;
    font-size: 13px;
    word-break: break-all;
}

.browser-copy-btn {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(37, 99, 235, 0.35);
    color: #dbeafe;
    transition: 0.2s ease;
}

.browser-copy-btn:hover {
    background: rgba(37, 99, 235, 0.26);
    transform: translateY(-1px);
}

.browser-settings-note {
    margin: 0 0 16px;
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.6;
}


/* INFO ROW: modal za slike */
.help-zoomable-image {
    cursor: zoom-in;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.help-zoomable-image:hover {
    transform: scale(1.01);
    filter: brightness(1.03);
}

.image-preview-modal {
    background: rgba(0, 0, 0, 0.82);
    padding: 20px;
}

.image-preview-box {
    position: relative;
    max-width: min(1200px, 95vw);
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-box img {
    display: block;
    max-width: 100%;
    max-height: 95vh;
    width: auto;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.image-preview-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}


/* INFO ROW: akordion + dugme */
.info-row {
    max-width: 980px;
    width: calc(100% - 20px);
    margin: 18px auto 8px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.info-accordion {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;

    background: linear-gradient(
        145deg,
        rgba(31, 41, 55, 0.78),
        rgba(17, 24, 39, 0.9)
    );

    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.info-accordion-btn {
    width: 100%;
    border: none;
    background: transparent;
    color: #e5e7eb;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;

    transition: background 0.25s ease;
}

.info-accordion-btn:hover {
    background: rgba(255,255,255,0.04);
}

.info-accordion-title {
    color: #d1d5db;
}

.info-accordion-icon {
    font-size: 18px;
    line-height: 1;
    color: #93c5fd;
    transition: transform 0.25s ease;
}

.info-accordion.open .info-accordion-icon {
    transform: rotate(180deg);
}

.info-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.info-accordion-inner {
    padding: 16px 18px 18px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.65;
}

.info-accordion-inner h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #f3f4f6;
}

.info-accordion-inner p {
    margin: 0 0 12px;
}

.info-accordion-inner p:last-child {
    margin-bottom: 0;
}

.homepage-btn {
    flex: 0 0 auto;
    min-width: 190px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(37,99,235,0.35);
    background: linear-gradient(
        145deg,
        rgba(37, 99, 235, 0.95),
        rgba(29, 78, 216, 0.95)
    );
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37,99,235,0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.homepage-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37,99,235,0.28);
    filter: brightness(1.03);
}

.homepage-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .info-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 14px;
    }

    .homepage-btn {
        width: 100%;
        min-width: auto;
    }

    .info-accordion-btn {
        padding: 13px 15px;
        font-size: 14px;
    }

    .info-accordion-inner {
        padding: 14px 15px 16px;
        font-size: 13px;
    }
}


/* SEPARATOR */
.section-separator {
    max-width: 1200px;
    margin: 40px auto 20px;
    border-top: 5px solid rgba(0,0,0,0.08);
}

/* CSS za karticu */
.tools {
    max-width: 1920px;
    margin: 40px auto;
    padding: 0 20px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(485px, 1fr));
    gap: 20px;
}

.tool-card {
    background: linear-gradient(
        145deg,
        rgba(31,41,55,0.85),
        rgba(17,24,39,0.95)
    );

    border-radius: 18px;
    padding: 20px;

    border: 1px solid rgba(255,255,255,0.05);
}


@media (max-width: 768px) {

    .tools {
        margin: 20px auto;
        padding: 0 10px;
    }

    .tools-grid {
        grid-template-columns: 1fr; /* jedna kartica */
        gap: 15px;
    }

    .tool-card {
        padding: 15px;
    }

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}


}



.tool-card h3 {
    margin-bottom: 15px;
    color: #fff;
}

.tool-card input,
.tool-card select {
    width: 100%;
    box-sizing: border-box; /* 🔥 KLJUČNO */
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    border: none;
}

.tool-card button {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #2563eb;
    color: white;
    cursor: pointer;
}

.tool-card button:hover {
    background: #1d4ed8;
}

.tool-card input:focus,
.tool-card select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.3);
}

/* ========================= */
/* BIZ GOV KARTICA */
/* ========================= */

.bizgov-card {
    text-align: left;
}

/* SEKCIJE */
.bizgov-section {
    margin-top: 16px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
}

.bizgov-section-title {
    font-size: 15px;
    color: #9ca3af;
    margin-bottom: 10px;
}

/* GRID SERVISI */
.bizgov-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.bizgov-wide {
    grid-column: span 2;
    text-align: center;
}

.bizgov-highlight {
    color: #22c55e !important;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
    display: flex;
    align-items: center;
    justify-content: center; /* ako ti je tekst centriran */
    gap: 6px;
}
.bizgov-star {
    color: #22c55e;
    margin-right: 6px;
}

.bizgov-highlight::before {
    animation: bizgov-pulse 2s infinite;
}

@keyframes bizgov-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.bizgov-item {
    display: block;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;

    background: rgba(0,0,0,0.25);
    color: #fff;

    transition: 0.2s;
}

.bizgov-item:hover {
    background: rgba(37,99,235,0.2);
    transform: translateY(-1px);
}

.bizgov-name {
    font-weight: 600;
    font-size: 14px;
}

.bizgov-desc {
    font-size: 12px;
    color: #9ca3af;
}

/* AKCIJE */
.bizgov-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.bizgov-action-btn {
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;

    background: #2563eb;
    color: white;
    font-size: 13px;

    transition: 0.2s;
}

.bizgov-action-btn:hover {
    background: #1d4ed8;
}

/* HINT */
.bizgov-hint {
    margin-top: 10px;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}

/* ELEKTRONSKI POTPIS */
.bizgov-sign-section {
    background: rgba(255,255,255,0.03);
}

.bizgov-sign-info p {
    font-size: 13px;
    color: #d1d5db;
    margin-bottom: 8px;
}

.bizgov-sign-list {
    padding-left: 16px;
    font-size: 13px;
    color: #cbd5e1;
}

.bizgov-sign-list li {
    margin-bottom: 4px;
}

/* CA LISTA */
.bizgov-ca-wrap {
    margin-top: 12px;
}

.bizgov-ca-title {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.bizgov-ca-list {
    display: grid;
    gap: 6px;
}

.bizgov-ca-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;

    background: rgba(0,0,0,0.25);
    color: #fff;
    font-size: 13px;

    transition: 0.2s;
}

.bizgov-ca-item:hover {
    background: rgba(37,99,235,0.2);
}

.bizgov-ca-item span {
    font-size: 11px;
    color: #9ca3af;
}

/* INSTALACIJA */
.bizgov-install-box {
    margin-top: 12px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.25);
}

.bizgov-install-title {
    font-size: 13px;
    margin-bottom: 6px;
    color: #93c5fd;
}

.bizgov-install-btn {
    margin-top: 8px;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;

    background: #2563eb;
    color: white;
    cursor: pointer;
}

.bizgov-install-btn:hover {
    background: #1d4ed8;
}

/* ========================= */
/* BIZGOV CURSOR FIX */
/* ========================= */

.bizgov-card a,
.bizgov-card button {
    cursor: pointer;
}

/* klikabilni divovi unutar kartice */
.bizgov-card .quicklink,
.bizgov-card .rec-item,
.bizgov-card [onclick] {
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .bizgov-grid {
        grid-template-columns: 1fr;
    }

    .bizgov-actions {
        grid-template-columns: 1fr;
    }
}

/* NBS PIB rezultat */

#nbsResult {
    margin-top: 15px;
}

.result-card {
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.result-card {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 12px;
    margin-top: 10px;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    gap: 10px;
}

.row span {
    flex: 1;
}

/* 🔹 COPY ICON dugme */
.nbs-table {
    width: 100%;
    border-collapse: collapse;
}

.nbs-table td {
    padding: 6px 8px;
    vertical-align: middle;
}

.nbs-table td:first-child {
    width: 120px;
    opacity: 0.8;
    white-space: nowrap;
}

.nbs-table td:last-child {
    position: relative;
    padding-right: 30px;
}

.nbs-table tr:hover {
    background: rgba(255,255,255,0.05);
}

.copy-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.6;
}

.copy-icon:hover {
    opacity: 1;
}

.copy-all-btn {
    margin-top: 10px;
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: #2563eb;
    color: white;
    cursor: pointer;
}

.copy-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2563eb;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.copy-toast.success {
    background: #2563eb;
}

.copy-toast.error {
    background: #dc2626;
}

.copy-toast.warning {
    background: #f59e0b;
}
.copy-toast {
    backdrop-filter: blur(6px);
}
.copy-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1.02);
}

/* ========================= */
/* NBS KURS KARTICA */
/* ========================= */



/* kartica */
.nbs-card {
    background: linear-gradient(
        145deg,
        rgba(31,41,55,0.85),
        rgba(17,24,39,0.95)
    );
    border-radius: 18px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 20px;
    color: #fff;
}

/* tabela */
.nbs-card table {
    width: 100%;
    border-collapse: collapse;
}

.nbs-card th {
    text-align: left;
    padding: 10px;
    opacity: 0.8;
    font-weight: normal;
}

.nbs-card td {
    padding: 10px;
}

.nbs-card {
    text-align: center; /* centriraj sve unutra */
}

/* tabela u sredini */
.nbs-card table {
    margin: 0 auto 20px;
    width: auto; /* 🔥 KLJUČ */
}

.nbs-card table {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 10px;
}

@media (max-width: 768px) {

    .nbs-card table {
        width: 100%;              /* da ne beži */
        max-width: 100%;
        margin: 0 auto 15px;

        display: block;           /* 🔥 KLJUČ */
        overflow-x: auto;         /* ako zatreba */
        white-space: nowrap;

        padding: 8px;
    }

    .nbs-card th,
    .nbs-card td {
        font-size: 13px;
        padding: 6px 8px;
        text-align: center;
    }

}

/* header */
.nbs-card h2 {
    text-align: center;
}

/* kolone centrirane */
.nbs-card th,
.nbs-card td {
    text-align: center;
}

@media (max-width: 768px) {

    .nbs-card {
        padding: 15px;
    }

    .nbs-card table {
        overflow-x: auto; /* 🔥 KLJUČ */
        white-space: nowrap;
    }

    .nbs-card th,
    .nbs-card td {
        padding: 6px 8px;
        font-size: 13px;
    }

    .nbs-input {
        width: 70px; /* smanji input */
    }

}



/* red hover */
.nbs-card tr:hover {
    background: rgba(255,255,255,0.05);
}

/* valuta bold */
.nbs-valuta {
    font-weight: bold;
    font-size: 15px;
}

/* input */
.nbs-input {
    width: 90px;
    padding: 6px;
    border-radius: 6px;
    border: none;
    text-align: right;
}

/* rezultat */
.nbs-rezultat {
    font-weight: bold;
    color: #22c55e;
}

/* dugmad */
.nbs-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.nbs-btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #2563eb;
    color: white;
    cursor: pointer;
}

.nbs-btn:hover {
    background: #1d4ed8;
}

/* sekundarno dugme */
.nbs-btn.secondary {
    background: #374151;
}

.nbs-btn.secondary:hover {
    background: #4b5563;
}

/* oznake × i = */
.nbs-symbol {
    opacity: 0.6;
    text-align: center;
}

/* forma dole */
.nbs-search {
    margin-top: 15px;
}

.nbs-search input,
.nbs-search select {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    border: none;
}

.nbs-search button {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #2563eb;
    color: white;
    cursor: pointer;
}

/* ================================== */
/* NBS KURSNA LISTA QUICK CALCULATOR */
/* ================================ */

/* wrapper */
.nbs-quick-calc {
    margin-top: 15px;
}

/* prvi red */
.qc-row-top {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.qc-row-top select,
.qc-row-top input {
    flex: 1;
}

/* drugi red – 🔥 SAVRŠENO PORAVNANJE */
.qc-row-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* dugme */
.qc-row-bottom button {
    width: 100%;

}
/* drugi red – ujednačena visina */
.qc-row-bottom button,
#quickResult, #quickResultReverse {
    height: 36px;
}
/* rezultat */
#quickResult, #quickResultReverse {
    width: 100%;
    background: rgba(255,255,255,0.08);
    color: #22c55e;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;

}


@media (max-width: 500px) {
    .qc-row-bottom {
        grid-template-columns: 1fr;
    }
}

/* ========================= */
/* NBS CIP SERVIS SEKCIJA */
/* ========================= */

.nbs-cipservis-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    padding: 20px;
    border-radius: 16px;

    background: linear-gradient(
        145deg,
        rgba(37,99,235,0.08),
        rgba(0,0,0,0.85)
    );

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.4);
}

/* LEVA STRANA */
.nbs-cipservis-left {
    display: flex;
    flex-direction: column;
    gap: 6px;

    font-size: 16px;
    color: #e5e7eb;
}

.nbs-cipservis-left div:first-child {
    font-weight: 700;
    color: #fff;
}

/* DESNA STRANA */
.nbs-cipservis-right img {
    height: 110px;
    max-width: 100%;

    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

/* ========================= */
/* HOVER FORICE ZA LOGO */
/* ========================= */

.nbs-cipservis-right img {
    transition: 
        transform 0.4s ease,
        filter 0.4s ease;
}

/* hover na celu sekciju */
.nbs-cipservis-section:hover .nbs-cipservis-right img {
    transform: rotate(-6deg) scale(1.08);

    filter:
        drop-shadow(0 20px 35px rgba(0,0,0,0.6))
        drop-shadow(0 0 25px rgba(37,99,235,0.5));
}

/* mali bounce kad hover počne */
.nbs-cipservis-section:hover {
    animation: nbs-cipservis-pulse 0.35s ease;
}

@keyframes nbs-cipservis-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.015); }
    100% { transform: scale(1); }
}

/* 📱 responsive */
@media (max-width: 600px) {
    .nbs-cipservis-section {
        flex-direction: column;
        text-align: center;
    }

    .nbs-cipservis-right img {
        height: 80px;
    }
}


/* ========================= */
/* PROPORCIJA */
/* ========================= */


.prop-result {
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;

    background: rgba(34,197,94,0.1);
    color: #22c55e;

    font-weight: bold;
    text-align: center;
}
.prop-result strong {
    letter-spacing: 0.5px;
}
.prop-error {
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;

    background: rgba(239,68,68,0.1);
    color: #ef4444;

    text-align: center;
}
.prop-hint {
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.7;
    text-align: center;
}
.prop-input::placeholder {
    color: #22c55e;
    font-weight: bold;
}
.prop-note {
    margin-top: 10px;
    font-size: 13px;
    color: #cbd5e1; /* svetlo siva */
    text-align: center;
}
.prop-form span {
    color: #cbd5e1;
}
.prop-result {
    font-size: 18px;
    letter-spacing: 0.5px;
}
#propForm span {
    color: #cbd5e1;
    font-weight: 500;
    opacity: 0.9;
    position: relative;
    top: -5px; /* 🔥 blago podizanje */
    font-size: 18px;
    letter-spacing: 1px;
}
.prop-row {
    display: flex;
    gap: 10px;
    align-items: center;

    justify-content: center; /* lepše centriranje cele proporcije */
}
.prop-input {
    text-align: center;
    font-weight: 500;
}
.prop-form span {
    color: #cbd5e1;
    font-weight: 500;
    position: relative;
    top: -2px;
}

.prop-row {
    margin-bottom: 10px;
}

/* LINEARNI PRIKAZ */
.prop-row-linear {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.prop-row-linear .prop-input {
    flex: 1 1 0;
    min-width: 0;
}
/* DUGMAD */

.prop-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.prop-actions button {
    flex: 1;
}
#propToggle {
    background: #374151;
}

#propToggle:hover {
    background: #4b5563;
}

/* RAZLOMAK PRIKAZ */
.prop-row-fraction {
    position: relative;
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 44px minmax(120px, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 18px;
    align-items: center;
    justify-items: stretch;
    padding: 6px 0;
}

/* sakrij simbole : i = iz originalnog HTML-a */
.prop-row-fraction span {
    display: none;
}

/* raspored inputa */
.prop-row-fraction .prop-input[name="pa"] {
    grid-column: 1;
    grid-row: 1;
}

.prop-row-fraction .prop-input[name="pb"] {
    grid-column: 1;
    grid-row: 2;
}

.prop-row-fraction .prop-input[name="pc"] {
    grid-column: 3;
    grid-row: 1;
}

.prop-row-fraction .prop-input[name="pd"] {
    grid-column: 3;
    grid-row: 2;
}

/* znak = u sredini */
.prop-row-fraction::before {
    content: '=';
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: center;
    color: #cbd5e1;
    font-size: 28px;
    font-weight: 500;
    position: relative;
    top: -2px;
}

/* linija prvog razlomka */
.prop-row-fraction::after {
    content: '';
    position: absolute;
    left: 0;
    width: calc((100% - 44px - 14px * 2) / 2);
    height: 2px;
    background: #cbd5e1;
    top: 50%;
    transform: translateY(-50%);
}

/* linija drugog razlomka */
.prop-row-fraction .prop-input[name="pc"]::placeholder,
.prop-row-fraction .prop-input[name="pd"]::placeholder {
    opacity: 1;
}

/* druga linija preko dodatnog pseudo-elementa na row uz box-shadow trik */
.prop-row-fraction {
    background-image:
        linear-gradient(#cbd5e1, #cbd5e1),
        linear-gradient(#cbd5e1, #cbd5e1);
    background-size:
        calc((100% - 44px - 14px * 2) / 2) 2px,
        calc((100% - 44px - 14px * 2) / 2) 2px;
    background-position:
        left calc(50% - 1px),
        right calc(50% - 1px);
    background-repeat: no-repeat;
}

@media (max-width: 640px) {
    .prop-row-linear {
        gap: 6px;
    }

    .prop-row-fraction {
        grid-template-columns: minmax(100px, 1fr) 32px minmax(100px, 1fr);
        column-gap: 10px;
        row-gap: 14px;
    }

    .prop-row-fraction::before {
        font-size: 24px;
    }
}
/* Proporcija HELP */
.prop-divider {
    margin: 18px 0 16px;
    border: 0;
    border-top: 1px solid rgba(203, 213, 225, 0.18);
}

.prop-help {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

.prop-help h4 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 15px;
}

.prop-help p {
    margin: 0 0 14px;
}

/* AKORDION */

.prop-accordion {
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

.prop-accordion-btn {
    width: 100%;
    border: none;
    background: transparent;
    color: #d1d5db;
    cursor: pointer;

    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;

    transition: 0.2s;
}

.prop-accordion-btn:hover {
    background: rgba(255,255,255,0.05);
}

.prop-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.prop-accordion-inner {
    padding: 14px;
}
.prop-arrow {
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

/* kada je otvoreno */
.prop-accordion.open .prop-arrow {
    transform: rotate(180deg);
}

/* ========================= */
/* PROP BACKGROUND */
/* ========================= */

.prop-card {
    position: relative;
    overflow: hidden;
}

/* 🔥 Verko profesor dole */
.prop-card::after {
    content: '';
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 420px;

    background: url('/assets/pozadine/verko-profa.png') no-repeat center bottom;
    background-size: contain;

    opacity: 0.55;
    pointer-events: none;

    z-index: 0;
}

/* sadržaj iznad */
.prop-card > * {
    position: relative;
    z-index: 1;
}

.prop-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 120px;

    background: radial-gradient(
        circle at bottom,
        rgba(37,99,235,0.15),
        transparent 70%
    );

    z-index: 0;
}

/* ========================= */
/* PROP - sakrij Verka na mobilnom */
/* ========================= */

@media (max-width: 768px) {
    .prop-card::after {
        display: none;
    }
}

/* ========================= */
/* KURIRSKE SLUŽBE */
/* ========================= */

.courier-section {
    margin-top: 20px;
}

.courier-title {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.courier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

.courier-grid button {
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #374151;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.courier-grid button:hover {
    background: #4b5563;
}

/* RATEL */

.courier-ratel-box {
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
}

.courier-ratel-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.courier-ratel-links button {
    flex: 1;
    background: #2563eb;
}

.courier-ratel-links button:hover {
    background: #1d4ed8;
}

.courier-complaint-info {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 10px;
    line-height: 1.4;
}

.courier-btn {
    position: relative;
    padding: 12px 10px;
}

/* mala ikonica gore desno */
.courier-badge {
    position: absolute;
    top: 4px;
    right: 6px;

    font-size: 11px;
    line-height: 1;
}
/* tipovi */
.courier-badge.direct {
    background: #2563eb;
}

.courier-badge.form {
    background: #eab308;
}

.courier-badge.email {
    background: #9333ea;
}
.courier-legend {
    margin-top: 12px;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}

/* WRAP */
.courier-badge {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 11px;
    line-height: 1;
    cursor: default;
}

/* TOOLTIP TEXT */
.courier-badge::after {
    content: attr(data-tip);

    position: absolute;
    bottom: 140%;
    right: 0;

    background: rgba(17,24,39,0.95);
    color: #fff;

    font-size: 11px;
    padding: 4px 6px;
    border-radius: 6px;

    white-space: nowrap;

    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);

    transition: 0.2s;
}

/* ARROW */
.courier-badge::before {
    content: "";
    position: absolute;
    bottom: 115%;
    right: 6px;

    border: 5px solid transparent;
    border-top-color: rgba(17,24,39,0.95);

    opacity: 0;
    transition: 0.2s;
}

/* SHOW */
.courier-badge:hover::after,
.courier-badge:hover::before {
    opacity: 1;
    transform: translateY(0);
}
.courier-badge::after {
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}


/* CSS mobilno + UX */

/* sakriveno na desktopu */
.courier-mobile-calls {
    display: none;
}

/* mobilni */
@media (max-width: 768px) {

    .courier-mobile-calls {
        display: block;
        margin-top: 20px;
    }

    .courier-call-btn {
        position: relative;
        background: #16a34a; /* zelena = akcija */
        color: #fff;
        padding: 12px;
        border-radius: 10px;
        border: none;
        font-weight: 500;
    }

    /* badge (0800 / 0700) */
    .courier-call-badge {
        position: absolute;
        top: 4px;
        right: 6px;
        font-size: 10px;
        background: #111827;
        padding: 2px 6px;
        border-radius: 6px;
    }

    /* besplatno */
    .courier-call-btn.free {
        background: #22c55e;
    }
}
.courier-call-btn.dual {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.courier-call-name {
    font-weight: 600;
}

.courier-call-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}

.courier-call-lines span {
    cursor: pointer;
}

/* badge stilovi */

.courier-call-badge {
    margin-left: 6px;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 6px;
}

.courier-call-badge.free {
    background: #22c55e;
    color: #fff;
}

.courier-call-badge.paid {
    background: #ef4444;
    color: #fff;
}

.courier-mobile-hint {
    font-size: 12px;
    color: #9ca3af; /* svetlo siva */
    text-align: center;
    margin-top: 10px;
    line-height: 1.4;
}

/* besplatno */
.courier-call-btn.free {
    background: #22c55e;
}

/* naplata */
.courier-call-btn.paid {
    background: #ef4444;
}

/* RATEL */
.courier-ratel-header {
    text-align: center;
    margin-bottom: 10px;
}

.courier-ratel-logo {
    height: 24px;
    opacity: 0.85;
    margin-bottom: 6px;
}

.courier-ratel-title {
    font-size: 13px;
    color: #9ca3af;
}
.courier-ratel-logo:hover {
    opacity: 1;
}
.courier-ratel-logo-wrap {
    display: inline-block;
    padding: 6px 10px;

    background: rgba(255,255,255,0.9);
    border-radius: 10px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.25);

    margin-bottom: 8px;
}

.courier-ratel-logo {
    height: 28px;
    display: block;
}

.courier-section {
    margin-top: 24px; /* umesto 20px */
}
.courier-ratel-links button {
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.courier-grid button:hover {
    transform: translateY(-1px);
}



/* ========================= */
/* Pošiljka praćenje */
/* ========================= */


/* TRACK TOOL */

/* TRACK V2 */

.track-v2-row-top {
    margin-bottom: 10px;
}

.track-v2-row-bottom {
    display: grid;
}

#track-v2-input {
    width: 100%;
}

.track-v2-row-bottom button {
    height: 36px;
}

/* HISTORY */

.track-v2-history {
    margin-top: 15px;
}

.track-v2-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 8px;
    color: #9ca3af;
}

#track-v2-clear {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 12px;
}

.track-v2-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 6px 10px;
    margin-bottom: 6px;

    border-radius: 8px;
    background: rgba(255,255,255,0.05);

    cursor: pointer;
}

.track-v2-item:hover {
    background: rgba(255,255,255,0.08);
}

.track-v2-code {
    flex: 1;
    font-size: 13px;
}

.track-v2-delete {
    margin-left: 10px;
    color: #ef4444;
    cursor: pointer;
}



/* SCANNER */

.track-v2-scanner {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.track-v2-scanner {
    display: none; /* 🔥 KLJUČNO */
}

.track-v2-scanner.active {
    display: flex;
}
.track-v2-scanner-box {
    background: #111827;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

#track-v2-reader {
    width: 300px;
    max-width: 90vw;
    margin-bottom: 10px;
}

.track-v2-scanner button {
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: #ef4444;
    color: white;
    cursor: pointer;
}

.track-v2-scanner {
    z-index: 99999; /* da ne ostane nešto ispod */
}

/* prati lokalne */


.track-v2-local {
    margin-top: 15px;
}

.track-v2-local-title {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.track-v2-local-links {
    display: flex;
    gap: 8px;
}

.track-v2-local-links button {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: #374151;
    color: white;
    cursor: pointer;
}

.track-v2-local-links button:hover {
    background: #4b5563;
}
.track-v2-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}
.track-v2-row-bottom {
    display: grid;
    gap: 8px; /* 🔥 razdvajanje dugmadi */
}
.track-v2-info {
    margin-top: 12px;
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.5;
    text-align: left;
}

.track-v2-info-small {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 8px;
}
.track-v2-info b {
    color: #e5e7eb;
}


/* MAIN TRACK BUTTONS */

.track-v2-main-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* dugme */
.track-v2-main-btn {
    height: 60px;
    border-radius: 12px;
    border: none;
    background: #2563eb;
    color: white;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;

    font-size: 13px;
}

/* logo */
.track-v2-main-btn img {
    height: 20px;
    object-fit: contain;
}

/* hover */
.track-v2-main-btn:hover {
    background: #1d4ed8;
}

/* secondary (17track može malo drugačiji ton) */
.track-v2-main-btn.secondary {
    background: #1f2937;
}

.track-v2-main-btn.secondary:hover {
    background: #374151;
}

.track-v2-main-btn:first-child {
    box-shadow: 0 0 0 2px rgba(37,99,235,0.4);
}
.track-v2-main-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}
.track-v2-item {
    transition: 0.15s;
}

/* ========================= */
/* TRACK V2 BACKGROUND */
/* ========================= */

.track-v2-card {
    position: relative;
    overflow: hidden;
}

/* 🔥 Verko poštar dole */
.track-v2-card::after {
    content: '';
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 300px;

    background: url('/assets/pozadine/verko-postar.png') no-repeat center bottom;
    background-size: contain;

    opacity: 0.55;
    pointer-events: none;

    z-index: 0;
}

/* sadržaj iznad */
.track-v2-card > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .track-v2-card::after {
        display: none;
    }
}


/* ========================= */
/* NET PRIVACY DASHBOARD */
/* ========================= */

.net-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

.net-box {
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 14px;
    margin-top: 18px;
    border: 1px solid rgba(255,255,255,0.05);
}

.net-box-title {
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #f3f4f6;
    margin-bottom: 12px;
}

.net-speed-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.net-secondary {
    background: #374151 !important;
}

.net-secondary:hover {
    background: #4b5563 !important;
}

.net-ip-row {
    display: grid;
    grid-template-columns: 1fr 54px;
    gap: 10px;
    align-items: center;
}

#net-ip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    font-size: 20px;
    font-weight: bold;
    color: #22c55e;
    letter-spacing: 1px;
}

.net-ip-row button {
    height: 54px;
    border-radius: 12px;
}

.net-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.net-item {
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 10px;
    min-height: 64px;
    text-align: center;
}

.net-item span {
    display: block;
    opacity: 0.75;
    font-size: 12px;
    margin-bottom: 4px;
}

.net-item strong {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    word-break: break-word;
}

.net-item.full {
    grid-column: 1 / -1;
}

.net-status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.net-status-item {
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    min-height: 64px;
}

.net-status-item span {
    display: block;
    opacity: 0.75;
    font-size: 12px;
    margin-bottom: 4px;
}

.net-ok {
    color: #22c55e;
}

.net-warn {
    color: #f59e0b;
}

.net-bad {
    color: #ef4444;
}

.net-privacy-score {
    text-align: center;
}

.net-score-circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    background: rgba(255,255,255,0.03);
    border: 2px solid #374151;
}

.net-score-good {
    border-color: #22c55e;
    color: #22c55e;
}

.net-score-mid {
    border-color: #f59e0b;
    color: #f59e0b;
}

.net-score-bad {
    border-color: #ef4444;
    color: #ef4444;
}

.net-score-text {
    font-size: 14px;
    color: #f3f4f6;
    text-align: center;
}

.net-status-explain {
    margin-top: 18px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    text-align: center;
}

.net-note {
    margin-top: 8px;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}

.net-tips {
    margin-top: 10px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.25);
    font-size: 14px;
    color: #dbeafe;
    line-height: 1.6;
    text-align: center;
}

.net-visible-list {
    display: grid;
    gap: 10px;
}

.net-visible-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 10px 12px;
    border-radius: 10px;
    align-items: center;
}

.net-visible-row span {
    opacity: 0.8;
    font-size: 13px;
}

.net-visible-row strong {
    text-align: right;
    color: #fff;
    word-break: break-word;
}

.net-info {
    margin-top: 18px;
    font-size: 13px;
    color: #f59e0b;
    text-align: center;
}

@media (max-width: 768px) {
    .net-dashboard-grid,
    .net-grid,
    .net-status-grid,
    .net-visible-row {
        grid-template-columns: 1fr;
    }

    .net-visible-row strong {
        text-align: left;
    }

    .net-speed-actions {
        grid-template-columns: 1fr;
    }
}

.net-item,
.net-status-item,
.net-visible-row {
    display: flex;
    flex-direction: column;
    justify-content: center;   /* vertikalno */
    align-items: center;       /* horizontalno */
    text-align: center;
}

.net-item span,
.net-status-item span {
    margin-bottom: 4px;
}

.net-item.full strong {
    text-align: center;
}

.net-visible-row {
    grid-template-columns: 1fr;
    text-align: center;
}

.net-visible-row strong {
    text-align: center;
}


.net-item,
.net-status-item {
    min-height: 72px;
}


.net-item,
.net-status-item,
.net-box {
    transition: all 0.2s ease;
}

.net-item:hover,
.net-status-item:hover,
.net-box:hover {
    box-shadow: 0 0 0 1px rgba(59,130,246,0.25),
                0 4px 20px rgba(59,130,246,0.15);
    transform: translateY(-1px);
}


/* ========================= */
/* telefon */
/* ========================= */
/* ========================= */
/* FIND TOOL */
/* ========================= */

.find-main-btn {
    background: #16a34a;
    margin-bottom: 8px;
}

.find-main-btn:hover {
    background: #15803d;
}

.find-hint {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 10px;
}

.find-section {
    margin-top: 15px;
}

.find-title {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.find-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.find-grid button {
    background: #374151;
}

.find-grid button:hover {
    background: #4b5563;
}

/* checklist */

.find-check {
    list-style: none;
    padding: 0;
    font-size: 13px;
    color: #d1d5db;
}

.find-check li {
    margin-bottom: 4px;
    padding-left: 18px;
    position: relative;
}

.find-check li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #22c55e;
}

/* status */

.find-success {
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(34,197,94,0.1);
    color: #22c55e;
    text-align: center;
}

.find-error {
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(239,68,68,0.1);
    color: #ef4444;
    text-align: center;
}

/* tips */

.find-tips {
    margin-top: 10px;
    font-size: 13px;
    color: #d1d5db;
}

.find-tips ul {
    margin-top: 5px;
    padding-left: 18px;
}

/* mobile */

@media (max-width: 768px) {
    .find-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================= */
/* ČATKOVA ANTI-PANIK SEKCIJA */
/* ========================= */

.ctap-wrap {
    margin-top: 15px;
    padding: 16px;
    border-radius: 16px;

    background: linear-gradient(
        145deg,
        rgba(31,41,55,0.85),
        rgba(17,24,39,0.95)
    );

    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* HEADER */

.ctap-head {
    text-align: center;
    margin-bottom: 12px;
}

.ctap-badge {
    display: inline-block;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(37,99,235,0.2);
    color: #93c5fd;
    margin-bottom: 6px;
}

.ctap-title {
    margin: 0;
    font-size: 16px;
    color: #fff;
}

.ctap-subtitle {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 4px;
}

/* STATUS */

.ctap-status {
    display: flex;
    align-items: center;
    gap: 10px;

    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 10px;

    margin-bottom: 12px;
}

.ctap-status-emoji {
    font-size: 22px;
}

.ctap-status-text {
    font-size: 13px;
    color: #e5e7eb;
    line-height: 1.4;
}

/* BUTTONS */

.ctap-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.ctap-btn {
    padding: 8px;
    border-radius: 10px;
    border: none;

    background: #2563eb;
    color: white;
    font-size: 12px;

    cursor: pointer;
    transition: 0.2s;
}

.ctap-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.ctap-btn-secondary {
    background: #374151;
}

.ctap-btn-secondary:hover {
    background: #4b5563;
}

/* STEP BOX */

.ctap-step-box {
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 12px;

    margin-bottom: 10px;
    text-align: center;
}

.ctap-step-label {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.ctap-step-text {
    font-size: 14px;
    color: #f3f4f6;
    line-height: 1.5;
}

/* PROGRESS BAR */

.ctap-progress {
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    overflow: hidden;

    margin-bottom: 12px;
}

.ctap-progress-bar {
    height: 100%;
    width: 0%;

    background: linear-gradient(
        90deg,
        #22c55e,
        #16a34a
    );

    transition: width 0.3s ease;
}

/* QUICK CHECK */

.ctap-quick-check {
    margin-top: 10px;
}

.ctap-check-title {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.ctap-check-list {
    list-style: none;
    padding: 0;
    margin: 0;

    font-size: 13px;
    color: #d1d5db;
}

.ctap-check-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 4px;
}

/* check ikonica */

.ctap-check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #22c55e;
    font-size: 12px;
}

/* MOBILE */

@media (max-width: 768px) {

    .ctap-actions {
        grid-template-columns: 1fr;
    }

    .ctap-btn {
        font-size: 13px;
        padding: 10px;
    }

    .ctap-status {
        flex-direction: column;
        text-align: center;
    }

    .ctap-status-emoji {
        font-size: 26px;
    }
}


.ctap-status {
    transition: transform 0.15s ease;
}

.ctap-status.ctap-pulse {
    transform: scale(1.03);
}

/* GOVOR */

.ctap-speaking {
    box-shadow: 0 0 0 2px rgba(34,197,94,0.3),
                0 0 20px rgba(34,197,94,0.25);
    transform: scale(1.02);
    transition: 0.2s;
}
.ctap-avatar {
    width: 110px;
    flex-shrink: 0;
}

.ctap-row {
    display: flex;
    gap: 15px;
    align-items: center;
}



/* ========================= */
/* FIND GUIDE */
/* ========================= */

.findg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 99999;
}

.findg-overlay.active {
    display: flex;
}

.findg-box {
    width: min(400px, 90%);
    padding: 20px;
    border-radius: 16px;

    background: linear-gradient(
        145deg,
        rgba(31,41,55,0.95),
        rgba(17,24,39,0.98)
    );

    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.findg-step {
    font-size: 15px;
    color: #f3f4f6;
    line-height: 1.6;
    margin-bottom: 15px;
}

.findg-counter {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.findg-actions {
    display: flex;
    gap: 10px;
}

.findg-actions button {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: none;
    cursor: pointer;

    background: #2563eb;
    color: white;
}

.findg-actions button:hover {
    background: #1d4ed8;
}

.findg-secondary {
    background: #374151;
}

.findg-secondary:hover {
    background: #4b5563;
}

.findg-open-btn {
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #16a34a;
    color: #fff;
    cursor: pointer;
    width: 100%;
}

.findg-open-btn:hover {
    background: #15803d;
}
.findg-image-wrap {
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.findg-image {
    width: 100%;
    display: block;
}
.findg-image {
    transition: 0.2s;
}

.findg-image:hover {
    transform: scale(1.02);
}
.find-ios-btn {
    background: #111827;
    border: 1px solid rgba(255,255,255,0.1);
}

.find-ios-btn:hover {
    background: #1f2937;
}

.find-secondary-btn {
    margin-top: 8px;
    background: #374151;
}

.find-secondary-btn:hover {
    background: #4b5563;
}


.find-ios-btn {
    background: #111827;
    border: 1px solid rgba(255,255,255,0.1);
}

.find-ios-btn:hover {
    background: #1f2937;
}

.find-secondary-btn {
    margin-top: 8px;
    background: #374151;
}

.find-secondary-btn:hover {
    background: #4b5563;
}
.find-section .find-tips b {
    color: #22c55e;
    letter-spacing: 1px;
}



.znak-warning {
    color: #F59E0B;
}

.znak-success {
    color: #22C55E;
}

.znak-error {
    color: #EF4444;
}


.ctap-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ctap-modal.show {
    display: flex;
}

.ctap-modal-box {
    background: #111827;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    min-width: 250px;
}

.ctap-modal-title {
    margin-bottom: 15px;
    font-weight: bold;
}

.ctap-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.ctap-modal-actions button {
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.ctap-modal-close {
    margin-top: 10px;
    background: transparent;
    color: #aaa;
    border: none;
}

/* ========================= */
/* TEL V3 – SEKCIJA SA SLIKOM */
/* ========================= */

.tel-v3-section {
    text-align: center;
    padding: 20px;
}

/* wrapper za efekte */
.tel-v3-wrap {
    display: inline-block;
    position: relative;
}

/* glow pozadina */
.tel-v3-wrap::before {
    content: "";
    position: absolute;
    inset: -20px;
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.25),
        rgba(59, 130, 246, 0.15),
        transparent 70%
    );

    filter: blur(25px);
    opacity: 0.6;
    transition: 0.4s ease;
    z-index: 0;
}

/* slika */
.tel-v3-img {
    position: relative;
    z-index: 1;

    max-width: 100%;
    height: 240px;
    display: block;
    margin: 0 auto;

    filter:
        drop-shadow(0 15px 30px rgba(0,0,0,0.4))
        drop-shadow(0 0 20px rgba(59,130,246,0.25));

    animation: tel-v3-float 4s ease-in-out infinite;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* hover efekat */
.tel-v3-wrap:hover .tel-v3-img {
    transform: scale(1.05) rotate(-1deg);

    filter:
        drop-shadow(0 20px 40px rgba(0,0,0,0.5))
        drop-shadow(0 0 35px rgba(59,130,246,0.6));
}

/* pojačaj glow */
.tel-v3-wrap:hover::before {
    opacity: 1;
    transform: scale(1.1);
}

/* blago lebdenje */
@keyframes tel-v3-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* mali pulse kad hover počne */
.tel-v3-wrap:hover {
    animation: tel-v3-pulse 0.4s ease;
}

@keyframes tel-v3-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

/* 📱 responsive */
@media (max-width: 768px) {
    .tel-v3-img {
        height: 180px;
    }
}


/* ========================= */
/* AI */
/* ========================= */

.ai-card {
    overflow: hidden;
    position: relative;
}

.ai-shell {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 30%),
        radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.10), transparent 28%),
        linear-gradient(145deg, rgba(31,41,55,0.88), rgba(17,24,39,0.98));
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 20px 40px rgba(0,0,0,0.22);
}

.ai-hero {
    display: grid;
    grid-template-columns: 1fr; /* 🔥 jedna kolona */
    gap: 18px;
    align-items: center;
}

.ai-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 10px 18px 0;
    position: relative;
}

.ai-visual::before {
    content: '';
    position: absolute;
    inset: 8% 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.18), transparent 62%);
    filter: blur(18px);
    pointer-events: none;
width: 260px;
height: 260px;
 z-index: 0;
}

.ai-avatar {
    width: 100%;
    max-width: 330px;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 16px 30px rgba(0,0,0,0.35));
    animation: ai-float 4.2s ease-in-out infinite;
}

.ai-content {
    padding: 8px 4px 8px 0;
}

.ai-badge {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(37, 99, 235, 0.28);
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 auto 12px; /* 🔥 ključ */
    text-align: center;
    will-change: transform, box-shadow;

    animation: ai-badge-pulse 2.8s ease-in-out infinite;
}

@keyframes ai-badge-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35);
    }
    50% {
        box-shadow: 0 0 12px 4px rgba(37, 99, 235, 0.25);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35);
    }
}


.ai-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 30px;
    line-height: 1.18;
}
.ai-title {
    text-align: center;
}
.ai-title-accent {
    display: block;
    color: #93c5fd;
}

.ai-lead {
    margin: 0 0 14px;
    color: #dbe4f0;
    font-size: 15px;
    line-height: 1.75;
}

.ai-mini-story p {
    margin: 0 0 10px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

.ai-skill-wrap {
    margin-top: 18px;
}

.ai-skill-title {
    color: #f8fafc;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}

.ai-skill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ai-skill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #dbeafe;
    font-size: 13px;
    line-height: 1.2;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ai-skill:hover {
    transform: translateY(-1px);
    background: rgba(37,99,235,0.14);
    border-color: rgba(37,99,235,0.26);
}

.ai-mission {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    color: #e5edf7;
    line-height: 1.7;
    font-size: 14px;
}

.ai-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.ai-btn {
    flex: 1;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    box-sizing: border-box; /* 🔥 global fix */
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, filter 0.2s ease;
}

.ai-btn-primary {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    color: #fff;
    box-shadow: 0 10px 24px rgba(37,99,235,0.28);
}

.ai-btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.ai-btn-secondary {
    background: rgba(255,255,255,0.07);
    color: #e5e7eb;
    border: 1px solid rgba(255,255,255,0.1);
}

.ai-btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.11);
}

.ai-install-panel {
    margin-top: 12px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(15,23,42,0.45);
    border: 1px solid rgba(255,255,255,0.08);
}

.ai-install-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ai-install-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ai-install-link:hover {
    transform: translateY(-1px);
    background: rgba(37,99,235,0.14);
    border-color: rgba(37,99,235,0.25);
}

.ai-install-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.ai-install-desc {
    font-size: 12px;
    color: #cbd5e1;
}

.ai-note {
    margin-top: 16px;
    padding: 13px 14px;
    border-radius: 12px;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.18);
    color: #dff7e7;
    font-size: 13px;
    line-height: 1.6;
}

.ai-note-emoji {
    margin-right: 6px;
}

.ai-fake-chat {
    margin-top: 18px;
}

.ai-fake-chat-title {
    font-size: 14px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 10px;
}

.ai-fake-chat-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ai-fake-chat-item {
    width: 100%;
    text-align: left;
    padding: 12px 13px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    color: #dbe4f0;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ai-fake-chat-item:hover {
    transform: translateY(-1px);
    background: rgba(37,99,235,0.12);
    border-color: rgba(37,99,235,0.24);
}

.ai-prompt-box {
    margin-top: 16px;
}

.ai-prompt-label {
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 13px;
}

/* GRID */
.ai-prompt-row {
    display: grid;
    grid-template-columns: 1fr 160px;
    gap: 10px;
    align-items: stretch; /* 🔥 ključ */
}

.ai-prompt-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
    text-align: center;
}

.ai-prompt-input {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    color: #fff;
    padding: 10px 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.ai-prompt-copy {
    min-height: 44px;
    border-radius: 12px;
    border: none;
    background: #374151;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}
.ai-prompt-input {
    border-radius: 12px;
}

.ai-prompt-copy {
    border-radius: 12px;
}
/* BUTTON */
.ai-prompt-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal; /* da lepo prelomi "Kopiraj i otvori" */
    text-align: center;
}

/* ISTA VISINA */
.ai-prompt-input,
.ai-prompt-copy {
    height: 48px;
    box-sizing: border-box;
}

.ai-prompt-copy:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

@keyframes ai-float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-7px);
    }
}

@media (max-width: 980px) {
    .ai-hero {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ai-visual {
        padding: 0;
    }

    .ai-avatar {
        max-width: 250px;
    }

    .ai-content {
        padding: 4px 0 0;
    }
}

@media (max-width: 640px) {
    .ai-title {
        font-size: 24px;
    }

    .ai-actions,
    .ai-install-grid,
    .ai-fake-chat-list,
    .ai-prompt-row {
        grid-template-columns: 1fr;
        display: grid;
    }

    .ai-actions {
        gap: 10px;
    }

    .ai-btn {
        width: 100%;
    }

    .ai-skill-grid {
        gap: 8px;
    }

    .ai-skill {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
.ai-plus-section {
    margin-top: 22px;
    padding: 18px;
    border-radius: 16px;

    background: linear-gradient(
        145deg,
        rgba(37, 99, 235, 0.12),
        rgba(17, 24, 39, 0.9)
    );

    border: 1px solid rgba(37,99,235,0.25);
    text-align: center;
}

.ai-plus-badge {
    display: inline-block;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;

    background: rgba(37,99,235,0.2);
    color: #93c5fd;
    margin-bottom: 10px;
}

.ai-plus-title {
    margin: 0 0 10px;
    font-size: 18px;
    color: #fff;
}

.ai-plus-text {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.ai-plus-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    font-size: 14px;
    color: #e5e7eb;
    text-align: left;
}

.ai-plus-list li {
    margin-bottom: 6px;
}

.ai-plus-highlight {
    margin: 12px 0;
    padding: 10px;
    border-radius: 10px;

    background: rgba(34,197,94,0.1);
    color: #22c55e;
    font-size: 13px;
}

.ai-plus-mission {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 14px;
}

.ai-plus-btn {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    margin-top: 8px;

    /* dodatno osiguranje */
    overflow: hidden;
}

.ai-plus-note {
    margin-top: 10px;
    font-size: 12px;
    color: #9ca3af;
}

.ai-plus-section {
    position: relative;
}

/* RUKA */
.ai-plus-hand {
    position: absolute;
    right: 20px;
    bottom: 70px;

    font-size: 28px;
    pointer-events: none;

    animation: ai-hand-bounce 1.2s infinite;
}

/* ANIMACIJA */
@keyframes ai-hand-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

@keyframes ai-btn-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.ai-plus-btn {
    animation: ai-btn-pulse 2.5s infinite;
}

/* default - ugašeno */
.ai-plus-btn {
    animation: none;
}

.ai-plus-hand {
    opacity: 0;
}

/* kad uđe u viewport */
.ai-plus-active .ai-plus-btn {
    animation: ai-btn-pulse 2.5s infinite;
}

.ai-plus-active .ai-plus-hand {
    opacity: 1;
}

.ai-plus-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.45);
}



/* ========================= */
/* Vremesnki uslovi */
/* ========================= */

.weather-air-links-box {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.weather-air-links-row {
    display: flex;
    gap: 10px;
}

/* dugmad */
.weather-air-link-btn {
    flex: 1;
    text-align: center;

    padding: 10px;
    border-radius: 10px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
    cursor: pointer;

    transition: all 0.2s ease;
    border: none;
}

/* narandžasta */
.weather-air-btn-orange {
    background: linear-gradient(145deg, #f97316, #ea580c);
    color: #fff;
}

/* ljubičasta (highlight) */
.weather-air-btn-purple {
    background: linear-gradient(145deg, #7c3aed, #6d28d9);
    color: #fff;
}

/* hover efekat */
.weather-air-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.35);
}

.weather-aqi-tooltip-wrap {
    position: relative;
    display: inline-block;
}

/* TOOLTIP */
.weather-aqi-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    width: 220px;
    padding: 10px;

    border-radius: 10px;
    font-size: 12px;
    line-height: 1.4;

    background: rgba(15,23,42,0.95);
    border: 1px solid rgba(255,255,255,0.08);

    color: #cbd5e1;

    opacity: 0;
    pointer-events: none;

    transition: all 0.2s ease;
    z-index: 20;
}

/* strelica */
.weather-aqi-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(15,23,42,0.95);
}

/* hover */
.weather-aqi-tooltip-wrap:hover .weather-aqi-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* AQI BOX */
.weather-aqi-box {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.weather-aqi-value {
    box-shadow: 0 0 12px currentColor;
}
/* VALUE */
.weather-aqi-value {
    min-width: 80px;
    padding: 10px 16px;

    border-radius: 10px;
    text-align: center;

    font-size: 20px;
    font-weight: bold;

    color: #fff;

    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.4);

    transition: all 0.3s ease;
}
.weather-aqi-good {
    background: #22c55e;
}

.weather-aqi-ok {
    background: #84cc16;
}

.weather-aqi-moderate {
    background: #facc15;
    color: #000;
}

.weather-aqi-bad {
    background: #f97316;
}

.weather-aqi-very-bad {
    background: #ef4444;
}

.weather-aqi-danger {
    background: #a855f7;
}

/* NAOČARE */
.weather-verko-glasses {
    position: absolute;

    top: 31%;       /* 🔥 GLAVNO podešavanje */
    left: 42%;

    transform: translateX(-50%);
    width: 35%;

    pointer-events: none;
    z-index: 5;

    transition: all 0.25s ease;
}
.weather-verko-stage {
    position: relative;
}
.weather-verko-glasses {
    opacity: 0;
}

.weather-verko-stage.sun .weather-verko-glasses,
.weather-verko-stage.hot .weather-verko-glasses {
    opacity: 1;
}


/* ========================= */
/* WEATHER KARTICA */
/* ========================= */

.weather-card {
    text-align: center;
}

.weather-search-row {
    display: grid;
    grid-template-columns: 1fr 52px;
    gap: 8px;
    margin-bottom: 12px;
}

.weather-current-box {
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.05);
}

.weather-city-name {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.weather-main-row {
    margin-bottom: 12px;
}

.weather-temp-value {
    font-size: 42px;
    font-weight: bold;
    color: #22c55e;
    line-height: 1.1;
}

.weather-desc-value {
    margin-top: 4px;
    font-size: 14px;
    color: #cbd5e1;
    text-transform: capitalize;
}

.weather-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.weather-meta-item {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 10px;
    min-height: 62px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.weather-meta-item span {
    font-size: 12px;
    color: #9ca3af;
}

.weather-meta-item strong {
    font-size: 14px;
    color: #fff;
    text-align: center;
}

.weather-verko-wrap {
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
}

.weather-verko-stage {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(59,130,246,0.14), transparent 60%),
        linear-gradient(180deg, rgba(17,24,39,0.72), rgba(31,41,55,0.92));
    transition: 0.25s ease;
}
.weather-verko-stage {
    display: flex;
    align-items: center;
    justify-content: center;
}
.weather-verko-base {
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    width: 300px;
    max-width: 90%;
    height: auto;
    z-index: 5;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.weather-verko-base {
    transition: transform 0.2s ease;
}

.weather-verko-base:hover {
    animation: weather-verko-pulse 0.6s ease-in-out infinite;
}

@keyframes weather-verko-pulse {
    0%   { transform: translateX(-50%) scale(1); }
    50%  { transform: translateX(-50%) scale(1.05); }
    100% { transform: translateX(-50%) scale(1); }
}

/* DAY&NIGHT */

.weather-day {
    background:
        radial-gradient(circle at top, rgba(59,130,246,0.25), transparent 60%),
        linear-gradient(180deg, #60a5fa, #93c5fd);
}

.weather-night {
    /* ostaje tvoj postojeći */
}

/* MESEC */

.weather-verko-moon {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e5e7eb;
    box-shadow: -6px 0 0 0 #1f2937;
    opacity: 0;
    z-index: 1;
}

/* SUN */
.weather-verko-sun {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(250, 204, 21, 0.95);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
    opacity: 0;
    transition: 0.25s ease;
    z-index: 1;
}
.weather-verko-sun::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(250,204,21,0.4);
}

/* RAIN */
/* RAIN PARTICLES */
.weather-verko-rain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 3;
    opacity: 0;
}

/* KAPLJICE */
.weather-verko-rain span {
    position: absolute;
    top: -40px;
    width: 2px;
    height: 18px;
    background: linear-gradient(to bottom, rgba(147,197,253,0.9), transparent);
    opacity: 0;
    animation: rainFall linear infinite;
}

/* SVAKA DRUGAČIJA */
.weather-verko-rain span:nth-child(1) {
    left: 10%;
    animation-duration: 0.9s;
    animation-delay: 0s;
}

.weather-verko-rain span:nth-child(2) {
    left: 20%;
    animation-duration: 1.1s;
    animation-delay: 0.3s;
}

.weather-verko-rain span:nth-child(3) {
    left: 35%;
    animation-duration: 0.8s;
    animation-delay: 0.6s;
}

.weather-verko-rain span:nth-child(4) {
    left: 50%;
    animation-duration: 1s;
    animation-delay: 0.2s;
}

.weather-verko-rain span:nth-child(5) {
    left: 65%;
    animation-duration: 0.95s;
    animation-delay: 0.5s;
}

.weather-verko-rain span:nth-child(6) {
    left: 80%;
    animation-duration: 1.2s;
    animation-delay: 0.1s;
}

/* dodatne */
.weather-verko-rain span:nth-child(7) {
    left: 5%;
    animation-duration: 0.85s;
    animation-delay: 0.4s;
}

.weather-verko-rain span:nth-child(8) {
    left: 28%;
    animation-duration: 1.05s;
    animation-delay: 0.7s;
}

.weather-verko-rain span:nth-child(9) {
    left: 42%;
    animation-duration: 0.9s;
    animation-delay: 0.9s;
}

.weather-verko-rain span:nth-child(10) {
    left: 58%;
    animation-duration: 1.15s;
    animation-delay: 0.3s;
}

.weather-verko-rain span:nth-child(11) {
    left: 72%;
    animation-duration: 0.95s;
    animation-delay: 0.8s;
}

.weather-verko-rain span:nth-child(12) {
    left: 90%;
    animation-duration: 1.1s;
    animation-delay: 0.2s;
}

/* ANIMACIJA */
@keyframes rainFall {
    0% {
        transform: translateY(-40px);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateY(240px);
        opacity: 0;
    }
}

/* AKTIVACIJA */
.weather-state-rain .weather-verko-rain {
    opacity: 1;
}
/* SNOW */
.weather-verko-snow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 3;
    opacity: 0;
}

/* PAHULJE */
.weather-verko-snow span {
    position: absolute;
    top: -30px;
    color: white;
    pointer-events: none;
    opacity: 0;
    animation: snowFall linear infinite;
}

/* SVAKA PAHULJA DRUGAČIJA */
.weather-verko-snow span:nth-child(1) {
    left: 10%;
    font-size: 20px;
    animation-duration: 5s;
    animation-delay: 0s;
}

.weather-verko-snow span:nth-child(2) {
    left: 25%;
    font-size: 24px;
    animation-duration: 6s;
    animation-delay: 1s;
}

.weather-verko-snow span:nth-child(3) {
    left: 40%;
    font-size: 18px;
    animation-duration: 4.5s;
    animation-delay: 2s;
}

.weather-verko-snow span:nth-child(4) {
    left: 60%;
    font-size: 22px;
    animation-duration: 5.5s;
    animation-delay: 0.5s;
}

.weather-verko-snow span:nth-child(5) {
    left: 75%;
    font-size: 19px;
    animation-duration: 6.5s;
    animation-delay: 1.5s;
}

.weather-verko-snow span:nth-child(6) {
    left: 90%;
    font-size: 23px;
    animation-duration: 5s;
    animation-delay: 2.5s;
}
/* 7 */
.weather-verko-snow span:nth-child(7) {
    left: 5%;
    font-size: 17px;
    animation-duration: 4.2s;
    animation-delay: 1.3s;
}

/* 8 */
.weather-verko-snow span:nth-child(8) {
    left: 18%;
    font-size: 21px;
    animation-duration: 5.8s;
    animation-delay: 2.1s;
}

/* 9 */
.weather-verko-snow span:nth-child(9) {
    left: 33%;
    font-size: 19px;
    animation-duration: 6.2s;
    animation-delay: 0.7s;
}

/* 10 */
.weather-verko-snow span:nth-child(10) {
    left: 52%;
    font-size: 23px;
    animation-duration: 4.6s;
    animation-delay: 1.8s;
}

/* 11 */
.weather-verko-snow span:nth-child(11) {
    left: 68%;
    font-size: 18px;
    animation-duration: 5.4s;
    animation-delay: 2.6s;
}

/* 12 */
.weather-verko-snow span:nth-child(12) {
    left: 82%;
    font-size: 20px;
    animation-duration: 6.8s;
    animation-delay: 1.1s;
}

/* SAMA PAHULJA */
.weather-verko-snow span::before {
    content: "❄";
}

@keyframes snowFall {
    0% {
        transform: translateY(-30px) translateX(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translateY(100px) translateX(var(--weather-snow-drift, 0px)) rotate(90deg);
    }

    100% {
        transform: translateY(220px) translateX(calc(var(--weather-snow-drift, 0px) * -1)) rotate(180deg);
        opacity: 0;
    }
}
.weather-state-snow .weather-verko-snow {
    opacity: 1;
}
.weather-verko-snow span:nth-child(3),
.weather-verko-snow span:nth-child(7),
.weather-verko-snow span:nth-child(11) {
    opacity: 0.6;
}

/* FOG */
.weather-verko-fog {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 2;
    background:
        linear-gradient(to bottom, transparent 20%, rgba(226,232,240,0.18) 35%, transparent 50%),
        linear-gradient(to bottom, transparent 42%, rgba(226,232,240,0.16) 57%, transparent 72%),
        linear-gradient(to bottom, transparent 60%, rgba(226,232,240,0.14) 75%, transparent 90%);
}

.weather-verko-fog {
    backdrop-filter: blur(3px);
}

.weather-day.weather-state-fog .weather-verko-fog {
    opacity: 1;

    background:
linear-gradient(to bottom, transparent 20%, rgba(255,255,255,0.18) 35%, transparent 50%),
linear-gradient(to bottom, transparent 42%, rgba(255,255,255,0.16) 57%, transparent 72%),
linear-gradient(to bottom, transparent 60%, rgba(255,255,255,0.14) 75%, transparent 90%);
}

.weather-day.weather-state-fog .weather-verko-stage {
    filter: brightness(0.92) contrast(0.95);
}

.weather-day.weather-state-fog .weather-verko-fog {
    animation: weather-fog-move 10s ease-in-out infinite;
}

/* LIGHTNING */
.weather-verko-lightning {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 4;
}

.weather-verko-lightning::before {
    content: "⚡";
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 34px;
    color: #fde047;
    text-shadow: 0 0 16px rgba(253,224,71,0.4);
}

/* HEAT */
.weather-verko-heat {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 4;
}

.weather-verko-heat::before {
    content: "💦";
    position: absolute;
    top: 56px;
    right: 50px;
    font-size: 20px;
}

.weather-verko-heat::after {
    content: "☀️";
    position: absolute;
    top: 10px;
    left: 16px;
    font-size: 22px;
}

/* WIND */
.weather-verko-wind {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 4;
}

.weather-verko-wind::before {
    content: "〰️〰️";
    position: absolute;
    top: 52px;
    left: 10px;
    font-size: 18px;
    opacity: 0.85;
}

.weather-verko-wind::after {
    content: "〰️";
    position: absolute;
    top: 88px;
    right: 16px;
    font-size: 18px;
    opacity: 0.75;
}

/* CLOUD */
.weather-verko-cloud {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    opacity: 0;
    z-index: 2;
}
.weather-verko-cloud::before {
    content: "☁️";
}

.weather-verko-text {
    margin-top: 10px;
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.55;
    text-align: center;
}

.weather-actions-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.weather-actions-row button {
    flex: 1;
}

.weather-secondary-btn {
    background: #374151 !important;
}

.weather-secondary-btn:hover {
    background: #4b5563 !important;
}

/* STANJA */

.weather-state-clear .weather-verko-sun {
    opacity: 1;
}

.weather-state-night-clear .weather-verko-moon {
    opacity: 1;
}

.weather-state-rain .weather-verko-rain {
    opacity: 1;
    animation: weather-rain-fall 1.1s linear infinite;
}

.weather-state-snow .weather-verko-snow {
    opacity: 1;
    animation: weather-snow-fall 3.4s linear infinite;
}

.weather-state-fog .weather-verko-fog {
    opacity: 1;
}

.weather-state-storm .weather-verko-lightning {
    opacity: 1;
    animation: weather-storm-flash 1.6s infinite;
}

.weather-state-hot .weather-verko-heat {
    opacity: 1;
}

.weather-state-hot .weather-verko-base {
    filter: saturate(1.05) brightness(1.05);
}

.weather-state-cold .weather-verko-base {
    filter: brightness(0.88) saturate(0.85);
    transform: translateX(-50%) scale(0.98);
}

.weather-state-windy .weather-verko-wind {
    opacity: 1;
}

.weather-state-windy .weather-verko-base {
    animation: weather-wind-sway 1.8s ease-in-out infinite;
}

.weather-state-storm .weather-verko-base {
    animation: weather-storm-shake 0.32s ease-in-out infinite;
}

.weather-state-heat-alert .weather-verko-stage {
    box-shadow: 0 0 0 1px rgba(239,68,68,0.35), 0 0 24px rgba(239,68,68,0.12);
}

.weather-state-cloudy .weather-verko-cloud {
    opacity: 1;
}
/* ANIMACIJE */

@keyframes weather-rain-fall {
    from {
        background-position: 22px -20px, 68px -32px, 118px -16px, 156px -26px;
    }
    to {
        background-position: 22px 28px, 68px 18px, 118px 34px, 156px 24px;
    }
}

@keyframes weather-snow-fall {
    0% {
        transform: translateY(-6px);
    }
    50% {
        transform: translateY(4px);
    }
    100% {
        transform: translateY(12px);
    }
}

@keyframes weather-storm-flash {
    0%, 70%, 100% {
        opacity: 0.15;
    }
    72% {
        opacity: 1;
    }
    74% {
        opacity: 0.2;
    }
    76% {
        opacity: 0.9;
    }
}

@keyframes weather-storm-shake {
    0% { transform: translateX(-50%) rotate(0deg); }
    25% { transform: translateX(calc(-50% - 1px)) rotate(-1deg); }
    50% { transform: translateX(calc(-50% + 1px)) rotate(1deg); }
    75% { transform: translateX(calc(-50% - 1px)) rotate(-1deg); }
    100% { transform: translateX(-50%) rotate(0deg); }
}

@keyframes weather-wind-sway {
    0% { transform: translateX(-50%) rotate(0deg); }
    50% { transform: translateX(calc(-50% + 3px)) rotate(2deg); }
    100% { transform: translateX(-50%) rotate(0deg); }
}

@media (max-width: 768px) {
    .weather-meta-grid {
        grid-template-columns: 1fr;
    }

    .weather-actions-row {
        flex-direction: column;
    }
}


.weather-state-image-only .weather-verko-sun,
.weather-state-image-only .weather-verko-rain,
.weather-state-image-only .weather-verko-snow,
.weather-state-image-only .weather-verko-fog,
.weather-state-image-only .weather-verko-lightning,
.weather-state-image-only .weather-verko-heat,
.weather-state-image-only .weather-verko-wind {
    opacity: 0 !important;
    animation: none !important;
}


/* ========================= */
/* COLD EFFECTS */
/* ========================= */

/* 🥶 DRHTANJE */
.weather-state-cold .weather-verko-base {
    animation: weather-cold-shiver 0.25s infinite;
}

@keyframes weather-cold-shiver {
    0% { transform: translateX(-50%) rotate(0deg); }
    25% { transform: translateX(calc(-50% - 1px)) rotate(-1deg); }
    50% { transform: translateX(calc(-50% + 1px)) rotate(1deg); }
    75% { transform: translateX(calc(-50% - 1px)) rotate(-1deg); }
    100% { transform: translateX(-50%) rotate(0deg); }
}

/* 💨 HLADAN DAH */
.weather-state-cold .weather-verko-stage::after {
    content: '';
    position: absolute;
    bottom: 80px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255,255,255,0.6), transparent);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: weather-cold-breath 2s infinite;
    z-index: 6;
}

@keyframes weather-cold-breath {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.6);
    }
    30% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px) scale(1.6);
    }
}

/* 🧊 LEDENI FILTER */
.weather-state-cold .weather-verko-stage {
    background:
        radial-gradient(circle at top, rgba(147,197,253,0.15), transparent 60%),
        linear-gradient(180deg, rgba(15,23,42,0.85), rgba(30,41,59,0.95));
}

/* ❄️ COLD DUST */
.weather-verko-cold-dust {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
}

.weather-verko-cold-dust span {
    position: absolute;
    top: -10px;
    width: 3px;
    height: 3px;
    background: white;
    opacity: 0.4;
    border-radius: 50%;
    animation: weather-cold-dust-fall linear infinite;
}

/* varijacije */
.weather-verko-cold-dust span:nth-child(1) { left: 10%; animation-duration: 5s; }
.weather-verko-cold-dust span:nth-child(2) { left: 25%; animation-duration: 6s; }
.weather-verko-cold-dust span:nth-child(3) { left: 40%; animation-duration: 4s; }
.weather-verko-cold-dust span:nth-child(4) { left: 55%; animation-duration: 5.5s; }
.weather-verko-cold-dust span:nth-child(5) { left: 70%; animation-duration: 6.2s; }
.weather-verko-cold-dust span:nth-child(6) { left: 85%; animation-duration: 4.8s; }

@keyframes weather-cold-dust-fall {
    from {
        transform: translateY(-10px);
    }
    to {
        transform: translateY(220px);
    }
}

/* aktivacija */
.weather-state-cold .weather-verko-cold-dust {
    opacity: 1;
}


/* ========================= */
/* FROST FRAME */
/* ========================= */

.weather-state-frost .weather-verko-stage {
    box-shadow:
        inset 0 0 20px rgba(147,197,253,0.25),
        0 0 25px rgba(147,197,253,0.15);
}

/* ivice leda */
.weather-state-frost .weather-verko-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    pointer-events: none;
    z-index: 6;

    background:
        radial-gradient(circle at 10% 10%, rgba(255,255,255,0.35), transparent 25%),
        radial-gradient(circle at 90% 20%, rgba(255,255,255,0.25), transparent 25%),
        radial-gradient(circle at 30% 90%, rgba(255,255,255,0.2), transparent 25%),
        linear-gradient(to bottom, rgba(147,197,253,0.15), transparent 40%);
    
    backdrop-filter: blur(1.5px);
}

/* blago “smrzavanje” */
.weather-state-frost .weather-verko-base {
    filter: brightness(0.85) saturate(0.8);
}

.weather-air-details {
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    font-size: 12px;
}

.weather-air-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    color: #cbd5e1;
}

.weather-air-row strong {
    color: #fff;
}

.weather-state-pollution .weather-verko-base::after {
    content: "😷";
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 26px;
    z-index: 7;
}

/* ========================= */
/* WAQI */
/* ========================= */

.weather-air-waqi-box {
    margin-top: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

.weather-air-waqi-title {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.weather-air-waqi-main {
    font-size: 16px;
    margin-bottom: 8px;
    color: #22c55e;
}

.weather-air-details-waqi {
    font-size: 12px;
}

.weather-air-waqi-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    color: #cbd5e1;
}

.weather-air-waqi-row strong {
    color: #fff;
}

.weather-air-waqi-main.good { color: #22c55e; }
.weather-air-waqi-main.ok { color: #84cc16; }
.weather-air-waqi-main.warn { color: #eab308; }
.weather-air-waqi-main.bad { color: #f97316; }
.weather-air-waqi-main.danger { color: #ef4444; }






.weather-extra-box {
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);

    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.weather-extra-item {
    font-size: 12px;
    color: #cbd5e1;
}

.weather-extra-item strong {
    color: #fff;
}

.weather-aqi-text-good { color: #22c55e !important; }
.weather-aqi-text-ok { color: #84cc16 !important; }
.weather-aqi-text-moderate { color: #facc15 !important; }
.weather-aqi-text-bad { color: #f97316 !important; }
.weather-aqi-text-very-bad { color: #ef4444 !important; }
.weather-aqi-text-danger { color: #a855f7 !important; }



.weather-verko-mask {
    position: absolute;

    top: 45%;
    left: 44%;

    transform: translate(-50%, -50%);
    width: 38%; height: 12%;

    pointer-events: none;
    z-index: 6;

    opacity: 0;
    transition: all 0.3s ease;
}

/* aktivacija */
.weather-verko-stage.polluted .weather-verko-mask {
    opacity: 1;
}




.weather-search-row {
    display: flex;
    gap: 10px;
}

.weather-search-row input,
.weather-search-row button {
    height: 44px;              /* 🔥 ISTA visina */
    box-sizing: border-box;
}

/* INPUT */
.weather-search-row input {
    flex: 1;
    padding: 0 12px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
}

/* BUTTON */
.weather-search-row button {
    width: 44px;               /* kvadrat */
    border-radius: 10px;
    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
}

.weather-search-row button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}




/* ========================= */
/* KONVERTER JEDINICA */
/* ========================= */

.conv-card {
    text-align: left;
}

.conv-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 16px;
}

.conv-row {
    margin-bottom: 12px;
}

.conv-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #9ca3af;
}

.conv-input,
.conv-select {
    width: 100%;
    box-sizing: border-box;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    border: none;
    background: rgba(0,0,0,0.22);
    color: #fff;
}

.conv-input:focus,
.conv-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.3);
}

.conv-row-grid {
    display: grid;
    grid-template-columns: 1fr 64px 1fr;
    gap: 10px;
    align-items: end;
}

.conv-swap-wrap {
    display: flex;
    align-items: end;
}

.conv-swap-btn {
    height: 42px;
    width: 100%;
    border-radius: 10px;
    border: none;
    background: #374151;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    transition: 0.2s ease;
}

.conv-swap-btn:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.conv-result-box {
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.18);
    text-align: center;
}

.conv-result-label {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.conv-result-value {
    font-size: 30px;
    font-weight: bold;
    color: #22c55e;
    line-height: 1.2;
    word-break: break-word;
}

.conv-result-note {
    margin-top: 6px;
    font-size: 12px;
    color: #cbd5e1;
}

.conv-shortcuts {
    margin-top: 16px;
}

.conv-shortcuts-title {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.conv-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.conv-chip {
    padding: 10px 8px;
    border-radius: 10px;
    border: none;
    background: #1f2937;
    color: #e5e7eb;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s ease;
}

.conv-chip:hover {
    background: #374151;
    transform: translateY(-1px);
}

.conv-help {
    margin-top: 14px;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .conv-row-grid {
        grid-template-columns: 1fr;
    }

    .conv-shortcuts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .conv-swap-wrap {
        align-items: stretch;
    }
}
.conv-input {
    font-size: 16px;
    letter-spacing: 0.5px;
}

.conv-result-value {
    transition: all 0.15s ease;
}
.conv-result-box:hover {
    transform: scale(1.01);
}



/* ========================= */
/* KONVERTER JEDINICA -prefiks */
/* ========================= */

.pref-card {
    margin-top: 20px;
}

.pref-box {
    padding: 15px;
}

.pref-row {
    margin-bottom: 12px;
}

.pref-label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: #aaa;
}

.pref-input,
.pref-select {
    width: 100%;
    height: 40px;
    border-radius: 10px;
    border: none;
    padding: 0 10px;
    background: #1f2937;
    color: #fff;
}

.pref-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pref-btn {
    width: 100%;
    height: 42px;
    border-radius: 10px;
    border: none;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
}

.pref-btn:hover {
    background: #1d4ed8;
}

.pref-result {
    margin-top: 15px;
    font-size: 22px;
    text-align: center;
    color: #22c55e;
}

.pref-table {
    width: 100%;
    margin-top: 15px;
    font-size: 13px;
}

.pref-table th,
.pref-table td {
    padding: 6px;
    text-align: center;
}

.pref-edu {
    margin-top: 15px;
    font-size: 13px;
    color: #ccc;
    line-height: 1.6;
}
.pref-unit-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pref-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pref-btn-sec {
    height: 42px;
    border-radius: 10px;
    border: none;
    background: #374151;
    color: #fff;
    cursor: pointer;
}

.pref-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.pref-modal-content {
    background: #1f2937;
    padding: 20px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    color: #fff;
    max-height: 80vh;
    overflow: auto;
}

.pref-modal-close {
    float: right;
    cursor: pointer;
}
.pref-result {
    cursor: pointer;
}

.pref-result:hover {
    opacity: 0.85;
}
.pref-result {
    cursor: copy;
}

.pref-result:hover {
    opacity: 0.9;
}
.pref-result {
    cursor: copy;
}

.pref-result:hover {
    opacity: 0.9;
}
.pref-anim-pop {
    animation: pref-pop 0.25s ease;
}

@keyframes pref-pop {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }
    60% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}
#conv-result-value {
    cursor: copy;
}

#conv-result-value:hover {
    opacity: 0.9;
}


/* ========================= */
/* HOROSKOP */
/* ========================= */
.astro-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 0;
    background:
        linear-gradient(
            180deg,
            rgba(8, 11, 29, 0.35),
            rgba(8, 11, 29, 0.80)
        ),
        url('/assets/pozadine/astro.jpg');
    background-size: auto;
    background-position: 0 0;
    background-repeat: repeat;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 22px 55px rgba(0,0,0,0.48),
        0 0 0 1px rgba(255,255,255,0.04);
}
.astro-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 16%, rgba(255,255,255,0.10), transparent 26%),
        radial-gradient(circle at 84% 74%, rgba(147,197,253,0.10), transparent 30%);
    pointer-events: none;
}

.astro-card-shell {
    position: relative;
    z-index: 1;
    padding: 22px;
}

.astro-hero {
    text-align: center;
    margin-bottom: 18px;
}

.astro-hero-image {
    width: 430px;
    max-width: 100%;
    display: inline-block;
    border-radius: 20px;
    box-shadow:
        0 20px 40px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,255,255,0.06);
}

/* HERO CONTAINER (ostaje tvoj stil + malo unapređen) */
.astro-hero {
    position: relative;
    text-align: center;
    margin-bottom: 18px;
}

/* OSNOVNA SLIKA (zadržavamo tvoje dimenzije) */
.astro-hero-base {
    width: 430px;
    max-width: 100%;
    display: inline-block;
    border-radius: 20px;
    box-shadow:
        0 20px 40px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,255,255,0.06);
    transition: all 0.6s ease;
}

/* HOVER SLIKA (mora da prati ISTE DIMENZIJE) */
.astro-hero-hover {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(1.05);
    
    width: 430px;
    max-width: 100%;
    
    border-radius: 20px;
    opacity: 0;
    z-index: 2;

    transition: all 0.6s ease;
}

/* HOVER EFEKAT */
.astro-card:hover .astro-hero-hover {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.astro-card:hover .astro-hero-base {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(2px);
}

.astro-hero-base2 {
    animation: astro-verko-breathe 4s ease-in-out infinite;
}

@keyframes astro-verko-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); }
}

.astro-card-kugla .astro-hero-base2 {
    animation: astro-verko-breathe 4s ease-in-out infinite;
}

.astro-card-kugla .astro-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(147,197,253,0.15), transparent 60%);
    opacity: 0.6;
    animation: astro-glow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes astro-glow {
    0%,100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.astro-card-teleskop .astro-hero-base3 {
    animation: astro-look 6s ease-in-out infinite;
}

@keyframes astro-look {
    0%,100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}
.astro-card-magic:hover .astro-hero::after {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 22px;
    animation: astro-spark 0.8s ease 5;
}

@keyframes astro-spark {
    0% { opacity:0; transform: scale(0.5); }
    50% { opacity:1; transform: scale(1.2); }
    100% { opacity:0; transform: scale(0.5); }
}


.astro-heading-wrap {
    text-align: center;
    margin-bottom: 18px;
}

.astro-heading-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.20);
    border: 1px solid rgba(147,197,253,0.30);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.astro-heading-title {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.18;
}

.astro-heading-text {
    margin: 0 auto;
    max-width: 760px;
    color: #d8e2f0;
    font-size: 14px;
    line-height: 1.7;
}

.astro-sign-list {
    display: grid;
    gap: 16px;
}

.astro-sign-box {
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(
        145deg,
        rgba(24, 31, 56, 0.92),
        rgba(10, 17, 35, 0.92)
    );
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 28px rgba(0,0,0,0.34);
    backdrop-filter: blur(6px);
}

.astro-sign-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.astro-sign-badge {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.10),
        0 8px 18px rgba(0,0,0,0.30);
    flex: 0 0 auto;
}

.astro-sign-symbol {
    font-size: 28px;
    line-height: 1;
    color: #fff;
}

.astro-accent-aries { background: linear-gradient(145deg, #ef4444, #b91c1c); }
.astro-accent-taurus { background: linear-gradient(145deg, #22c55e, #15803d); }
.astro-accent-gemini { background: linear-gradient(145deg, #f59e0b, #d97706); }
.astro-accent-cancer { background: linear-gradient(145deg, #60a5fa, #2563eb); }
.astro-accent-leo { background: linear-gradient(145deg, #fb923c, #ea580c); }
.astro-accent-virgo { background: linear-gradient(145deg, #84cc16, #4d7c0f); }
.astro-accent-libra { background: linear-gradient(145deg, #ec4899, #be185d); }
.astro-accent-scorpio { background: linear-gradient(145deg, #a855f7, #7e22ce); }
.astro-accent-sagittarius { background: linear-gradient(145deg, #f97316, #c2410c); }
.astro-accent-capricorn { background: linear-gradient(145deg, #64748b, #334155); }
.astro-accent-aquarius { background: linear-gradient(145deg, #06b6d4, #0f766e); }
.astro-accent-pisces { background: linear-gradient(145deg, #8b5cf6, #4338ca); }

.astro-sign-head-text {
    min-width: 0;
}

.astro-sign-title {
    margin: 0 0 4px;
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
}

.astro-sign-title-en {
    color: #93c5fd;
    font-size: 16px;
    font-weight: 500;
}

.astro-sign-range {
    color: #c7d2e3;
    font-size: 13px;
}

.astro-date-row,
.astro-time-row {
    margin-bottom: 12px;
}

.astro-date-pill,
.astro-time-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    color: #e5eefb;
    font-size: 12px;
    font-weight: 600;
}

.astro-text-block {
    margin-bottom: 12px;
    padding: 12px 13px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
}

.astro-text-block-sr {
    background: rgba(59,130,246,0.08);
    border-color: rgba(147,197,253,0.18);
}

.astro-text-label {
    font-size: 12px;
    font-weight: 700;
    color: #bfdbfe;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.astro-text-main {
    margin: 0;
    color: #eef2ff;
    font-size: 14px;
    line-height: 1.72;
}

.astro-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.astro-info-chip {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.astro-info-label {
    display: block;
    color: #aebcd2;
    font-size: 12px;
    margin-bottom: 5px;
}

.astro-info-value {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.35;
}

.astro-verko-box {
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(
        145deg,
        rgba(91, 33, 182, 0.28),
        rgba(30, 41, 59, 0.65)
    );
    border: 1px solid rgba(196,181,253,0.22);
    box-shadow: inset 0 0 20px rgba(255,255,255,0.02);
}

.astro-verko-label {
    color: #ddd6fe;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.astro-verko-text {
    margin: 0;
    color: #f3f0ff;
    font-size: 14px;
    line-height: 1.7;
}

.astro-disclaimer-box {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
    color: #dbe4f2;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .astro-card-shell {
        padding: 16px;
    }

    .astro-heading-title {
        font-size: 24px;
    }

    .astro-sign-title {
        font-size: 20px;
    }

    .astro-sign-title-en {
        display: block;
        margin-top: 2px;
        font-size: 14px;
    }

    .astro-info-grid {
        grid-template-columns: 1fr;
    }

    .astro-sign-head {
        align-items: flex-start;
    }

    .astro-sign-badge {
        width: 52px;
        height: 52px;
    }

    .astro-sign-symbol {
        font-size: 25px;
    }
}

.astro-sign-head {
    justify-content: space-between;
}

.astro-sign-visual {
    width: 90px;
    flex-shrink: 0;
    position: relative;
}

.astro-sign-visual img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.35s ease, filter 0.35s ease;
    will-change: transform;
}

/* 🔥 Ovan – agresivni zoom */
.astro-sign-visual-aries:hover img {
    transform: scale(1.8) rotate(-3deg);
    filter: brightness(1.2);
}

/* 🌿 Bik – stabilno povećanje */
.astro-sign-visual-taurus:hover img {
    transform: scale(1.6);
    filter: contrast(1.2);
}

/* ⚡ Blizanci – malo “drhtanje” */
.astro-sign-visual-gemini:hover img {
    transform: scale(1.6) translateX(5px);
}

/* 🌊 Rak – blago lebdi */
.astro-sign-visual-cancer:hover img {
    transform: scale(1.7) translateY(-10px);
}

/* 🔥 Lav – dominantno */
.astro-sign-visual-leo:hover img {
    transform: scale(1.9);
    filter: drop-shadow(0 0 15px orange);
}

/* 🌾 Devica – precizno */
.astro-sign-visual-virgo:hover img {
    transform: scale(1.6) rotate(2deg);
}

/* ⚖ Vaga – balans */
.astro-sign-visual-libra:hover img {
    transform: scale(1.6) translateY(-5px);
}

/* 🦂 Škorpija – glow */
.astro-sign-visual-scorpio:hover img {
    transform: scale(1.8);
    filter: drop-shadow(0 0 12px purple);
}

/* 🏹 Strelac – ide napred */
.astro-sign-visual-sagittarius:hover img {
    transform: scale(1.7) translateX(-10px);
}

/* 🏔 Jarac – težina */
.astro-sign-visual-capricorn:hover img {
    transform: scale(1.5);
}

/* 🌌 Vodolija – “space” */
.astro-sign-visual-aquarius:hover img {
    transform: scale(1.7) rotate(3deg);
    filter: hue-rotate(10deg);
}

/* 🌙 Ribe – fluid */
.astro-sign-visual-pisces:hover img {
    transform: scale(1.7) translateY(-8px);
    filter: brightness(1.1);
}

.astro-sign-box {
    overflow: visible;
}

.astro-sign-visual:hover img {
    z-index: 20;
    position: relative;
}

/* ========================= */
/* PRESLOVI */
/* ========================= */

.preslovi-card {
    padding:25px;
    overflow:visible;
    position:relative;
}
.preslovi-card {

    background:
        linear-gradient(145deg, #1e3a2f, #0f241d);

    border:4px solid #8b5a2b; /* drveni ram */

    border-radius:18px;

    box-shadow:
        inset 0 0 40px rgba(0,0,0,0.5),
        0 20px 40px rgba(0,0,0,0.4);
}

.preslovi-card {
    cursor: url('/assets/img/preslovi/kreda-cursor.png') 10 10, auto;
}


.preslovi-controls button,
.preslovi-copy {
    cursor:pointer; /* normalno na dugmad */
}
/* BOX */

.preslovi-box {
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:15px;
}

.preslovi-kreda-icon {
    width:18px;
    margin-right:8px;
    vertical-align:middle;

    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5));
}

/* TEXTAREA */

#preslovi-input,
#preslovi-output {
    width:100%;
    min-height:140px;

    padding:14px; /* 👈 VEĆI PADDING */

    border-radius:14px;
    border:1px solid rgba(255,255,255,0.08);

    box-sizing:border-box;
    background:#0b0f19;
    color:#e5e7eb;

    resize:vertical;
    overflow:hidden;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.02),
        0 8px 20px rgba(0,0,0,0.35);
}
/* tekst kao kreda */

#preslovi-input,
#preslovi-output {
    font-family: "Courier New", monospace;
    color:#e2e8f0;
}

#preslovi-input,
#preslovi-output {
    width:100%;
    box-sizing:border-box;
}

/* dugmad */

.preslovi-controls {
    display:flex;
    gap:12px;
}

.preslovi-controls button,
.preslovi-copy {
    flex:1;

    padding:12px;

    border:none;
    border-radius:12px;

    background:linear-gradient(135deg,#2563eb,#3b82f6);
    color:#fff;

    cursor:pointer;

    transition:0.25s;
}

.preslovi-controls button:hover,
.preslovi-copy:hover {
    transform:translateY(-2px);
    background:linear-gradient(135deg,#1d4ed8,#2563eb);
}

/* ========================= */
/* DETEKCIJA (novo) */
/* ========================= */

.preslovi-detect-box {
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:10px 14px;

    border-radius:12px;

    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.06);

    font-size:13px;
}

.preslovi-detect-label {
    color:#9ca3af;
}

.preslovi-detect-value {
    font-weight:600;
    color:#60a5fa;
}

/* ========================= */
/* COPY dugme */
/* ========================= */

.preslovi-copy {
    margin-top:5px;
}
/* ========================= */
/* highlight */
/* ========================= */

.preslovi-highlight {
    margin-top:5px;
    font-size:13px;
    color:#9ca3af;
}

.preslovi-highlight span {
    background:#22c55e33;
    border-bottom:1px solid #22c55e;
    padding:1px 2px;
    border-radius:3px;
}
/* ========================= */
/* history */
/* ========================= */
.preslovi-history {
    margin-top:10px;
    max-height:150px;
    overflow:auto;
    font-size:12px;
}

.preslovi-history-item {
    padding:6px;
    border-bottom:1px solid rgba(255,255,255,0.05);
    cursor:pointer;
}

.preslovi-history-item:hover {
    background:rgba(255,255,255,0.05);
}
/* ========================= */
/* PRESLOVI HERO */
/* ========================= */

.preslovi-hero {
    text-align:center;
    position:relative;
    margin-bottom:25px;
}

/* slika */
.preslovi-verko {
    width:220px;
    max-width:100%;

    animation: preslovi-float 4s ease-in-out infinite;

    filter:
        drop-shadow(0 15px 30px rgba(0,0,0,0.5))
        drop-shadow(0 0 20px rgba(37,99,235,0.4));
}

/* slova */
.preslovi-letters {
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:260px;
    height:260px;
    pointer-events:none;
}

.preslovi-letters span {
    position:absolute;
    font-weight:bold;
    font-size:18px;
    color:#60a5fa;

    transition: transform 0.4s ease, opacity 0.3s ease;
}

/* blink efekat */
.preslovi-letter-fade {
    opacity: 0.2;
    transform: scale(0.7);
}

/* početni raspored */
.preslovi-letters span:nth-child(1) { top:10%; left:50%; }
.preslovi-letters span:nth-child(2) { top:30%; left:85%; }
.preslovi-letters span:nth-child(3) { top:70%; left:80%; }
.preslovi-letters span:nth-child(4) { top:85%; left:50%; }
.preslovi-letters span:nth-child(5) { top:65%; left:10%; }
.preslovi-letters span:nth-child(6) { top:25%; left:5%; }

/* 💥 EKSPLOZIJA NA HOVER */
.preslovi-hero:hover .preslovi-letters span:nth-child(1) {
    transform: translate(-20px,-40px) scale(1.3) rotate(-20deg);
}

.preslovi-hero:hover .preslovi-letters span:nth-child(2) {
    transform: translate(40px,-20px) scale(1.3) rotate(30deg);
}

.preslovi-hero:hover .preslovi-letters span:nth-child(3) {
    transform: translate(50px,30px) scale(1.3) rotate(60deg);
}

.preslovi-hero:hover .preslovi-letters span:nth-child(4) {
    transform: translate(-10px,50px) scale(1.3) rotate(-40deg);
}

.preslovi-hero:hover .preslovi-letters span:nth-child(5) {
    transform: translate(-50px,30px) scale(1.3) rotate(-60deg);
}

.preslovi-hero:hover .preslovi-letters span:nth-child(6) {
    transform: translate(-40px,-20px) scale(1.3) rotate(20deg);
}

/* animacija lebdenja */
@keyframes preslovi-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ========================= */
/* SUNĐER */
/* ========================= */

.preslovi-sundjer {
    position:absolute;

    top:-20px;
    right:-15px;

    width:120px;

    opacity:0.85;

    pointer-events:none;
    z-index:10;

    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));

    transform: rotate(12deg);

    animation: preslovi-sundjer-float 6s ease-in-out infinite;
}

/* lagano lebdenje */

@keyframes preslovi-sundjer-float {
    0%,100% { transform: rotate(12deg) translateY(0); }
    50% { transform: rotate(12deg) translateY(-6px); }
}

/* ========================= */
/* SUNĐER BRISANJE */
/* ========================= */

.preslovi-sundjer {
    cursor:pointer;
    pointer-events:auto; /* 🔥 sada može klik */
}

/* animacija prelaska */

.preslovi-sundjer-clean {
    animation: preslovi-wipe 0.8s ease forwards;
}

@keyframes preslovi-wipe {
    0%   { transform: translate(0,0) rotate(10deg); }
    60%  { transform: translate(-260px, 220px) rotate(-12deg); }
    100% { transform: translate(0,0) rotate(10deg); }
}

/* fade texta */

.preslovi-fade-out {
    animation: preslovi-fade 0.4s ease forwards;
}

@keyframes preslovi-fade {
    to { opacity:0; }
}

.preslovi-card::after {
    content:'';
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:0;
}

.preslovi-card.cleaning::after {
    background:linear-gradient(
        to right,
        transparent 0%,
        rgba(255,255,255,0.08) 50%,
        transparent 100%
    );
    animation: preslovi-wipe-trace 0.6s ease;
}

@keyframes preslovi-wipe-trace {
    from { opacity:0; }
    to { opacity:1; }
}
/* ========================= */
/* KREDA TRAG */
/* ========================= */

.preslovi-chalk {
    position:absolute;
    width:14px;
    height:14px;

    background:radial-gradient(circle, 
        rgba(255,255,255,0.9) 0%,
        rgba(255,255,255,0.5) 40%,
        rgba(255,255,255,0) 70%
    );

    pointer-events:none;
    border-radius:50%;

    animation: preslovi-chalk-fade 0.8s ease-out forwards;

    z-index:9;
}

@keyframes preslovi-chalk-fade {
    0% {
        opacity:1;
        transform: scale(0.6);
    }
    50% {
        opacity:0.8;
        transform: scale(1.6);
    }
    100% {
        opacity:0;
        transform: scale(2.5);
    }
}

/* ========================= */
/* AKCENTI */
/* ========================= */
.preslovi-akcenti {
    margin-top:15px;
}

.preslovi-akcent-grid {
    display:grid;
    grid-template-columns: repeat(8, 1fr);
    gap:8px;
    color: #ffffff
}

.preslovi-akcent-grid span {
    text-align:center;
    padding:6px;
    border-radius:8px;

    background:rgba(255,255,255,0.05);
    cursor:pointer;

    transition:0.2s;
}

.preslovi-akcent-grid span:hover {
    background:#22c55e33;
    transform:scale(1.15);
}
.preslovi-help {
    margin-top:10px;
    font-size:13px;
}

.preslovi-help summary {
    cursor:pointer;
    color:#9ca3af;
}

.preslovi-help-content {
    margin-top:8px;
    color:#d1d5db;
}
.preslovi-remove {
    display:flex;
    align-items:center;
    gap:12px;

    margin-top:10px;
}

/* dugme da zauzme prostor */
.preslovi-remove button {
    flex:1;
}

/* checkbox styling */
.preslovi-checkbox {
    display:flex;
    align-items:center;
    gap:6px;
    margin-top:5px;

    font-size:16px;
    color:#e5e7eb;
    white-space:nowrap;
}

.preslovi-checkbox input {
    transform: scale(1.3);
    margin-top:8px;
}

.preslovi-akcent-editor {
    margin-top:15px;
}

#preslovi-akcent-input {
    min-height:140px;
    padding:14px;
    width:100%;
    box-sizing:border-box;
    overflow:hidden;

    border-radius:14px;
    border:1px solid rgba(255,255,255,0.08);

    background:#0b0f19;
    color:#e5e7eb;

    resize:vertical;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.02),
        0 8px 20px rgba(0,0,0,0.35);
}

.preslovi-help summary {
    color:#ffffff;
}

.preslovi-help-content {
    color:#e5e7eb;
}

.preslovi-table {
    width:100%;
    margin-top:10px;
    border-collapse:collapse;
}

.preslovi-table td {
    border-bottom:1px solid rgba(255,255,255,0.1);
    padding:4px;
    color:#fff;
}
.preslovi-card h2,
.preslovi-card h4,
.preslovi-card h5 {
    color:#ffffff;
}
#preslovi-input,
#preslovi-output,
#preslovi-akcent-input {transition: height 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);}

/* ========================= */
/* SLUG */
/* ========================= */
.preslovi-slug {
    margin-top:20px;
}

#preslovi-slug-input,
#preslovi-slug-output {
    width:100%;
    min-height:120px;
    padding:14px;

    border-radius:14px;
    border:1px solid rgba(255,255,255,0.08);

    background:#0b0f19;
    color:#e5e7eb;

    box-sizing:border-box;
    overflow:hidden;
}

/* red dugme + checkbox */
.preslovi-slug-controls {
    display:flex;
    align-items:center;
    gap:12px;
    margin:10px 0;
}

.preslovi-slug-controls button {
    flex:1;
}

/* red copy + clear */
.preslovi-slug-actions {
    display:flex;
    gap:12px;
    margin-top:8px;
}

.preslovi-slug-actions button {
    flex:1;
}

/* danger dugme */
.preslovi-danger {
    background:linear-gradient(135deg,#dc2626,#ef4444);
}

.preslovi-danger:hover {
    background:linear-gradient(135deg,#b91c1c,#dc2626);
}

/* ========================= */
/* PRESLOVI TEXT TOOLS */
/* ========================= */

.preslovi-text-tools {
    margin-top: 22px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
}

.preslovi-text-tools h4 {
    margin: 0 0 14px;
    text-align: center;
    color: #ffffff;
}

.preslovi-text-tool-section {
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.05);
}

.preslovi-text-tool-section h5 {
    margin: 0 0 10px;
    color: #93c5fd;
    font-size: 14px;
}

.preslovi-text-tool-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.preslovi-text-tool-actions button,
.preslovi-lorem-controls button {
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #2563eb;
    color: #ffffff;
    cursor: pointer;
}

.preslovi-text-tool-actions button:hover,
.preslovi-lorem-controls button:hover {
    background: #1d4ed8;
}

.preslovi-counter-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.preslovi-counter-box span {
    padding: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: #e5e7eb;
    text-align: center;
    font-size: 13px;
}

.preslovi-lorem-controls {
    display: grid;
    grid-template-columns: 90px 1fr 1fr;
    gap: 8px;
}

.preslovi-lorem-controls input,
.preslovi-lorem-controls select,
#preslovi-crypto-password {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #0b0f19;
    color: #e5e7eb;
}

.preslovi-crypto-note {
    margin: 8px 0 0;
    color: #9ca3af;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 640px) {
    .preslovi-text-tool-actions,
    .preslovi-counter-box,
    .preslovi-lorem-controls {
        grid-template-columns: 1fr;
    }
}


/* ========================= */
/* нбскурс */
/* ========================= */
.pdf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .pdf-grid {
        grid-template-columns: 1fr;
    }
}
.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fake-label {
    font-size: 13px;
    color: #aaa;
    margin-left: 6px;
}
#tip_prometa_ostalo:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================= */
/* TIME KARTICA */
/* ========================= */

.time-card {
    text-align: center;
}

.time-clock {
    font-size: 42px;
    font-weight: bold;
    color: #22c55e;
    margin-bottom: 5px;
}

.time-date {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.time-status {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.time-analog-wrap {
    margin: 0 auto 14px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 230px;
    height: 230px;
}

/* GLASS OKVIR */
.time-analog-wrap::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.12),
        rgba(255,255,255,0.03)
    );
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.5),
        inset 0 1px 2px rgba(255,255,255,0.15);
    z-index: 0;
}

.time-analog-wrap iframe {
    position: relative;
    z-index: 1;
    border-radius: 50%;
    width: 210px;
    height: 210px;
    margin: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.time-analog-wrap iframe {
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.time-verko-wrap {
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.time-verko-img {
    width: 400px;
    max-width: 100%;
    transition: transform 0.25s ease;
}

.time-verko-img:hover {
    transform: scale(1.05);
}

.time-verko-text {
    margin-top: 8px;
    font-size: 13px;
    color: #cbd5e1;
}

/* Timer */

.time-timer-wrap {
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
}

.time-timer-display {
    font-size: 36px;
    font-weight: bold;
    color: #22c55e;
    margin-bottom: 10px;
}

.time-timer-controls {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.time-timer-controls button {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: #2563eb;
    color: white;
    cursor: pointer;
}

.time-timer-set {
    display: flex;
    gap: 6px;
}

.time-timer-set input {
    flex: 1;
    padding: 6px;
    border-radius: 6px;
    border: none;
    text-align: center;
}

.time-timer-set button {
    padding: 6px 10px;
    border-radius: 6px;
    border: none;
    background: #374151;
    color: white;
    cursor: pointer;
}

.time-timer-inputs {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.time-timer-inputs input {
    flex: 1;
    padding: 6px;
    border-radius: 6px;
    border: none;
    text-align: center;
}
/* Beleške */

.time-note-wrap {
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
}

.time-note-label {
    font-size: 16px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.time-note-wrap input {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: rgba(0,0,0,0.25);
    color: #fff;
    font-size: 17px;
}


/* dodatni sat */

.time-zones-wrap {
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
}

.time-zones-header {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.time-zone-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(0,0,0,0.25);
    margin-bottom: 6px;
    font-size: 16px;
}

.time-zone-time {
    font-weight: bold;
    color: #22c55e;
}

.time-zone-remove {
    cursor: pointer;
    color: #ef4444;
    margin-left: 8px;
}

.time-zones-add {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.time-zones-add button {
    width: 40px;
    min-width: 40px;
    border-radius: 6px;
    border: none;
    background: #2563eb;
    color: white;
    cursor: pointer;
}

.time-zones-add select {
    flex: 1;
    padding: 6px;
    border-radius: 6px;
    border: none;
}
.time-zones-add input {
    width: 120px;
    padding: 6px;
    border-radius: 6px;
    border: none;
}

.time-zones-add {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    align-items: stretch;
}

.time-zones-add input,
.time-zones-add select,
.time-zones-add button {
    height: 40px; /* 🔥 svi isti */
    border-radius: 8px;
    border: none;
}

.time-zones-add input {
    width: 140px;
    padding: 0 8px;
    background: rgba(0,0,0,0.25);
    color: #fff;
}

.time-zones-add select {
    flex: 1;
    padding: 0 8px;
}

.time-zones-add button {
    width: 44px;
    min-width: 44px;
    background: #2563eb;
    color: white;
    cursor: pointer;
}

.time-zone-item span:first-child {
    color: #e5e7eb; /* svetlo siva (bolje od bele) */
    font-weight: 500;
}

.time-zone-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.time-zone-time {
    margin-left: auto;
    margin-right: 10px;
}

.time-zone-item {
    transition: all 0.2s ease;
}

.time-zone-item:hover {
    background: rgba(59,130,246,0.15); /* blagi plavi glow */
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}
.time-zone-item:hover .time-zone-time {
    color: #4ade80; /* malo jače zeleno */
}
.time-zone-item:active {
    transform: scale(0.98);
}

/* kalendar */

.time-calendar-wrap {
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
}

.time-calendar-header {
    font-size: 17px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.time-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    font-size: 16px;
}

.time-calendar-day {
    padding: 6px 0;
    border-radius: 6px;
    text-align: center;
}

.time-calendar-day.header {
    color: #9ca3af;
}

.time-calendar-day.today {
    background: #2563eb;
    color: white;
}

.time-calendar-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.time-calendar-actions button {
    flex: 1;
}
/* vikendi */
.time-calendar-day.weekend {
    color: #f87171; /* blago crveno */
}

/* danas */
.time-calendar-day.today {
    background: #2563eb;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(37,99,235,0.6);
}

/* hover efekat */
.time-calendar-day:hover {
    background: rgba(255,255,255,0.08);
    cursor: pointer;
}

.time-calendar-month {
    font-size: 17px;
    color: #d1d5db;
    margin-top: 4px;
}
.time-calendar-header {
display: flex;
flex-direction: column;
align-items: center;
    text-align: center;
}
/* budilnik */
.time-alarm-wrap {
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
}

.time-alarm-header {
    font-size: 17px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.time-alarm-row {
    display: flex;
    gap: 6px;
}

.time-alarm-row input {
    flex: 1;
    height: 40px;
    border-radius: 8px;
    border: none;
    padding: 0 8px;
}

.time-alarm-row button {
    width: 80px;
    border-radius: 8px;
    border: none;
    background: #2563eb;
    color: white;
    cursor: pointer;
    height: 40px;
}

#time-alarm-status {
    margin-top: 8px;
    font-size: 16px;
    color: #9ca3af;
}
.time-alarm-row {
    display: flex;
    gap: 6px;
    align-items: stretch;
}

.time-alarm-row input,
.time-alarm-row button {
    height: 44px; /* 🔥 isto za oba */
    border-radius: 10px;
    border: none;
}

.time-alarm-row input {
    flex: 1;
    padding: 0 10px;
    font-size: 14px;
}

.time-alarm-row button {
    width: 100px;
    background: #2563eb;
    color: white;
    cursor: pointer;
}

/* ========================= */
/* net modal fix kartica */
/* ========================= */


.net-score-sub {
    margin-top: 6px;
    font-size: 12px;
    color: #9ca3af;
    opacity: 0.9;
    text-align: center;
}


.net-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;
}

.net-modal-content {
    background: #111827;
    color: #fff;
    padding: 20px;
    border-radius: 16px;

    width: 90%;
    max-width: 600px;

    box-sizing: border-box; /* 🔥 VAŽNO */
}

.net-modal-medium { max-width: 600px; }
.net-modal-large { max-width: 900px; }
.net-modal-small { max-width: 400px; }
.net-modal-mini { max-width: 300px; }

.net-modal-close-btn {
    margin-top: 15px;
    background: #ef4444;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
}

.net-ua-modal-pre {
    white-space: pre-wrap;     /* 🔥 PRELOMI */
    word-break: break-word;    /* 🔥 dodatno osiguranje */
    overflow-wrap: anywhere;   /* 🔥 moderni fallback */

    font-size: 12px;
    background: #020617;
    padding: 10px;
    border-radius: 10px;
}

.net-ua-modal {
    max-width: 100%;
    overflow: hidden;
}

/* ========================= */
/* IGRE KARTICA */
/* ========================= */

.igre-card {
    overflow: hidden;
    position: relative;
    color: #e5e7eb;
}

.igre-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,0.18), transparent 32%),
        radial-gradient(circle at bottom left, rgba(37,99,235,0.16), transparent 30%),
        linear-gradient(145deg, rgba(15,23,42,0.85), rgba(17,24,39,0.98));
    border: 1px solid rgba(255,255,255,0.06);
}

.igre-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.25);
    color: #bbf7d0;
    font-size: 12px;
    font-weight: 700;
}

.igre-title {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.2;
    color: #fff;
}

.igre-lead {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

.igre-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.igre-hero-img {
    width: 100%;
    max-width: 390px;
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 30px rgba(0,0,0,0.45));
    animation: igre-hero-float 4.5s ease-in-out infinite;
    cursor: pointer;
}

@keyframes igre-hero-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

.igre-search-box,
.igre-platforme,
.igre-zanrovi,
.igre-slider-section,
.igre-saveti {
    margin-top: 18px;
    padding: 15px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

.igre-label {
    display: block;
    margin-bottom: 8px;
    color: #f3f4f6;
    font-size: 14px;
    font-weight: 700;
}

.igre-search-row {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 10px;
}

.igre-input {
    height: 42px;
    border-radius: 10px;
    border: none;
    padding: 0 12px;
    background: rgba(0,0,0,0.25);
    color: #fff;
    box-sizing: border-box;
}

.igre-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.35);
}

.igre-btn {
    height: 42px;
    border-radius: 10px;
    border: none;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.igre-btn:hover {
    background: #1d4ed8;
}

.igre-hint {
    margin-top: 8px;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.igre-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}

.igre-info-box {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
}

.igre-info-box h4 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 15px;
}

.igre-info-box p {
    margin: 0;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.6;
}

.igre-info-wide {
    grid-column: 1 / -1;
    background: rgba(34,197,94,0.08);
    border-color: rgba(34,197,94,0.18);
}

.igre-section-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 16px;
}

.igre-platforme-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.igre-platforma {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 13px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    color: #e5e7eb;
    transition: 0.2s ease;
}

.igre-platforma:hover {
    transform: translateY(-2px);
    background: rgba(37,99,235,0.12);
    border-color: rgba(37,99,235,0.25);
}

.igre-platforma-icon {
    font-size: 20px;
}

.igre-platforma strong {
    color: #fff;
    font-size: 14px;
}

.igre-platforma small {
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.4;
}

.igre-zanrovi-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.igre-zanr {
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #dbeafe;
    font-size: 13px;
}

.igre-slider-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.igre-slider-actions {
    display: flex;
    gap: 8px;
}

.igre-slider-btn {
    width: 38px !important;
    height: 38px;
    border-radius: 10px;
    border: none;
    background: #374151;
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.igre-slider-btn:hover {
    background: #4b5563;
}

.igre-slider-wrap {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 2px 10px;
    scroll-snap-type: x mandatory;
}

.igre-slider-wrap::-webkit-scrollbar {
    height: 8px;
}

.igre-slider-wrap::-webkit-scrollbar-thumb {
    background: rgba(148,163,184,0.35);
    border-radius: 999px;
}

.igre-slide {
    flex: 0 0 180px;
    border-radius: 16px;
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    transition: 0.2s ease;
    scroll-snap-align: start;
}

.igre-slide:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}

.igre-slide-img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: contain;
    padding: 8px;
    box-sizing: border-box;
    cursor: pointer;
}

.igre-slide-caption {
    padding: 9px;
    text-align: center;
    font-size: 13px;
    color: #f3f4f6;
    background: rgba(255,255,255,0.04);
}

.igre-saveti h4 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 16px;
}

.igre-saveti-lista {
    margin: 0;
    padding-left: 18px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.7;
}

.igre-saveti-lista li {
    margin-bottom: 5px;
}

@media (max-width: 900px) {
    .igre-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .igre-platforme-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .igre-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .igre-title {
        font-size: 22px;
    }

    .igre-search-row {
        grid-template-columns: 1fr;
    }

    .igre-platforme-grid {
        grid-template-columns: 1fr;
    }

    .igre-slide {
        flex-basis: 150px;
    }

    .igre-slide-img {
        height: 180px;
    }
}

/* FPS */
.igre-fps-box {
    margin-top:15px;
    padding:15px;
    border-radius:16px;
    background: rgba(34,197,94,0.05);
    border:1px solid rgba(34,197,94,0.15);
}

.igre-fps-grid {
    display:grid;
    grid-template-columns: repeat(4,1fr);
    gap:10px;
}

.igre-fps-grid select,
.igre-fps-grid button {
    height:40px;
    border-radius:10px;
    border:none;
    padding:5px;
}

.igre-fps-grid button {
    background:#22c55e;
    color:#000;
    font-weight:bold;
    cursor:pointer;
}

.igre-fps-rezultat {
    margin-top:10px;
    font-weight:bold;
    text-align:center;
}

/* IGDB */
.igre-igdb-box {
    margin-top:15px;
    padding:15px;
    border-radius:16px;
    background: rgba(59,130,246,0.05);
    border:1px solid rgba(59,130,246,0.15);
}


.igre-bottleneck-box {
    margin-top:15px;
    padding:15px;
    border-radius:16px;
    background: rgba(234,179,8,0.05);
    border:1px solid rgba(234,179,8,0.15);
}

.igre-bottleneck-desc {
    font-size:13px;
    color:#cbd5e1;
    margin-bottom:10px;
    line-height:1.6;
}

.igre-bottleneck-grid {
    display:grid;
    grid-template-columns: 1fr 1fr 120px;
    gap:10px;
}

.igre-bottleneck-grid select,
.igre-bottleneck-grid button {
    height:40px;
    border-radius:10px;
    border:none;
}

.igre-bottleneck-grid button {
    background:#eab308;
    color:#000;
    font-weight:bold;
    cursor:pointer;
}

.igre-bn-rezultat {
    margin-top:10px;
    font-weight:bold;
    text-align:center;
}

.igre-bottleneck-hint {
    margin-top:8px;
    font-size:12px;
    color:#9ca3af;
    text-align:center;
}

/* TOOLTIP */

.igre-tooltip-wrap {
    position: relative;
    cursor: help;
    margin-left:5px;
    color:#60a5fa;
    font-weight:bold;
}

.igre-tooltip {
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;

    background: #020617;
    color: #e5e7eb;
    font-size: 12px;
    line-height: 1.4;

    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);

    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
}

.igre-tooltip-wrap:hover .igre-tooltip {
    opacity: 1;
}

/* PRIMERI */

.igre-bn-primjeri {
    margin-top:10px;
    display:flex;
    flex-direction:column;
    gap:6px;
}

.igre-bn-primjer {
    font-size:12px;
    color:#cbd5e1;
    text-align:center;
    background: rgba(255,255,255,0.03);
    padding:6px;
    border-radius:8px;
}

/* sekcije */
.igre-saveti-sekcija {
    margin-top:15px;
}

/* naslovi */
.igre-saveti-sekcija h5 {
    margin-bottom:8px;
    color:#93c5fd;
    font-size:14px;
}

/* konfiguracije */
.igre-config-grid {
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap:10px;
}

.igre-config-box {
    background: rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
    padding:10px;
    border-radius:10px;
    font-size:13px;
    text-align:center;
}

.igre-config-box strong {
    display:block;
    margin-bottom:5px;
    color:#fff;
}

/* zaključak */
.igre-saveti-zakljucak {
    margin-top:10px;
    font-size:13px;
    color:#4ade80;
    text-align:center;
    font-weight:bold;
}

/* ŽANROVI – animacije */

.igre-zanr {
    position: relative;
    cursor: pointer;
    transition: 0.25s;
    animation: igre-zanr-float 6s ease-in-out infinite;
}

.igre-zanr-hint {
    font-size:12px;
    text-align:center;
    margin-top:8px;
    color:#9ca3af;
}

/* svaki ima malo drugačiji timing */
.igre-zanr:nth-child(2) { animation-delay: 1s; }
.igre-zanr:nth-child(3) { animation-delay: 2s; }
.igre-zanr:nth-child(4) { animation-delay: 3s; }
.igre-zanr:nth-child(5) { animation-delay: 1.5s; }
.igre-zanr:nth-child(6) { animation-delay: 2.5s; }
.igre-zanr:nth-child(7) { animation-delay: 0.5s; }
.igre-zanr:nth-child(8) { animation-delay: 3.5s; }

/* floating animacija */
@keyframes igre-zanr-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* hover efekat */
.igre-zanr:hover {
    transform: translateY(-6px) scale(1.08);
    background: rgba(37,99,235,0.2);
    box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}

/* INFO */

.igre-zanr-info {
    margin-top: 12px;
    padding: 12px;
    border-radius: 12px;

    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.2);

    font-size: 14px;
    color: #e5e7eb;

    text-align: center;
    min-height: 40px;

    transition: 0.2s;
}



/* MODAL */
.igre-modal {
    display:none;
    position:fixed;
    inset:0;
    background: rgba(0,0,0,0.8);
    overflow-y: auto;
    padding: 40px 10px;
    z-index:9999;
    align-items:center;
    justify-content:center;
}

.igre-modal {
    animation: igreModalFade 0.25s ease;
}

@keyframes igreModalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.igre-modal-content {
    background:#111;
    padding:20px;
    border-radius:16px;
    max-width:500px;
    margin: auto;
    width:100%;
    color:#fff;
    position:relative;
}

.igre-modal-close {
    position:absolute;
    top:10px;
    right:15px;
    cursor:pointer;
}

.igre-modal-caption {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 6px;
}

body.igre-modal-open {
    overflow: hidden;
}

.igre-modal-hero {
    position: relative;
    text-align: center;
    margin-bottom: 15px;
    overflow: hidden; 
    border-radius: 14px;
}

.igre-modal-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at center,
        rgba(59,130,246,0.35),
        rgba(59,130,246,0.15),
        transparent 70%
    );

    filter: blur(40px);
    opacity: 0.6;

    z-index: 0;
}

.igre-modal-img {
    position: relative;
    z-index: 1;

    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 14px;

    background: rgba(0,0,0,0.4);
    padding: 0px;

    display: block;
    margin: 0 auto;

    transition: transform 0.3s ease;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.5),
        0 0 20px rgba(59,130,246,0.12);
}

.igre-modal-img {
    transition: transform 0.4s ease;
}

.igre-modal-img:hover {
    transform: scale(1.03);
}

.igre-modal-hero:hover::before {
    opacity: 0.9;
    filter: blur(55px);
}

.igre-modal-img {
    box-shadow:
        0 10px 30px rgba(0,0,0,0.5),
        0 0 25px rgba(59,130,246,0.15);
}

.igre-modal-hero {
    animation: igreFade 0.4s ease;
    background: rgba(0,0,0,0.25);
    padding: 8px;
}

@keyframes igreFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.igre-modal-content h4 {
    color: #22c55e;
}

.igre-modal-content h5 {
    color: #a855f7;
}

.igre-modal-content p {
    text-align: justify;
}

#igre-modal-body hr {
    margin: 18px 0;
    opacity: 0.3;
}

/* ========================= */
/* cip-in cipservis */
/* ========================= */

.cipservis-card {
    overflow: hidden;
    position: relative;
    border-radius: 24px;
}

.cipservis-shell {
    position: relative;
    border-radius: 22px;
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(250, 204, 21, 0.20), transparent 26%),
        radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.16), transparent 28%),
	linear-gradient(145deg, rgba(59,130,246,0.18), rgba(34,197,94,0.16), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.cipservis-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(to bottom, rgba(255,255,255,0.03), rgba(0,0,0,0.08));
    pointer-events: none;
}

.cipservis-shell > * {
    position: relative;
    z-index: 1;
}

/* ========================= */
/* ČIP IN HERO */
/* ========================= */

.cipservis-hero {
    padding: 10px 10px 20px;
    border-radius: 18px;

    display: flex;
    flex-direction: column;
    align-items: center;

    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.25), transparent 50%),
        radial-gradient(circle at top right, rgba(34,197,94,0.20), transparent 50%),
        linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
}

.cipservis-hero-content {
    max-width: 620px;        /* 🔥 ovo rešava desktop */
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

/* IMAGE */
.cipservis-hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
}
.cipservis-hero-image img {
    width: 100%;
    max-width: 420px;
    display: block;
    margin: 0 auto;

    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

/* MOBILE */

@media (max-width: 768px) {
    .cipservis-hero-actions {
        flex-direction: column;
    }
}

.cipservis-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 12px auto;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fef3c7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.cipservis-title {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 27 bhpx;
    line-height: 1.15;
}

.cipservis-lead {
    margin: 0;
    color: #e0f2fe;
    font-size: 15px;
    line-height: 1.7;
}
.cipservis-title,
.cipservis-lead {
    text-align: center;
}
.cipservis-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
    margin-bottom: 18px;
}

.cipservis-tool {
    width: 100%;
    min-height: 138px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(59,130,246,0.35), rgba(37,99,235,0.55));
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.cipservis-tool:hover {
    transform: translateY(-3px);
     background: linear-gradient(145deg, rgba(59,130,246,0.55), rgba(37,99,235,0.75));
    border-color: rgba(250,204,21,0.28);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.cipservis-tool-icon,
.cipservis-tool-title,
.cipservis-tool-text {
    display: block;
}

.cipservis-tool-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.cipservis-tool-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
}

.cipservis-tool-text {
    color: #dbeafe;
    font-size: 13px;
    line-height: 1.55;
}

/* ========================= */
/* ČATKO JOKE BOX */
/* ========================= */

.cipservis-joke-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;

    padding: 14px;
    border-radius: 18px;

    background: linear-gradient(
        145deg,
        rgba(250,204,21,0.25),
        rgba(34,197,94,0.18)
    );

    border: 1px solid rgba(255,255,255,0.12);
}

/* avatar */

.cipservis-joke-avatar {
    position: relative;
    width: 150px;
    flex-shrink: 0;
}

/* slike */

.cipservis-joke-img {
    width: 100%;
    display: block;
    transition: opacity 0.25s ease;
}

/* hover slika */

.cipservis-joke-img-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

/* hover efekat */

.cipservis-joke-box:hover .cipservis-joke-img-hover {
    opacity: 1;
}

.cipservis-joke-box:hover .cipservis-joke-img-default {
    opacity: 0;
}

/* tekst */
.cipservis-joke-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fde68a;
}

.cipservis-joke-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cipservis-joke-emoji {
    font-size: 24px;
    text-align:right;
    flex: 0 0 auto;
}

.cipservis-joke-text {
    color: #fef3c7;
    font-size: 16px;
    line-height: 1.55;
}

@media (max-width: 680px) {
    .cipservis-joke-box {
        flex-direction: column;
        text-align: center;
    }

    .cipservis-joke-avatar {
        width: 170px;
    }
}

.cipservis-panel {
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(15,23,42,0.50);
    border: 1px solid rgba(255,255,255,0.08);
}

.cipservis-panel-hidden {
    display: none;
}

.cipservis-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.cipservis-panel-head > div {
    flex: 1;
}
.cipservis-panel-kicker {
    color: #93c5fd;
    font-size: 12px;
    margin-bottom: 4px;
}

.cipservis-panel-title {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
}

.cipservis-panel-close {
    width: 32px;
    height: 32px;

    border: none;
    border-radius: 10px;

    background: rgba(255,255,255,0.10);
    color: #fff;

    font-size: 18px;
    line-height: 1;

    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* 🔥 KLJUČNO */
    max-width: 32px;
}
.cipservis-panel-close:hover {
    background: rgba(255,255,255,0.16);
}
.cipservis-panel-close {
    margin-left: 10px;
}
.cipservis-panel-intro {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.cipservis-keyboard-wrap {
    display: grid;
    gap: 10px;
}

.cipservis-keyboard-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 8px;
}

.cipservis-keyboard-key {
    min-height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.cipservis-keyboard-key.cipservis-keyboard-hit {
    background: rgba(34,197,94,0.18);
    border-color: rgba(34,197,94,0.40);
    color: #bbf7d0;
}

.cipservis-keyboard-log {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    color: #dbeafe;
    font-size: 13px;
    line-height: 1.5;
}

.cipservis-mic-box,
.cipservis-camera-box,
.cipservis-password-box {
    display: grid;
    gap: 12px;
}

.cipservis-meter {
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
}

.cipservis-meter-bar {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e, #3b82f6, #facc15);
    transition: width 0.08s linear;
}

.cipservis-status {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    color: #e5e7eb;
    font-size: 14px;
    line-height: 1.6;
}

.cipservis-camera-video {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: #020617;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.08);
}

.cipservis-inline-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cipservis-inline-btn {
    min-width: 140px;
    padding: 10px 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
}

.cipservis-inline-btn-primary {
    background: linear-gradient(145deg, #22c55e, #16a34a);
    color: #fff;
}

.cipservis-inline-btn-secondary {
    background: rgba(255,255,255,0.10);
    color: #fff;
}

.cipservis-password-controls {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    align-items: center;
}

.cipservis-password-range {
    width: 100%;
}

.cipservis-password-output-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.cipservis-password-output {
    min-height: 46px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.07);
    color: #fff;
    display: flex;
    align-items: center;
    word-break: break-all;
    font-size: 14px;
}

.cipservis-password-copy {
    min-width: 120px;
    border: none;
    border-radius: 12px;
    background: #3b82f6;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.cipservis-password-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cipservis-password-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    color: #e5e7eb;
    font-size: 13px;
}

.cipservis-cta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    justify-content: space-between; 
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(34,197,94,0.18), rgba(59,130,246,0.18));
    border: 1px solid rgba(255,255,255,0.12);
}

.cipservis-cta-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cipservis-cta-text {
    color: #dbeafe;
    font-size: 14px;
    line-height: 1.6;
}

.cipservis-cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
    justify-content: flex-end;
}

.cipservis-btn {
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.cipservis-btn-primary {
    background: linear-gradient(145deg, #22c55e, #16a34a);
    color: #fff;
}

.cipservis-btn-secondary {
    background: rgba(255,255,255,0.10);
    color: #fff;
}

.cipservis-btn:hover,
.cipservis-inline-btn:hover,
.cipservis-password-copy:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

@media (max-width: 768px) {
    .cipservis-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .cipservis-cta-actions {
        width: 100%;
        flex-direction: column;
        margin-left: 0;
    }

    .cipservis-btn {
        width: 100%;
    }
}

.cipservis-mouse-area {
    height: 140px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 10px;
    transition: 0.2s;
}

.cipservis-bench-wrap {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.cipservis-bench-bar {
    height: 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.cipservis-bench-fill {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e, #3b82f6, #facc15);
    transition: width 0.6s ease;
}

@keyframes cipservis-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.cipservis-color-preview {
    height: 80px;
    border-radius: 12px;
    margin: 10px 0;
}


.cipservis-todo-wrap {
    display: grid;
    gap: 10px;
}

.cipservis-todo-item {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    color: #e5e7eb;
}

.cipservis-todo-item:hover {
    background: rgba(255,255,255,0.12);
}

.cipservis-todo-done {
    text-decoration: line-through;
    opacity: 0.6;
}
.cipservis-todo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cipservis-todo-delete {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #f87171;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* 🔥 KLJUČNO */
    max-width: 32px;
}

.cipservis-todo-delete:hover {
    color: #ef4444;
}

.cipservis-keyboard-note {
    margin-top: 12px;
    padding: 12px;
    border-radius: 12px;

    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.25);

    color: #d1fae5;
    font-size: 13px;
    line-height: 1.5;
}

#cipservis-screen-overlay {
    position: fixed;
    inset: 0;

    display: none;

    z-index: 99999;
    cursor: pointer;
}

@media (max-width: 920px) {
    .cipservis-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cipservis-badge {
        justify-content: center;
    }

    .cipservis-hero-image {
        justify-content: center;
        max-width: 220px;
    }

    .cipservis-cta {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 680px) {
    .cipservis-shell {
        padding: 16px;
    }

    .cipservis-title {
        font-size: 24px;
    }

    .cipservis-tools,
    .cipservis-password-options,
    .cipservis-password-controls,
    .cipservis-password-output-wrap {
        grid-template-columns: 1fr;
    }

    .cipservis-keyboard-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .cipservis-inline-actions,
    .cipservis-cta-actions {
        flex-direction: column;
    }

    .cipservis-inline-btn,
    .cipservis-btn,
    .cipservis-password-copy {
        width: 100%;
    }
}

/* ========================= */
/* LOGO INFO */
/* ========================= */
.cipservis-contact {
    margin-top: 20px;
    padding: 16px;
    border-radius: 16px;

    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
}

.cipservis-contact-head {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cipservis-contact-logo {
    margin-left: auto;
    width: 180px;
    height: auto;
}

.cipservis-contact-info {
    color: #e5e7eb;
    font-size: 18px;
    line-height: 1.6;
}

.cipservis-contact-info a {
    color: #93c5fd;
    text-decoration: none;
}

.cipservis-contact-info a:hover {
    text-decoration: underline;
}

/* UOKVIRENO OBAVEŠTENJE */

.cipservis-contact-note {
    margin-top: 14px;
    padding: 14px;
    border-radius: 12px;

    background: rgba(239, 68, 68, 0.10);
    border: 1px solid rgba(239, 68, 68, 0.35);

    color: #fecaca;
    font-size: 14px;
    line-height: 1.6;
}

.cipservis-contact-note a {
    color: #fca5a5;
    font-weight: 600;
}
@media (max-width: 768px) {
    .cipservis-contact-head {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cipservis-contact-logo {
        width: 100px;
        margin-left: 0;
    }
}

/* ========================= */
/* VERKO BACKGROUND - CIP SERVIS */
/* ========================= */

.cipservis-card {
    position: relative;
    overflow: hidden; /* bitno da ne izlazi van kartice */
}

/* 🔥 Verko dole */
.cipservis-card::after {
    content: '';
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 500px;

    background: url('/assets/pozadine/verko-poz-cipin.png') no-repeat center bottom;
    background-size: contain;

    opacity: 0.6;
    pointer-events: none;

    z-index: 0;
}

/* sadržaj iznad */
.cipservis-card > * {
    position: relative;
    z-index: 1;
}

.cipservis-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 500px;

    background: radial-gradient(
        circle at bottom,
        rgba(37,99,235,0.25),
        transparent 70%
    );

    z-index: 0;
}

/* ========================= */
/* DONACIJE */
/* ========================= */

.don-card {
    position: relative;
    border-radius: 20px;
    padding: 25px;

    background: linear-gradient(
        145deg,
        rgba(37,99,235,0.12),
        rgba(234,179,8,0.08),
        rgba(17,24,39,0.95)
    );

    border: 1px solid rgba(234,179,8,0.25);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.4),
        0 0 0 1px rgba(37,99,235,0.1);

    overflow: visible;
}

.don-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1),
        rgba(0,0,0,0.55)
    );

    z-index: 0;
}

.don-card > * {
    position: relative;
    z-index: 1;
}

.don-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 25px 60px rgba(0,0,0,0.5),
        0 0 0 1px rgba(37,99,235,0.2);
}

/* 🌰 ornament */

.don-ornament {
    position: absolute;
    top: -35px;
    right: -35px;
    width: 130px;
    z-index: 5;

    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));

    animation: don-float 5s ease-in-out infinite;
}

.don-ornament {
    opacity: 0.9;
    pointer-events: none;
}

/* 🐿️ hero */

.don-hero {
    text-align: center;
    margin-bottom: 20px;
}

.don-verko {
    width: 460px;
    max-width: 100%;

    filter:
        drop-shadow(0 20px 40px rgba(0,0,0,0.5))
        drop-shadow(0 0 30px rgba(234,179,8,0.25));

    animation: don-verko-float 4s ease-in-out infinite;
}

.don-hero:hover .don-verko {
    animation: don-verko-react 0.4s ease;
}
.don-hero:hover .don-coin {
    animation: don-coin-drop 2.2s  cubic-bezier(.3,.8,.4,1);
}

@keyframes don-verko-react {
    0% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

/* 💳 QR */

.don-qr-section {
    text-align: center;
    margin-top: 10px;
}

.don-qr {
    width: 180px;
    border-radius: 14px;
    background: white;
    padding: 10px;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,255,255,0.2);
}

.don-qr-note {
    margin-top: 10px;
    font-size: 13px;
    color: #9ca3af;
}

/* novčić */
/* wrapper */

.don-coin-wrap {
    position: absolute;
    top: -80px;
    left: 37%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 10;
}

/* coin */

.don-coin {
    width: 50px;
    opacity: 0;

    transform: translateY(-40px) scale(0.8);
}

.don-coin {
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4));
}

@keyframes don-coin-drop {

    0% {
        opacity: 0;
        transform: translateY(-60px) scale(0.8) rotate(0deg);
    }

    20% {
        opacity: 1;
    }

    60% {
        transform: translateY(343px) scale(1) rotate(180deg);
    }

    80% {
        transform: translateY(323px) scale(0.9) rotate(220deg);
    }

    100% {
        transform: translateY(363px) scale(0.85) rotate(260deg);
        opacity: 0;
    }
}


/* 📄 uplatnica */

.don-slip {
    margin-top: 15px;
    text-align: center;
}

.don-slip-btn {
    display: inline-block;
    padding: 12px;
    border-radius: 16px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(6px);

    transition: 0.25s;
}

.don-slip-btn img {
    width: 220px;
    border-radius: 10px;
    display: block;
}

.don-slip-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.don-slip-label {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 6px;
}

/* 📝 tekst */

.don-text {
    margin-top: 20px;
    font-size: 14px;
    color: #e5e7eb;
    line-height: 1.6;
}

.don-text p {
    color: #d1d5db;
}

.don-qr-note {
    color: #cbd5e1;
}

.don-text h3 {
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
}

.don-text h4 {
    margin-top: 15px;
    color: #93c5fd;
}

.don-text hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 15px 0;
}

/* ✨ QR kod animacije */
.don-scan-hint {
    text-align: center;
    margin-bottom: 8px;
}

/* tekst */

.don-scan-text {
    display: block;
    font-size: 16px;
    font-weight: 700;

    color: #000;

    text-shadow:
        0 0 8px rgba(34,197,94,0.6),
        0 0 16px rgba(34,197,94,0.3);
}

/* ruka */

.don-scan-hand {
    font-size: 42px; /* 🔥 VEĆA */
    line-height: 1;

    animation: don-hand-bounce 1.2s infinite;
}

/* animacija */

@keyframes don-hand-bounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(6px); }
    100% { transform: translateY(0); }
}

.don-qr {
    animation: don-qr-glow 2.5s infinite;
}

@keyframes don-qr-glow {
    0%,100% { box-shadow: 0 10px 25px rgba(0,0,0,0.35); }
    50% { box-shadow: 0 10px 35px rgba(34,197,94,0.4); }
}

/* ✨ animacije */

@keyframes don-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes don-verko-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 📱 responsive */

@media (max-width: 768px) {

    .don-verko {
        width: 320px;
    }

    .don-qr {
        width: 150px;
    }

    .don-ornament {
        width: 90px;
	right: -5px;
    }

}

/* mejl */
.don-email {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
}

.don-email:hover {
    text-decoration: underline;
}

/* ========================= */
/* CHIPIN V1 – FULL WIDTH KARTICA */
/* ========================= */

.chipin-v1-card {
    width: 96%;
    max-width: 1920px;
    margin: 40px auto 0 auto;

    padding: 0px;
    border-radius: 20px;

background: linear-gradient(
    135deg,
    #1e1b4b 0%,
    #2e1065 30%,
    #4c1d95 60%,
    #1e1b4b 100%
);
    border: 1px solid rgba(139, 92, 246, 0.25);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.6),
        0 0 40px rgba(139, 92, 246, 0.25); /* glow */

    position: relative;
    overflow: hidden;
}

/* lagani overlay da “podvuče crtu” */
.chipin-v1-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at top,
        rgba(139, 92, 246, 0.25),
        transparent 60%
    );

    pointer-events: none;
}

/* SEO deo */
.chipin-v1-seo {
    max-width: 900px;
    margin: 0 auto;

    text-align: center;

    font-size: 18px;
    line-height: 1.7;
    color: #d1d5db;
}

.chipin-v1-seo h2 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 22px;
}

.chipin-v1-seo p {
    margin-bottom: 12px;
}

/* divider */
.chipin-v1-divider {
    margin: 25px auto;
    width: 120px;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(139, 92, 246, 0.9),
        transparent
    );
}

/* legal */
.chipin-v1-legal {
    max-width: 900px;
    margin: 0 auto 30px auto;

    font-size: 14px;
    line-height: 1.6;
    color: #cbd5f5;

    text-align: justify;
}

.chipin-v1-legal p {
    margin-bottom: 14px;
}

.chipin-v1-legal strong {
    color: #ffffff;
}
/* hover suptilno */
.chipin-v1-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 25px 60px rgba(0,0,0,0.7);
}

/* 📱 responsive */
@media (max-width: 768px) {

    .chipin-v1-card {
        padding: 0px;
    }

    .chipin-v1-seo, .chipin-v1-legal {
	max-width: 80%;
        font-size: 14px;
    }
}

/* =========================
   VRHKARTE PICKER
========================= */

.vrhkarte-picker-wrap {
    max-width: 1280px;
    width: calc(100% - 20px);
    margin: 20px auto;
}

#vrhkarte-toggle {
    width: auto;
    padding: 7px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    background: #1f2937;
    color: #e5e7eb;
    cursor: pointer;
    font-size: 13px;
}

#vrhkarte-toggle:hover {
    background: #374151;
}

/* PANEL */

.vrhkarte-picker-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;

    background: #111827;
    border-radius: 14px;
    margin-top: 8px;
    border: 1px solid rgba(255,255,255,0.06);
}

.vrhkarte-picker-panel.vrhkarte-open {
    max-height: 720px;
    padding: 14px;
}

/* MASTER */

.vrhkarte-picker-master {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    font-weight: bold;
    color: #e5e7eb;
    margin-bottom: 4px;
    font-size: 13px;
}

.vrhkarte-picker-master input {
    margin: 0;
}

.vrhkarte-picker-hint {
    color: #9ca3af;
    font-size: 12px;
    display: block;
    margin-bottom: 10px;
}

#vrhkarte-toggle-all:indeterminate {
    accent-color: orange;
}

/* SEARCH */

.vrhkarte-search {
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;

    padding: 9px 11px;
    margin-bottom: 14px;

    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);

    background: #1f2937;
    color: #e5e7eb;
    font-size: 13px;
}

.vrhkarte-search::placeholder {
    color: #9ca3af;
}

.vrhkarte-search:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.25);
}

/* GRID PO KATEGORIJAMA */

#vrhkarte-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;

    max-height: 470px;
    overflow-y: auto;
    padding-right: 6px;
}

/* raspored po kolonama */
.vrhkarte-cat-header[data-cat="alati"]   { grid-column: 1; }
.vrhkarte-cat-header[data-cat="posao"]   { grid-column: 2; }
.vrhkarte-cat-header[data-cat="info"]    { grid-column: 3; }
.vrhkarte-cat-header[data-cat="zabava"]  { grid-column: 4; }

/* KATEGORIJA = KOLONA */

.vrhkarte-cat-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #1f2937;
    border-radius: 12px;
    padding: 12px;

    border: 1px solid rgba(255,255,255,0.06);
    min-width: 0;
}

.vrhkarte-cat-top {
    display: flex;
    align-items: center;
    gap: 7px;

    font-weight: bold;
    color: #93c5fd;

    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ako ne koristiš collapse, strelica može ostati mala */
.vrhkarte-cat-toggle {
    width: 14px;
    flex-shrink: 0;
    text-align: center;
    color: #93c5fd;
}

/* master checkbox po kategoriji */

.vrhkarte-cat-master {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    cursor: pointer;
    font-size: 14px;
}

.vrhkarte-cat-master input {
    margin: 0;
}

/* telo kategorije */

.vrhkarte-cat-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

/* collapse ostaje podržan ako ga kasnije vratiš */

.vrhkarte-cat-body.vrhkarte-collapsed {
    display: none;
}

/* ITEM */

.vrhkarte-picker-item {
    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 13px;
    color: #d1d5db;

    padding: 6px 7px;
    border-radius: 8px;

    cursor: pointer;
    line-height: 1.35;
}

.vrhkarte-picker-item:hover {
    background: rgba(255,255,255,0.06);
}

.vrhkarte-picker-item input {
    margin: 0;
    flex-shrink: 0;
}

/* SEARCH MATCH / FOCUS */

.vrhkarte-search-hit {
    background: rgba(37,99,235,0.22) !important;
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(37,99,235,0.35);
}

/* SCROLLBAR */

#vrhkarte-grid::-webkit-scrollbar {
    width: 6px;
}

#vrhkarte-grid::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 6px;
}

#vrhkarte-grid::-webkit-scrollbar-track {
    background: transparent;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    #vrhkarte-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .vrhkarte-picker-wrap {
        width: calc(100% - 16px);
        margin: 16px auto;
    }

    .vrhkarte-picker-panel.vrhkarte-open {
        max-height: 760px;
        padding: 12px;
    }

    #vrhkarte-grid {
        grid-template-columns: 1fr;
        max-height: 520px;
    }

    .vrhkarte-search {
        max-width: 100%;
    }
}
/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 900px) {
    #vrhkarte-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    #vrhkarte-grid {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr !important;
    }

    .vrhkarte-picker-panel.vrhkarte-open {
        max-height: 85vh;
        overflow-y: auto;
    }

    .vrhkarte-search {
        max-width: 100%;
    }
}

/* MODAL */

.vrhkarte-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.vrhkarte-modal.active {
    display: flex;
}

.vrhkarte-modal-box {
    background: #111827;
    padding: 20px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    color: #e5e7eb;
    text-align: center;
}

.vrhkarte-modal-send {
    display: block;
    margin: 15px 0;
    padding: 10px;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    text-decoration: none;
}

.vrhkarte-modal-send:hover {
    background: #1d4ed8;
}

#vrhkarte-modal-close {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
}
/* =========================
   VRHKARTE SUGGEST BUTTON
========================= */

#vrhkarte-suggest-btn {
    width: auto;
    padding: 7px 12px;
    margin-left: 8px;

    border-radius: 8px;
    border: 1px solid rgba(34,197,94,0.35);

    background: linear-gradient(
        145deg,
        rgba(34,197,94,0.22),
        rgba(21,128,61,0.28)
    );

    color: #064e3b;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;

    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    transition: 0.2s ease;
}

#vrhkarte-suggest-btn:hover {
    background: linear-gradient(
        145deg,
        rgba(34,197,94,0.34),
        rgba(21,128,61,0.4)
    );

    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

#vrhkarte-suggest-btn:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    #vrhkarte-suggest-btn {
        margin-left: 0;
        margin-top: 8px;
        display: block;
    }
}



/* ========================= */
/* --- */
/* ========================= */

