/* _content/Portal/Pages/LogIn.razor.rz.scp.css */
/* ==========================================================================
   Login Page - Modern Card Design
   ========================================================================== */

.login-page[b-b5mobk6yas] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 7rem);
    padding: 2rem 1rem;
}

/* --- Login Card --------------------------------------------------------- */
.login-card[b-b5mobk6yas] {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07),
                0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 20px 40px -4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* --- Card Header -------------------------------------------------------- */
.login-card-header[b-b5mobk6yas] {
    text-align: center;
    padding: 2rem 2rem 0.5rem;
}

.login-icon[b-b5mobk6yas] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 14px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.login-icon .oi[b-b5mobk6yas] {
    font-size: 1.4rem;
    color: #ffffff;
}

.login-title[b-b5mobk6yas] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.01em;
}

/* --- Card Body ---------------------------------------------------------- */
.login-card-body[b-b5mobk6yas] {
    padding: 1.5rem 2rem 2rem;
}

/* --- Form Fields -------------------------------------------------------- */
.login-field[b-b5mobk6yas] {
    margin-bottom: 1rem;
}

/* --- Phone row layout --------------------------------------------------- */
.login-phone-row[b-b5mobk6yas] {
    display: flex;
    gap: 0.5rem;
}

.login-phone-code[b-b5mobk6yas] {
    width: 105px;
    flex-shrink: 0;
}

.login-phone-number[b-b5mobk6yas] {
    flex: 1;
}

/* --- Login Button ------------------------------------------------------- */
.login-action[b-b5mobk6yas] {
    margin-top: 1.5rem;
}

[b-b5mobk6yas] .login-btn {
    width: 100% !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
}

/* --- QR Code Section ---------------------------------------------------- */
.login-qr[b-b5mobk6yas] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.login-qr-frame[b-b5mobk6yas] {
    padding: 0.75rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    display: inline-block;
}

.login-qr-frame img[b-b5mobk6yas] {
    display: block;
    max-width: 160px;
    height: auto;
}

.login-qr-id[b-b5mobk6yas] {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.login-qr-hint[b-b5mobk6yas] {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
    line-height: 1.4;
    max-width: 260px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 480px) {
    .login-card[b-b5mobk6yas] {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .login-card-header[b-b5mobk6yas] {
        padding: 1.5rem 1.5rem 0.5rem;
    }

    .login-card-body[b-b5mobk6yas] {
        padding: 1rem 1.5rem 1.5rem;
    }
}
/* _content/Portal/Pages/OvrvReg.razor.rz.scp.css */
/* ==========================================================================
   OvrvReg - E-Naplata Registration (Modern Card Design)
   ========================================================================== */

/* --- Page Title --------------------------------------------------------- */
.reg-title[b-s2j6o0iyln] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem;
}

.reg-subtitle[b-s2j6o0iyln] {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1rem;
}

/* --- Info Banner -------------------------------------------------------- */
.reg-info[b-s2j6o0iyln] {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.6;
}

.reg-info a[b-s2j6o0iyln] {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.reg-info a:hover[b-s2j6o0iyln] {
    color: #1d4ed8;
    text-decoration: underline;
}

/* --- Card --------------------------------------------------------------- */
.reg-card[b-s2j6o0iyln] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 640px;
}

.reg-card-title[b-s2j6o0iyln] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    margin: 0 0 1rem;
}

/* --- Form Fields -------------------------------------------------------- */
.reg-field[b-s2j6o0iyln] {
    margin-bottom: 0.875rem;
}

.reg-field input[b-s2j6o0iyln],
.reg-field select[b-s2j6o0iyln] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.875rem;
    color: #1e293b;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.reg-field input[b-s2j6o0iyln]::placeholder {
    color: #94a3b8;
}

.reg-field input:focus[b-s2j6o0iyln],
.reg-field select:focus[b-s2j6o0iyln] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.reg-field input[readonly][b-s2j6o0iyln] {
    background: #f8fafc;
    color: #64748b;
}

/* --- Row layout (PTT + Mjesto, Ulica + Kucni broj) ---------------------- */
.reg-row[b-s2j6o0iyln] {
    display: flex;
    gap: 0.625rem;
}

.reg-row-ptt[b-s2j6o0iyln] {
    width: 100px;
    flex-shrink: 0;
}

.reg-row-fill[b-s2j6o0iyln] {
    flex: 1;
}

.reg-row-hnum[b-s2j6o0iyln] {
    width: 110px;
    flex-shrink: 0;
}

/* --- Button ------------------------------------------------------------- */
.reg-btn[b-s2j6o0iyln] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.7rem 1.5rem;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    margin-top: 0.5rem;
}

.reg-btn:hover[b-s2j6o0iyln] {
    background: #1d4ed8;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.reg-btn:disabled[b-s2j6o0iyln] {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

/* --- Data Table (loaded==1, court registry) ------------------------------ */
.reg-table[b-s2j6o0iyln] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.reg-table td[b-s2j6o0iyln] {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
}

.reg-table tr:nth-child(odd)[b-s2j6o0iyln] {
    background: #f8fafc;
}

.reg-table tr:nth-child(even)[b-s2j6o0iyln] {
    background: #ffffff;
}

.reg-table-label[b-s2j6o0iyln] {
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
    width: 35%;
}

.reg-table-value[b-s2j6o0iyln] {
    color: #1e293b;
}

.reg-table tr:first-child td:first-child[b-s2j6o0iyln] {
    border-top-left-radius: 8px;
}

.reg-table tr:first-child td:last-child[b-s2j6o0iyln] {
    border-top-right-radius: 8px;
}

.reg-table tr:last-child td:first-child[b-s2j6o0iyln] {
    border-bottom-left-radius: 8px;
}

.reg-table tr:last-child td:last-child[b-s2j6o0iyln] {
    border-bottom-right-radius: 8px;
}

/* --- Branch select in table --------------------------------------------- */
.reg-table select[b-s2j6o0iyln] {
    padding: 0.375rem 0.625rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.85rem;
    color: #1e293b;
    background: #ffffff;
    width: 100%;
}

/* --- Payment Info (loaded==2) ------------------------------------------- */
.reg-payment[b-s2j6o0iyln] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
    max-width: 640px;
}

.reg-payment p[b-s2j6o0iyln] {
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.7;
    margin: 0 0 1rem;
}

.reg-payment-details[b-s2j6o0iyln] {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: #1e293b;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.reg-payment-details strong[b-s2j6o0iyln] {
    color: #2563eb;
}

.reg-barcode[b-s2j6o0iyln] {
    text-align: center;
    padding: 1rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    display: inline-block;
}

.reg-barcode img[b-s2j6o0iyln] {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 640px) {
    .reg-card[b-s2j6o0iyln] {
        padding: 1.25rem;
        border-radius: 10px;
    }

    .reg-row[b-s2j6o0iyln] {
        flex-direction: column;
        gap: 0;
    }

    .reg-row-ptt[b-s2j6o0iyln],
    .reg-row-hnum[b-s2j6o0iyln] {
        width: 100%;
    }

    .reg-payment[b-s2j6o0iyln] {
        padding: 1.25rem;
    }
}
/* _content/Portal/Shared/LoginDisplay.razor.rz.scp.css */
/* ==========================================================================
   LoginDisplay - User Dropdown
   ========================================================================== */

.user-dropdown[b-y8pzfwvk6b] {
    position: relative;
    margin-left: 1.5rem;
}

/* --- Toggle Button ------------------------------------------------------ */
.user-dropdown-toggle[b-y8pzfwvk6b] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    font-size: 0.85rem;
}

.user-dropdown-toggle:hover[b-y8pzfwvk6b] {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.user-dropdown-icon[b-y8pzfwvk6b] {
    font-size: 0.85rem;
    color: #64748b;
}

.user-dropdown-name[b-y8pzfwvk6b] {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.85rem;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-arrow[b-y8pzfwvk6b] {
    font-size: 0.55rem;
    color: #94a3b8;
    transition: transform 0.15s ease;
}

/* --- Dropdown Menu ------------------------------------------------------ */
.user-dropdown-menu[b-y8pzfwvk6b] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 0.375rem;
    z-index: 100;
    animation: dropdownFadeIn-b-y8pzfwvk6b 0.12s ease;
}

@keyframes dropdownFadeIn-b-y8pzfwvk6b {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Dropdown Items ----------------------------------------------------- */
.user-dropdown-item[b-y8pzfwvk6b] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
    color: #334155;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 450;
    transition: background 0.1s ease;
    cursor: pointer;
    white-space: nowrap;
}

.user-dropdown-item:hover[b-y8pzfwvk6b] {
    background: #f1f5f9;
    color: #1e293b;
    text-decoration: none;
}

.user-dropdown-item .oi[b-y8pzfwvk6b] {
    font-size: 0.8rem;
    color: #64748b;
    width: 1rem;
    text-align: center;
}

/* --- Logout variant ----------------------------------------------------- */
.user-dropdown-item-logout:hover[b-y8pzfwvk6b] {
    background: #fef2f2;
    color: #dc2626;
}

.user-dropdown-item-logout:hover .oi[b-y8pzfwvk6b] {
    color: #dc2626;
}

/* --- Divider ------------------------------------------------------------ */
.user-dropdown-divider[b-y8pzfwvk6b] {
    height: 1px;
    background: #e2e8f0;
    margin: 0.25rem 0.5rem;
}

/* ==========================================================================
   Login Button (Not Authorized)
   ========================================================================== */
.login-btn[b-y8pzfwvk6b] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.15s ease;
    margin-left: 1.5rem;
}

.login-btn:hover[b-y8pzfwvk6b] {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e293b;
    text-decoration: none;
}

.login-btn-icon[b-y8pzfwvk6b] {
    font-size: 0.85rem;
    color: #64748b;
}

.login-btn-text[b-y8pzfwvk6b] {
    white-space: nowrap;
}
/* _content/Portal/Shared/MainLayout.razor.rz.scp.css */
/* ==========================================================================
   MainLayout - Modern Layout Structure
   ========================================================================== */

.page[b-dgvf162c4q] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main[b-dgvf162c4q] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f8fafc;
}

/* --- Sidebar ------------------------------------------------------------ */
.sidebar[b-dgvf162c4q] {
    background: linear-gradient(180deg, #0f172a 0%, #1e3a5f 50%, #1a4971 100%);
}

/* --- Top Row (Header Bar) ----------------------------------------------- */
.top-row[b-dgvf162c4q] {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    font-size: 0.85rem;
    color: #64748b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

    .top-row[b-dgvf162c4q]  a, .top-row .btn-link[b-dgvf162c4q] {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.15s ease;
    }

/* --- Content Area ------------------------------------------------------- */
.content[b-dgvf162c4q] {
    flex: 1;
    padding: 1.5rem;
}

/* --- Copyright Footer (desktop, in sidebar) ----------------------------- */
.copyrightver2[b-dgvf162c4q] {
    text-align: center;
    width: 100%;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    padding: 0.75rem 1rem;
    margin-top: auto;
}

/* ==========================================================================
   Responsive - Mobile First
   ========================================================================== */
@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-dgvf162c4q] {
        display: none;
    }

    .top-row.auth[b-dgvf162c4q] {
        justify-content: space-between;
    }

    .top-row a[b-dgvf162c4q], .top-row .btn-link[b-dgvf162c4q] {
        margin-left: 0;
    }

    .copyrightver2[b-dgvf162c4q] {
        display: none;
    }
}

@media (min-width: 641px) {
    .page[b-dgvf162c4q] {
        flex-direction: row;
    }

    .sidebar[b-dgvf162c4q] {
        width: 260px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    /* Custom scrollbar for sidebar */
    .sidebar[b-dgvf162c4q]::-webkit-scrollbar {
        width: 4px;
    }

    .sidebar[b-dgvf162c4q]::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar[b-dgvf162c4q]::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 2px;
    }

    .sidebar[b-dgvf162c4q]::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.25);
    }

    .top-row[b-dgvf162c4q] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div.content[b-dgvf162c4q] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/Portal/Shared/NavMenu.razor.rz.scp.css */
/* ==========================================================================
   NavMenu - Modern Sidebar Navigation
   ========================================================================== */

/* --- Header / Logo Bar -------------------------------------------------- */
.nav-header[b-dg1ljn7cqa] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-logo img[b-dg1ljn7cqa] {
    max-height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.nav-logo:hover img[b-dg1ljn7cqa] {
    opacity: 1;
}

/* --- Hamburger Toggler -------------------------------------------------- */
.navbar-toggler[b-dg1ljn7cqa] {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.navbar-toggler:hover[b-dg1ljn7cqa] {
    background: rgba(255, 255, 255, 0.15);
}

.toggler-bar[b-dg1ljn7cqa] {
    display: block;
    width: 20px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- Navigation Menu ---------------------------------------------------- */
.nav-menu[b-dg1ljn7cqa] {
    padding: 0.5rem 0;
    flex: 1;
    overflow-y: auto;
}

.nav-list[b-dg1ljn7cqa] {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Nav Item ----------------------------------------------------------- */
.nav-item[b-dg1ljn7cqa] {
    padding: 2px 0.75rem;
}

.nav-item[b-dg1ljn7cqa]  a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 450;
    line-height: 1.4;
    transition: all 0.15s ease;
}

.nav-item[b-dg1ljn7cqa]  a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.nav-item[b-dg1ljn7cqa]  a.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 500;
    box-shadow: inset 3px 0 0 #ffffff;
}

/* --- Nav Icon ----------------------------------------------------------- */
.nav-icon[b-dg1ljn7cqa] {
    width: 1.25rem;
    font-size: 1rem;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.8;
}

.nav-item[b-dg1ljn7cqa]  a.active .nav-icon,
.nav-item[b-dg1ljn7cqa]  a:hover .nav-icon {
    opacity: 1;
}

/* --- Nav Text ----------------------------------------------------------- */
.nav-text[b-dg1ljn7cqa] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

/* --- Notification Badge ------------------------------------------------- */
.nav-badge[b-dg1ljn7cqa] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #ef4444;
    color: #fff;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
    margin-left: auto;
}

/* --- Divider ------------------------------------------------------------ */
.nav-divider[b-dg1ljn7cqa] {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.5rem 1.5rem;
    list-style: none;
}

/* --- Logout Item -------------------------------------------------------- */
.nav-item-logout[b-dg1ljn7cqa]  a {
    color: rgba(255, 255, 255, 0.5);
}

.nav-item-logout[b-dg1ljn7cqa]  a:hover {
    color: #fca5a5;
    background-color: rgba(239, 68, 68, 0.1);
}

/* --- Copyright Footer --------------------------------------------------- */
.copyrightver[b-dg1ljn7cqa] {
    text-align: center;
    width: 100%;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    padding: 0.75rem 1rem;
    display: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 640.98px) {
    .navbar-toggler[b-dg1ljn7cqa] {
        display: flex;
    }

    .copyrightver[b-dg1ljn7cqa] {
        display: block;
    }
}

@media (min-width: 641px) {
    .navbar-toggler[b-dg1ljn7cqa] {
        display: none;
    }

    .collapse[b-dg1ljn7cqa] {
        display: block;
    }
}
