/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-lukc1oxz5s] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-lukc1oxz5s] {
    flex: 1;
}

.sidebar[b-lukc1oxz5s] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-lukc1oxz5s] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-lukc1oxz5s]  a, .top-row[b-lukc1oxz5s]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-lukc1oxz5s]  a:hover, .top-row[b-lukc1oxz5s]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-lukc1oxz5s]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-lukc1oxz5s] {
        justify-content: space-between;
    }

    .top-row[b-lukc1oxz5s]  a, .top-row[b-lukc1oxz5s]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-lukc1oxz5s] {
        flex-direction: row;
    }

    .sidebar[b-lukc1oxz5s] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-lukc1oxz5s] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-lukc1oxz5s]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-lukc1oxz5s], article[b-lukc1oxz5s] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-lukc1oxz5s] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-lukc1oxz5s] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/MoviesBookHeader.razor.rz.scp.css */
/* ── Language dropdown – vertical centering in the 50px header ── */

/* Input wrapper */
[b-qazwph1mps] .lang-select.e-input-group,
[b-qazwph1mps] .lang-select.e-input-group.e-control-wrapper {
    height: 32px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    /* Force opaque background – prevents transparent rendering on mobile
       when the parent header uses backdrop-filter */
    background-color: inherit !important;
    -webkit-transform: translateZ(0); /* force GPU layer isolation on iOS */
    transform: translateZ(0);
}

/* Inner <input> element */
[b-qazwph1mps] .lang-select.e-input-group input.e-dropdownlist {
    height: 32px;
    line-height: 32px;
    padding-top: 0;
    padding-bottom: 0;
    background: transparent !important;
}

/* Value template text – vertically centered */
[b-qazwph1mps] .lang-select .e-input-value {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Dropdown arrow icon – vertically centered */
[b-qazwph1mps] .lang-select.e-input-group .e-input-group-icon {
    height: 32px;
    display: flex;
    align-items: center;
}
/* /Components/Pages/Auth.razor.rz.scp.css */
/* Force background gris clair pour tous les champs TextBox */
.e-textbox[b-98qv3ygni5],
.e-input-group[b-98qv3ygni5],
.e-input-group.e-control-wrapper .e-input[b-98qv3ygni5],
.e-float-input input[b-98qv3ygni5],
.e-float-input.e-input-group input[b-98qv3ygni5] {
    background-color: #f9fafb !important;
}

/* Garde le fond gris même au focus */
.e-textbox:focus[b-98qv3ygni5],
.e-input-group:focus[b-98qv3ygni5],
.e-input-group.e-control-wrapper .e-input:focus[b-98qv3ygni5],
.e-float-input input:focus[b-98qv3ygni5],
.e-float-input.e-input-group input:focus[b-98qv3ygni5] {
    background-color: #f9fafb !important;
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
/* ─── Dashboard Global Styles - Thème Zinc/Gold ─── */

:root[b-r3c9y3c03f] {
    --cinema-gold: #d4af37;
    --zinc-950: #09090b;
    --zinc-900: #18181b;
    --zinc-850: #1f1f23;
    --zinc-800: #27272a;
    --zinc-700: #3f3f46;
    --zinc-600: #52525b;
    --zinc-500: #71717a;
    --zinc-400: #a1a1aa;
    --zinc-300: #d4d4d8;
    --zinc-200: #e4e4e7;
    --zinc-100: #f4f4f5;
}

/* Scrollbar personnalisée */
[b-r3c9y3c03f]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

[b-r3c9y3c03f]::-webkit-scrollbar-track {
    background: transparent;
}

[b-r3c9y3c03f]::-webkit-scrollbar-thumb {
    background: var(--zinc-700);
    border-radius: 4px;
}

[b-r3c9y3c03f]::-webkit-scrollbar-thumb:hover {
    background: var(--zinc-600);
}

/* Masquer scrollbar sur mobile (style mobile.html) */
body[b-r3c9y3c03f]::-webkit-scrollbar {
    display: none;
}

body[b-r3c9y3c03f] {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Animations smooth */
@keyframes slideInFromBottom-b-r3c9y3c03f {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn-b-r3c9y3c03f {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.card-navigator[b-r3c9y3c03f] {
    animation: fadeIn-b-r3c9y3c03f 0.2s ease-out;
}

.card-input-field[b-r3c9y3c03f] {
    animation: slideInFromBottom-b-r3c9y3c03f 0.15s ease-out;
    animation-fill-mode: both;
}

.card-input-field:nth-child(1)[b-r3c9y3c03f] { animation-delay: 0ms; }
.card-input-field:nth-child(2)[b-r3c9y3c03f] { animation-delay: 30ms; }
.card-input-field:nth-child(3)[b-r3c9y3c03f] { animation-delay: 60ms; }
.card-input-field:nth-child(4)[b-r3c9y3c03f] { animation-delay: 90ms; }
.card-input-field:nth-child(5)[b-r3c9y3c03f] { animation-delay: 120ms; }
.card-input-field:nth-child(n+6)[b-r3c9y3c03f] { animation-delay: 150ms; }
