/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-iicl2noho2] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-iicl2noho2] {
    flex: 1;
}

.sidebar[b-iicl2noho2] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-iicl2noho2] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-iicl2noho2]  a, .top-row[b-iicl2noho2]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-iicl2noho2]  a:hover, .top-row[b-iicl2noho2]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-iicl2noho2]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-iicl2noho2] {
        justify-content: space-between;
    }

    .top-row[b-iicl2noho2]  a, .top-row[b-iicl2noho2]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-iicl2noho2] {
        flex-direction: row;
    }

    .sidebar[b-iicl2noho2] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-iicl2noho2] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-iicl2noho2]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-iicl2noho2], article[b-iicl2noho2] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-o3gfld4bw4] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-o3gfld4bw4] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-o3gfld4bw4] {
    font-size: 1.1rem;
}

.bi[b-o3gfld4bw4] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-o3gfld4bw4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-o3gfld4bw4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-o3gfld4bw4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-o3gfld4bw4] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-o3gfld4bw4] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-o3gfld4bw4] {
        padding-bottom: 1rem;
    }

    .nav-item[b-o3gfld4bw4]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-o3gfld4bw4]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-o3gfld4bw4]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-o3gfld4bw4] {
        display: none;
    }

    .collapse[b-o3gfld4bw4] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-o3gfld4bw4] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Roster.razor.rz.scp.css */
.calendar-container[b-wroas56b3h] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
    background: var(--bg-card);
    border-radius: 1rem;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--backdrop-blur));
    overflow: hidden;
}

.calendar-header[b-wroas56b3h] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.calendar-grid[b-wroas56b3h] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: minmax(140px, auto);
    /* Auto-expand for busy days */
    overflow-y: auto;
    flex: 1;
}

.calendar-header .calendar-grid[b-wroas56b3h] {
    grid-auto-rows: auto;
    overflow: hidden;
    width: 100%;
    /* Ensure grid takes full width inside flex header */
}

.calendar-day-header[b-wroas56b3h] {
    padding: 0.2rem 0.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.calendar-day-header:last-child[b-wroas56b3h] {
    border-right: none;
}

.calendar-cell[b-wroas56b3h] {
    position: relative;
    min-height: 140px;
    /* Fixed height cell */
    height: 100%;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem;
    background: transparent;
    transition: background 0.2s;
    /* Enable internal scrolling */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Scrollbar styling for cells */
.calendar-cell[b-wroas56b3h]::-webkit-scrollbar {
    width: 4px;
}

.calendar-cell[b-wroas56b3h]::-webkit-scrollbar-track {
    background: transparent;
}

.calendar-cell[b-wroas56b3h]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.calendar-cell:hover[b-wroas56b3h] {
    background: rgba(255, 255, 255, 0.02);
}

.calendar-cell:nth-child(7n)[b-wroas56b3h] {
    border-right: none;
}

.calendar-cell.other-month[b-wroas56b3h] {
    background: rgba(0, 0, 0, 0.2);
    opacity: 0.5;
}

.calendar-cell.today[b-wroas56b3h] {
    background: rgba(59, 130, 246, 0.1);
    /* Primary glow assumption */
    box-shadow: inset 0 0 0 1px var(--primary);
}

.day-number[b-wroas56b3h] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
    text-align: right;
}

.calendar-cell.today .day-number[b-wroas56b3h] {
    color: var(--primary);
}

.event-pill[b-wroas56b3h] {
    font-size: 0.7rem;
    padding: 2px 4px;
    /* Much more compact */
    margin-bottom: 2px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    letter-spacing: 0.1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-pill:hover[b-wroas56b3h] {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

/* Use theme colors roughly */
.event-flight[b-wroas56b3h] {
    background: linear-gradient(135deg, var(--primary), #2563eb);
    border-left: none;
}

.event-positioning[b-wroas56b3h] {
    background: linear-gradient(135deg, #fd7e14, #ea580c);
    border-left: none;
}

.event-off[b-wroas56b3h] {
    background: linear-gradient(135deg, #198754, #15803d);
    border-left: none;
}

.event-standby[b-wroas56b3h] {
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: #fff;
    /* White text for contrast on darker yellow/orange */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-left: none;
}

.event-training[b-wroas56b3h] {
    background: linear-gradient(135deg, #6f42c1, #5b21b6);
    border-left: none;
}

.event-reserved[b-wroas56b3h] {
    background: linear-gradient(135deg, #d63384, #be185d);
    border-left: none;
}

.event-ground[b-wroas56b3h] {
    background: linear-gradient(135deg, #0dcaf0, #0891b2);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border-left: none;
}

.event-other[b-wroas56b3h] {
    background: var(--secondary);
    border-left: none;
}

/* Layout Classes (replacing potential missing Bootstrap) */
.roster-header[b-wroas56b3h] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.roster-title-group[b-wroas56b3h] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.roster-controls[b-wroas56b3h] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.month-label[b-wroas56b3h] {
    min-width: 150px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.divider-vertical[b-wroas56b3h] {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
    margin: 0 0.5rem;
}

/* Modal Styles */
.modal-backdrop[b-wroas56b3h] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    animation: fadeIn-b-wroas56b3h 0.2s ease-out;
}

@keyframes fadeIn-b-wroas56b3h {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content[b-wroas56b3h] {
    background: linear-gradient(145deg, rgba(30, 35, 50, 0.98), rgba(20, 25, 35, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    color: var(--text-main);
    border-radius: 1.25rem;
    width: 90%;
    max-width: 520px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: slideUp-b-wroas56b3h 0.3s ease-out;
}

@keyframes slideUp-b-wroas56b3h {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header[b-wroas56b3h] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title-group[b-wroas56b3h] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-title[b-wroas56b3h] {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-main);
}

.event-type-badge[b-wroas56b3h] {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-close-modal[b-wroas56b3h] {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-wroas56b3h] {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.modal-body[b-wroas56b3h] {
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-section[b-wroas56b3h] {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-section-row[b-wroas56b3h] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.time-section[b-wroas56b3h] {
    text-align: center;
    padding: 1.25rem;
}

.time-display[b-wroas56b3h] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--primary);
}

.time-display svg[b-wroas56b3h] {
    opacity: 0.7;
}

.time-range[b-wroas56b3h] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.time-value[b-wroas56b3h] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.time-separator[b-wroas56b3h] {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.date-display[b-wroas56b3h] {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-card[b-wroas56b3h] {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.625rem;
    padding: 0.875rem 1rem;
    text-align: center;
}

.info-card-label[b-wroas56b3h] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

.info-card-value[b-wroas56b3h] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
}

.section-label[b-wroas56b3h] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.crew-count[b-wroas56b3h] {
    background: var(--primary);
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
}

.details-box[b-wroas56b3h] {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 0.5rem;
    padding: 0.875rem;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    white-space: pre-wrap;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.crew-list[b-wroas56b3h] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.crew-member[b-wroas56b3h] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.crew-member:hover[b-wroas56b3h] {
    background: rgba(255, 255, 255, 0.05);
}

.crew-avatar[b-wroas56b3h] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.crew-info[b-wroas56b3h] {
    flex: 1;
    min-width: 0;
}

.crew-name[b-wroas56b3h] {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.9rem;
}

.crew-code[b-wroas56b3h] {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.crew-position[b-wroas56b3h] {
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.position-cp[b-wroas56b3h] {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.position-sf[b-wroas56b3h] {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.position-ca[b-wroas56b3h] {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.position-default[b-wroas56b3h] {
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.modal-footer[b-wroas56b3h] {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
}

.btn-close-action[b-wroas56b3h] {
    padding: 0.625rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: var(--text-main);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-close-action:hover[b-wroas56b3h] {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
}

.detail-row[b-wroas56b3h] {
    margin-bottom: 1rem;
}

.detail-label[b-wroas56b3h] {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.list-group-item[b-wroas56b3h] {
    background: transparent;
    color: var(--text-main);
    border-color: var(--border-color);
}

/* Verification Card Styles */
.verification-card[b-wroas56b3h] {
    max-width: 420px;
    width: 100%;
    margin: 8vh auto 0;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 1.25rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(var(--backdrop-blur));
    text-align: center;
    animation: fadeInUp-b-wroas56b3h 0.4s ease-out;
}

@keyframes fadeInUp-b-wroas56b3h {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.verification-icon[b-wroas56b3h] {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.verification-title[b-wroas56b3h] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.5rem;
}

.verification-subtitle[b-wroas56b3h] {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
    line-height: 1.5;
}

.stored-credentials[b-wroas56b3h] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.credentials-badge[b-wroas56b3h] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50px;
    color: #4ade80;
    font-size: 0.9rem;
}

.credentials-badge svg[b-wroas56b3h] {
    color: #22c55e;
}

.credentials-badge strong[b-wroas56b3h] {
    color: #fff;
}

.btn-sync[b-wroas56b3h] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.btn-sync:hover:not(:disabled)[b-wroas56b3h] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.btn-sync:active:not(:disabled)[b-wroas56b3h] {
    transform: translateY(0);
}

.btn-sync:disabled[b-wroas56b3h] {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-link-alt[b-wroas56b3h] {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}

.btn-link-alt:hover[b-wroas56b3h] {
    color: var(--text-main);
    text-decoration: underline;
}

.credentials-form[b-wroas56b3h] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
}

.credentials-form .form-group[b-wroas56b3h] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.credentials-form label[b-wroas56b3h] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.credentials-form input[b-wroas56b3h] {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 0.625rem;
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.credentials-form input[b-wroas56b3h]::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.credentials-form input:focus[b-wroas56b3h] {
    outline: none;
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.credentials-form input[b-wroas56b3h]::-webkit-outer-spin-button,
.credentials-form input[b-wroas56b3h]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.credentials-form input[type=number][b-wroas56b3h] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.error-message[b-wroas56b3h] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.875rem 1rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.625rem;
    color: #f87171;
    font-size: 0.875rem;
}

.error-message svg[b-wroas56b3h] {
    flex-shrink: 0;
}

/* Responsive visibility */
.desktop-only[b-wroas56b3h] {
    display: flex;
}

.mobile-only[b-wroas56b3h] {
    display: none;
}


@media (max-width: 992px) {
    .desktop-only[b-wroas56b3h] {
        display: none !important;
    }

    .mobile-only[b-wroas56b3h] {
        display: block !important;
    }

    .roster-list.mobile-only[b-wroas56b3h] {
        display: flex !important;
    }

    .roster-header[b-wroas56b3h] {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .roster-controls[b-wroas56b3h] {
        justify-content: space-between;
    }

    /* Mobile Modal Styles */
    .modal-content[b-wroas56b3h] {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
}

.modal-header[b-wroas56b3h] {
    padding: 1rem;
}

.modal-title-group[b-wroas56b3h] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.modal-title[b-wroas56b3h] {
    font-size: 1rem;
}

.modal-body[b-wroas56b3h] {
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
}

.modal-section[b-wroas56b3h] {
    padding: 0.875rem;
}

.modal-section-row[b-wroas56b3h] {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.time-section[b-wroas56b3h] {
    padding: 1rem;
}

.time-value[b-wroas56b3h] {
    font-size: 1.25rem;
}

.info-card[b-wroas56b3h] {
    padding: 0.75rem;
}

.info-card-value[b-wroas56b3h] {
    font-size: 1.1rem;
}

.details-box[b-wroas56b3h] {
    font-size: 0.75rem;
    padding: 0.75rem;
}

.crew-list[b-wroas56b3h] {
    max-height: 200px;
    overflow-y: auto;
}

.crew-member[b-wroas56b3h] {
    padding: 0.5rem 0.625rem;
}

.crew-avatar[b-wroas56b3h] {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
}

.crew-name[b-wroas56b3h] {
    font-size: 0.85rem;
}

.modal-footer[b-wroas56b3h] {
    padding: 1rem;
}

.btn-close-action[b-wroas56b3h] {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
}
}

/* Mobile List View Styles */
.roster-list[b-wroas56b3h] {
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
    max-height: calc(100vh - 180px);
    padding: 0.75rem;
    padding-bottom: 2rem;
}

.roster-day[b-wroas56b3h] {
    background: var(--bg-card);
    border-radius: 0.875rem;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    margin-bottom: 0.25rem;
    flex-shrink: 0;
    /* Fallback for browsers not supporting gap */
}

.roster-day:last-child[b-wroas56b3h] {
    margin-bottom: 0;
}

.roster-day-empty[b-wroas56b3h] {
    opacity: 0.6;
}

.roster-day-today[b-wroas56b3h] {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), 0 4px 12px rgba(59, 130, 246, 0.15);
}

.roster-day-header[b-wroas56b3h] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.roster-day-date[b-wroas56b3h] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.roster-day-name[b-wroas56b3h] {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roster-day-number[b-wroas56b3h] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.roster-day-today .roster-day-number[b-wroas56b3h] {
    color: var(--primary);
}

.today-badge[b-wroas56b3h] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.625rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
}

.roster-events[b-wroas56b3h] {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.roster-event[b-wroas56b3h] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 0.625rem;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.roster-event:active[b-wroas56b3h] {
    transform: scale(0.98);
}

/* Event type colors for mobile */
.roster-event.event-flight[b-wroas56b3h] {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: var(--primary);
}

.roster-event.event-off[b-wroas56b3h] {
    background: rgba(34, 197, 94, 0.1);
    border-left-color: #22c55e;
}

.roster-event.event-standby[b-wroas56b3h] {
    background: rgba(234, 179, 8, 0.1);
    border-left-color: #eab308;
}

.roster-event.event-training[b-wroas56b3h] {
    background: rgba(139, 92, 246, 0.1);
    border-left-color: #8b5cf6;
}

.roster-event.event-reserved[b-wroas56b3h] {
    background: rgba(236, 72, 153, 0.1);
    border-left-color: #ec4899;
}

.roster-event.event-ground[b-wroas56b3h] {
    background: rgba(6, 182, 212, 0.1);
    border-left-color: #06b6d4;
}

.roster-event.event-other[b-wroas56b3h] {
    background: rgba(100, 116, 139, 0.1);
    border-left-color: #64748b;
}

.roster-event-time[b-wroas56b3h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.roster-event-time-sep[b-wroas56b3h] {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1;
}

.roster-event-info[b-wroas56b3h] {
    flex: 1;
    min-width: 0;
}

.roster-event-type[b-wroas56b3h] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.125rem;
}

.roster-event-text[b-wroas56b3h] {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.roster-event-arrow[b-wroas56b3h] {
    color: var(--text-muted);
    opacity: 0.5;
    flex-shrink: 0;
}

.roster-no-events[b-wroas56b3h] {
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}


/* Sync Progress */
.sync-progress[b-wroas56b3h] {
    margin-top: 2rem;
    width: 100%;
}

.sync-progress p[b-wroas56b3h] {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
    animation: pulseText-b-wroas56b3h 2s infinite;
}

@keyframes pulseText-b-wroas56b3h {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.progress-track[b-wroas56b3h] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill[b-wroas56b3h] {
    height: 100%;
    width: 40%;
    background: var(--primary);
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: -40%;
    animation: indeterminateProgress-b-wroas56b3h 1.5s infinite linear;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

@keyframes indeterminateProgress-b-wroas56b3h {
    0% {
        left: -40%;
    }

    100% {
        left: 100%;
    }
}

/* Force Mobile List Layout Override */
@media (max-width: 992px) {
    .calendar-container[b-wroas56b3h], .desktop-only[b-wroas56b3h] {
        display: none !important;
    }

    .roster-list[b-wroas56b3h], .mobile-only[b-wroas56b3h] {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .roster-day[b-wroas56b3h] {
        width: 100% !important;
        margin-right: 0 !important;
    }
}
