@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600&family=Rajdhani:wght@400;500;600&display=swap');

html {
    min-height: 100%;
    background-color: #0D2E3F;
}

body {
    min-height: 100%;
    background-color: #0D2E3F;
}
:not(mud-snackbar-container, mud-snackbar-content-action, mud-snackbar-content-message, mud-snackbar-content-icon, mud-button-root) {
    background-color: transparent;
}
.mud-drawer.mud-drawer-responsive.mud-drawer-pos-left.mud-drawer--open, .mud-drawer.mud-drawer-persistent.mud-drawer-pos-left.mud-drawer--open, .mud-main-content, .mud-appbar.mud-appbar-fixed-top, .mud-appbar.mud-appbar-fixed-top .mud-main-content {
    background-color: #0D2E3F;
    color: #ffffff;
    font-size: 20px;
    font-family: 'Century Gothic'
}
.mud-drawer-close-responsive-md-left .mud-main-content {
    width: 100% !important;
    min-height: 100vh;
}
.mud-drawer-open-responsive-md-left .mud-main-content {
    margin-left: var(--mud-drawer-width-left);
    width: calc(100% - var(--mud-drawer-width-left)) !important;
    min-height: 100vh;
}
h1:focus {
    outline: none;
    
}

/*.main-title {
    font-family:'Agency FB' !important;
}*/
.main-title {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 4px !important;
    text-decoration: none;
    color: white;
    font-size: 20px !important;
}
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ============================================== */
/* UNIFIED PAGE STYLES - Hyperion Design System  */
/* ============================================== */

/* Base page container */
.hyp-page {
    min-height: 100vh;
    padding: 2rem;
    background: radial-gradient(circle at top left, rgba(87, 138, 168, 0.25), transparent 45%), radial-gradient(circle at bottom right, rgba(145, 116, 93, 0.25), transparent 40%);
    font-family: 'Rajdhani', sans-serif;
}

/* Page header with title, subtitle, and optional action button */
.hyp-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hyp-page-header .header-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f0f4ff;
    margin-bottom: 0.25rem;
}

.hyp-page-header .header-content p,
.hyp-page-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    margin: 0;
}

/* Header balance display (for Helix/aUEC) */
.hyp-page-header .header-balance {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hyp-page-header .balance-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.hyp-page-header .balance-item.helix {
    color: #ffc107;
}

.hyp-page-header .balance-item.auec {
    color: #4caf50;
}

/* Header actions (buttons group) */
.hyp-page-header .header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Primary action button (Create/Add) */
.hyp-action-btn {
    background: linear-gradient(135deg, rgba(255, 148, 113, 0.9), rgba(255, 100, 60, 0.9)) !important;
}

/* Filters bar */
.hyp-page-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(12, 20, 30, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    align-items: flex-end;
}

.hyp-page-filters .filter-search {
    flex: 1 1 250px;
    min-width: 180px;
}

.hyp-page-filters .filter-select {
    flex: 0 1 150px;
    min-width: 120px;
}

.hyp-page-filters .filter-checkbox {
    flex: 0 0 auto;
}

/* Input styles for filters */
.hyp-page-filters .mud-input-control .mud-input-slot,
.hyp-page-filters .mud-input-control input,
.hyp-page-filters .mud-input-control .mud-input {
    color: #f0f4ff !important;
}

.hyp-page-filters .mud-input-control .mud-input-adornment svg {
    color: rgba(255, 148, 113, 0.8) !important;
}

.hyp-page-filters .mud-input-control input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

.hyp-page-filters .mud-input-control .mud-input-underline:before {
    border-bottom-color: rgba(255, 255, 255, 0.3) !important;
}

.hyp-page-filters .mud-input-control .mud-input-underline:after {
    border-bottom-color: rgba(255, 148, 113, 0.8) !important;
}

.hyp-page-filters .mud-input-control .mud-input-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.hyp-page-filters .mud-select .mud-select-input {
    color: #f0f4ff !important;
}

/* Results count */
.hyp-page-count {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

/* Loading state */
.hyp-page-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* Empty state */
.hyp-page-empty {
    max-width: 600px;
    margin: 0 auto;
}

/* Card grid layout */
.hyp-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

/* Generic card style */
.hyp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: linear-gradient(145deg, rgba(12, 20, 30, 0.94), rgba(10, 16, 24, 0.88));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hyp-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 148, 113, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Stats cards row */
.hyp-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hyp-stat-card {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(145deg, rgba(12, 20, 30, 0.94), rgba(10, 16, 24, 0.88));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hyp-stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.hyp-stat-card .stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #f0f4ff;
}

.hyp-stat-card .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tabs styling */
.hyp-page-tabs {
    margin-bottom: 1.5rem;
}

.hyp-page-tabs .mud-tabs-toolbar {
    background: rgba(12, 20, 30, 0.7) !important;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hyp-page-tabs .mud-tab {
    color: rgba(255, 255, 255, 0.7) !important;
}

.hyp-page-tabs .mud-tab.mud-tab-active {
    color: #ff9471 !important;
}

.hyp-page-tabs .mud-tabs-slider {
    background: #ff9471 !important;
}

/* Tab content container */
.hyp-tab-content {
    padding: 1.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hyp-page {
        padding: 1rem;
    }

    .hyp-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hyp-page-header .header-content h1 {
        font-size: 1.8rem;
    }

    .hyp-page-filters {
        flex-direction: column;
        padding: 1rem;
    }

    .hyp-page-filters .filter-search,
    .hyp-page-filters .filter-select {
        flex: 1 1 100%;
    }

    .hyp-page-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================== */
/* UNIFIED DIALOG STYLES - Hyperion Design System */
/* ============================================== */

/* Dialog backdrop */
.hyp-dialog-backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

/* Base dialog container */
.mud-dialog.hyp-dialog {
    background: linear-gradient(135deg, rgba(10, 16, 24, 0.98) 0%, rgba(18, 28, 42, 0.98) 100%);
    border: 1px solid rgba(255, 148, 113, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    min-width: 500px;
    max-width: 800px;
}

.mud-dialog.hyp-dialog .mud-dialog-title {
    background: transparent;
    border-bottom: 1px solid rgba(255, 148, 113, 0.15);
}

.mud-dialog.hyp-dialog .mud-dialog-content {
    background: transparent;
    padding: 1.5rem;
}

.mud-dialog.hyp-dialog .mud-dialog-actions {
    background: transparent;
    border-top: 1px solid rgba(255, 148, 113, 0.15);
    padding: 1rem 1.5rem;
}

/* Dialog title styling */
.hyp-dialog-title {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: #f0f4ff;
}

.hyp-dialog-title svg {
    color: #ff9471;
    margin-right: 0.75rem;
}

/* Dialog section title */
.hyp-dialog-section {
    font-family: 'Orbitron', sans-serif;
    color: #ff9471 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem !important;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.hyp-dialog-section svg {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Dialog tabs */
.hyp-dialog-tabs {
    background: transparent !important;
}

.hyp-dialog-tabs .mud-tabs-toolbar {
    background: rgba(20, 30, 48, 0.95) !important;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 148, 113, 0.3);
    min-height: 48px;
}

.hyp-dialog-tabs .mud-tabs-toolbar-content {
    display: flex !important;
    justify-content: flex-start !important;
}

.hyp-dialog-tabs .mud-tab {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 120px;
    opacity: 1 !important;
    background: transparent !important;
}

.hyp-dialog-tabs .mud-tab .mud-tab-icon-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.hyp-dialog-tabs .mud-tab:hover {
    color: rgba(255, 255, 255, 1) !important;
    background: rgba(255, 148, 113, 0.15) !important;
}

.hyp-dialog-tabs .mud-tab.mud-tab-active {
    color: #ff9471 !important;
    background: rgba(255, 148, 113, 0.2) !important;
}

.hyp-dialog-tabs .mud-tab.mud-tab-active .mud-tab-icon-text {
    color: #ff9471 !important;
}

.hyp-dialog-tabs .mud-tab-slider {
    background: #ff9471 !important;
}

.hyp-dialog-tabs .mud-tabs-panels {
    background: transparent !important;
}

/* Dialog info grid (key-value pairs) */
.hyp-dialog-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.hyp-dialog-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.hyp-dialog-info-item svg {
    color: rgba(255, 148, 113, 0.8);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.hyp-dialog-info-item .info-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.15rem;
}

.hyp-dialog-info-item .info-value {
    font-size: 0.9rem;
    color: #f0f4ff;
}

.hyp-dialog-info-item .info-value.reward,
.hyp-dialog-info-item .info-value.highlight {
    color: #ffb28f;
    font-weight: 600;
}

/* Dialog info card (larger card with icon) */
.hyp-dialog-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.hyp-dialog-info-card:hover {
    border-color: rgba(255, 148, 113, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.hyp-dialog-info-card .info-icon {
    color: #ff9471;
    font-size: 1.5rem;
}

.hyp-dialog-info-card .info-content {
    display: flex;
    flex-direction: column;
}

.hyp-dialog-info-card .info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.hyp-dialog-info-card .info-value {
    font-size: 0.95rem;
    color: #f0f4ff;
    font-weight: 500;
}

/* Dialog description block */
.hyp-dialog-description {
    margin-bottom: 1.5rem;
}

.hyp-dialog-description h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.5rem;
}

.hyp-dialog-description p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    white-space: pre-line;
}

/* Dialog form inputs styling */
.mud-dialog.hyp-dialog .mud-input-control {
    margin-bottom: 0.5rem;
}

.mud-dialog.hyp-dialog .mud-input,
.mud-dialog.hyp-dialog .mud-input-slot {
    color: #f0f4ff !important;
}

.mud-dialog.hyp-dialog .mud-input-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.mud-dialog.hyp-dialog .mud-input-label.mud-input-label-animated {
    color: rgba(255, 148, 113, 0.9) !important;
}

.mud-dialog.hyp-dialog .mud-input-outlined .mud-input-outlined-border {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.mud-dialog.hyp-dialog .mud-input-outlined:hover .mud-input-outlined-border {
    border-color: rgba(255, 148, 113, 0.5) !important;
}

.mud-dialog.hyp-dialog .mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: #ff9471 !important;
}

.mud-dialog.hyp-dialog .mud-select .mud-input-slot {
    color: #f0f4ff !important;
}

.mud-dialog.hyp-dialog .mud-input-helper-text {
    color: rgba(255, 255, 255, 0.5) !important;
}

.mud-dialog.hyp-dialog .mud-picker-input-text {
    color: #f0f4ff !important;
}

.mud-dialog.hyp-dialog .mud-icon-default {
    color: rgba(255, 148, 113, 0.7) !important;
}

.mud-dialog.hyp-dialog .mud-typography {
    color: rgba(255, 255, 255, 0.8);
}

.mud-dialog.hyp-dialog .mud-typography strong {
    color: #ffb28f;
}

.mud-dialog.hyp-dialog .mud-input-control-input-container textarea {
    color: #f0f4ff !important;
}

.mud-dialog.hyp-dialog .mud-input-control .mud-character-counter {
    color: rgba(255, 148, 113, 0.7) !important;
}

/* Dialog button styles */
.mud-dialog.hyp-dialog .mud-button-text {
    color: rgba(255, 255, 255, 0.7) !important;
}

.mud-dialog.hyp-dialog .mud-button-text:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Dialog list items */
.hyp-dialog-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hyp-dialog-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.hyp-dialog-list-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 148, 113, 0.2);
}

.hyp-dialog-list-item.selected {
    background: rgba(255, 148, 113, 0.1);
    border-color: rgba(255, 148, 113, 0.3);
}

.hyp-dialog-list-item.paid,
.hyp-dialog-list-item.success {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

/* Dialog avatar */
.hyp-dialog-avatar {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 148, 113, 0.15);
    border: 2px solid rgba(255, 148, 113, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: #ffb28f;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.hyp-dialog-avatar:hover {
    transform: scale(1.1);
    border-color: rgba(255, 148, 113, 0.7);
}

.hyp-dialog-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hyp-dialog-avatar.small {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
}

.hyp-dialog-avatar.is-organizer,
.hyp-dialog-avatar.highlight {
    border-color: #fbbf24;
}

/* Dialog payment panel */
.hyp-dialog-payment-panel {
    background: linear-gradient(135deg, rgba(255, 148, 113, 0.1) 0%, rgba(255, 148, 113, 0.05) 100%);
    border: 1px solid rgba(255, 148, 113, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.hyp-dialog-payment-panel .payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hyp-dialog-payment-panel .payment-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: #ffb28f;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hyp-dialog-payment-panel .payment-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Dialog action button (primary CTA) */
.hyp-dialog-action-btn {
    background: linear-gradient(135deg, rgba(255, 148, 113, 0.9), rgba(255, 100, 60, 0.9)) !important;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Dialog Q&A items (questionnaire style) */
.hyp-dialog-qa-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hyp-dialog-qa-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.hyp-dialog-qa-item .question {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 148, 113, 0.08);
    border-bottom: 1px solid rgba(255, 148, 113, 0.15);
    font-size: 0.85rem;
    color: #ffb28f;
    font-weight: 500;
}

.hyp-dialog-qa-item .answer {
    padding: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.hyp-dialog-qa-item .answer.no-answer {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* Dialog empty state */
.hyp-dialog-empty {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Dialog loading */
.hyp-dialog-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
}

/* Dialog checkbox styling */
.mud-dialog.hyp-dialog .mud-checkbox .mud-typography {
    color: rgba(255, 255, 255, 0.8);
}

/* Dialog size variants */
.mud-dialog.hyp-dialog.hyp-dialog-sm {
    min-width: 400px;
    max-width: 500px;
}

.mud-dialog.hyp-dialog.hyp-dialog-lg {
    min-width: 700px;
    max-width: 900px;
}

.mud-dialog.hyp-dialog.hyp-dialog-xl {
    min-width: 900px;
    max-width: 1100px;
}

/* Responsive dialog */
@media (max-width: 768px) {
    .mud-dialog.hyp-dialog {
        min-width: auto;
        max-width: 95vw;
        margin: 1rem;
    }

    .mud-dialog.hyp-dialog.hyp-dialog-sm,
    .mud-dialog.hyp-dialog.hyp-dialog-lg,
    .mud-dialog.hyp-dialog.hyp-dialog-xl {
        min-width: auto;
        max-width: 95vw;
    }

    .hyp-dialog-info-grid {
        grid-template-columns: 1fr;
    }

    .hyp-dialog-info-card {
        padding: 0.75rem;
    }

    .hyp-dialog-info-card .info-icon {
        font-size: 1.25rem;
    }

    .hyp-dialog-tabs .mud-tab {
        min-width: 80px;
        font-size: 0.65rem;
    }
}

/* ============================================== */
/* END UNIFIED STYLES                             */
/* ============================================== */

.profile-page {
    min-height: 100vh;
    padding: 3rem 2.5rem 4rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: radial-gradient(circle at top left, rgba(87, 138, 168, 0.25), transparent 45%), radial-gradient(circle at bottom right, rgba(145, 116, 93, 0.25), transparent 40%);
    font-family: 'Rajdhani', sans-serif;
}

.profile-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(12, 20, 30, 0.94), rgba(10, 16, 24, 0.88));
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    color: #dbe7f5;
    overflow: hidden;
}

.profile-card::before,
.profile-card::after {
    display: none;
}

/* Header Image - Full Width avec ratio 2:1 */
.profile-header-image {
    position: relative;
    width: 100%;
    /* Ratio 2:1 avec aspect-ratio */
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: #0b0f16;
}

.profile-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.profile-header-image .portrait-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.profile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 16, 24, 0.95) 0%, rgba(10, 16, 24, 0.7) 50%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.profile-name-badge {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-name-badge .profile-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f0f4ff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.profile-name-badge .profile-grade {
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 148, 113, 0.9);
}

.division-icon {
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

/* Profile Content */
.profile-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Certifications Section */
.certifications-section {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.certifications-section.pending {
    border-bottom: none;
    padding-bottom: 0;
}

.certifications-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.certification-badge {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: rgba(255, 148, 113, 0.15);
    border: 2px solid rgba(255, 148, 113, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.certification-badge:hover {
    transform: scale(1.1);
    border-color: rgba(255, 148, 113, 0.9);
    box-shadow: 0 0 15px rgba(255, 148, 113, 0.3);
}

.certification-badge.has-image {
    background: transparent;
    border-color: rgba(255, 148, 113, 0.3);
}

.certification-badge.has-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.certification-badge .cert-code {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #ffb28f;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.certification-badge .cert-level {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 148, 113, 0.9);
    color: #0a1018;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-badge .cert-level-text {
    font-size: 0.65rem;
    color: rgba(255, 148, 113, 0.9);
    position: absolute;
    bottom: 2px;
    right: 4px;
}

.certification-badge.pending {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    opacity: 0.6;
}

.certification-badge.pending:hover {
    opacity: 1;
    transform: scale(1.05);
}

.certification-badge.pending .cert-code {
    color: rgba(255, 255, 255, 0.5);
}

.certifications-badges.pending {
    gap: 0.5rem;
}

.certifications-badges.pending .certification-badge {
    width: 44px;
    height: 44px;
}

/* Profile Details Section */
.profile-details-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.profile-info-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
}

.profile-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.profile-value {
    font-weight: 600;
    color: #f0f4ff;
    font-size: 0.95rem;
}

.profile-value.status-active {
    color: #4ade80;
}

.profile-value.status-inactive {
    color: #f87171;
}

/* Stats */
.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 148, 113, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 148, 113, 0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffb28f;
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

/* Actions */
.profile-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.profile-button {
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: #f1f5ff;
    background: rgba(17, 24, 34, 0.9);
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.profile-button.primary {
    border-color: rgba(255, 148, 113, 0.9);
    color: #ffb28f;
}

.profile-button.primary:hover {
    background: rgba(255, 148, 113, 0.15);
}

.profile-button.edit {
    border-color: rgba(76, 143, 180, 0.9);
    color: #8fc5e7;
}

.profile-button.edit:hover {
    background: rgba(76, 143, 180, 0.2);
    border-color: rgba(76, 143, 180, 1);
}

/* Footer */
.profile-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Section Title */
.section-title {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-header-image {
        min-height: 250px;
    }
    
    .profile-name-badge .profile-name {
        font-size: 1.6rem;
    }
    
    .profile-details-section {
        grid-template-columns: 1fr;
    }
    
    .profile-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ========================== */
/* OPERATEURS PAGE            */
/* ========================== */

.operateurs-page {
    min-height: 100vh;
    padding: 2rem;
    background: radial-gradient(circle at top left, rgba(87, 138, 168, 0.25), transparent 45%), radial-gradient(circle at bottom right, rgba(145, 116, 93, 0.25), transparent 40%);
    font-family: 'Rajdhani', sans-serif;
}

.operateurs-header {
    text-align: center;
    margin-bottom: 2rem;
}

.operateurs-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f0f4ff;
    margin-bottom: 0.5rem;
}

.operateurs-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

/* Filtres */
.operateurs-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(12, 20, 30, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    align-items: flex-end;
}

/* Styles pour les inputs MudBlazor dans les filtres */
.operateurs-filters .mud-input-control .mud-input-slot,
.operateurs-filters .mud-input-control input,
.operateurs-filters .mud-input-control .mud-input {
    color: #f0f4ff !important;
}

.operateurs-filters .mud-input-control .mud-input-adornment svg {
    color: rgba(255, 148, 113, 0.8) !important;
}

.operateurs-filters .mud-input-control input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

.operateurs-filters .mud-input-control .mud-input-underline:before {
    border-bottom-color: rgba(255, 255, 255, 0.3) !important;
}

.operateurs-filters .mud-input-control .mud-input-underline:after {
    border-bottom-color: rgba(255, 148, 113, 0.8) !important;
}

.operateurs-filters .mud-input-control .mud-input-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.operateurs-filters .mud-select .mud-select-input {
    color: #f0f4ff !important;
}

.operateurs-filters .filter-search {
    flex: 1 1 300px;
    min-width: 200px;
}

.operateurs-filters .filter-select {
    flex: 0 1 180px;
    min-width: 150px;
}

.operateurs-filters .filter-certifications {
    flex: 0 1 250px;
}

.operateurs-filters .filter-switch {
    flex: 0 0 auto;
    margin-left: auto;
    padding-bottom: 8px;
}

.operateurs-filters .filter-switch .mud-switch-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Compteur */
.operateurs-count {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

/* Loading */
.operateurs-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.operateurs-empty {
    max-width: 600px;
    margin: 0 auto;
}

/* Grille des operateurs */
.operateurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Pagination style MudTablePager */
.operateurs-pager {
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(12, 20, 30, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.operateurs-pager .mud-table-pagination-caption,
.operateurs-pager .mud-table-pagination-information {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.operateurs-pager .mud-table-pagination-select {
    min-width: 60px;
}

.operateurs-pager .mud-table-pagination-actions {
    display: flex;
    gap: 0.25rem;
}

/* Operator Card */
.operator-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(145deg, rgba(12, 20, 30, 0.94), rgba(10, 16, 24, 0.88));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.operator-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 148, 113, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.operator-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
}

.operator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.operator-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.operator-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.operator-header {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.operator-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #f0f4ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.operator-grade {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 148, 113, 0.9);
}

.operator-division {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.division-icon-small {
    height: 20px;
    width: auto;
}

/* Certifications dans la carte operateur */
.operator-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
}

.operator-cert-badge {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: rgba(255, 148, 113, 0.15);
    border: 1px solid rgba(255, 148, 113, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 600;
    color: #ffb28f;
    text-transform: uppercase;
    transition: all 0.15s ease;
}

.operator-cert-badge:hover {
    transform: scale(1.15);
    border-color: rgba(255, 148, 113, 0.8);
}

.operator-cert-badge.has-image {
    background: transparent;
    border-color: rgba(255, 148, 113, 0.25);
}

.operator-cert-badge.has-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 3px;
}

.operator-cert-badge.more {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.65rem;
}

/* Responsive Operateurs */
@media (max-width: 768px) {
    .operateurs-page {
        padding: 1rem;
    }
    
    .operateurs-header h1 {
        font-size: 1.8rem;
    }
    
    .operateurs-filters {
        flex-direction: column;
    }
    
    .operateurs-filters .filter-search,
    .operateurs-filters .filter-select,
    .operateurs-filters .filter-certifications {
        flex: 1 1 100%;
    }
    
    .operateurs-filters .filter-switch {
        margin-left: 0;
        width: 100%;
    }
    
    .operateurs-grid {
        grid-template-columns: 1fr;
    }
    
    .operateurs-pager {
        justify-content: center;
        padding: 0.5rem;
    }
    
    .operator-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .operator-image {
        width: 120px;
        height: 120px;
    }
    
    .operator-division {
        justify-content: center;
    }
    
    .operator-certifications {
        justify-content: center;
    }
}

/* ========================== */
/* EVENTS PAGE                */
/* ========================== */

.events-page {
    min-height: 100vh;
    padding: 2rem;
    background: radial-gradient(circle at top left, rgba(87, 138, 168, 0.25), transparent 45%), radial-gradient(circle at bottom right, rgba(145, 116, 93, 0.25), transparent 40%);
    font-family: 'Rajdhani', sans-serif;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.events-header .header-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f0f4ff;
    margin-bottom: 0.25rem;
}

.events-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

.create-event-btn {
    background: linear-gradient(135deg, rgba(255, 148, 113, 0.9), rgba(255, 100, 60, 0.9)) !important;
}

/* Filtres Events */
.events-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(12, 20, 30, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    align-items: flex-end;
}

.events-filters .filter-search {
    flex: 1 1 250px;
    min-width: 180px;
}

.events-filters .filter-select {
    flex: 0 1 150px;
    min-width: 120px;
}

.events-filters .filter-checkbox {
    flex: 0 0 auto;
}

/* Input styles pour events-filters */
.events-filters .mud-input-control .mud-input-slot,
.events-filters .mud-input-control input,
.events-filters .mud-input-control .mud-input {
    color: #f0f4ff !important;
}

.events-filters .mud-input-control .mud-input-adornment svg {
    color: rgba(255, 148, 113, 0.8) !important;
}

.events-filters .mud-input-control input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

.events-filters .mud-input-control .mud-input-underline:before {
    border-bottom-color: rgba(255, 255, 255, 0.3) !important;
}

.events-filters .mud-input-control .mud-input-underline:after {
    border-bottom-color: rgba(255, 148, 113, 0.8) !important;
}

.events-filters .mud-input-control .mud-input-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.events-filters .mud-select .mud-select-input {
    color: #f0f4ff !important;
}

/* Compteur */
.events-count {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

/* Loading */
.events-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.events-empty {
    max-width: 600px;
    margin: 0 auto;
}

/* Grille des events */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

/* ========================== */
/* EVENT CARD                 */
/* ========================== */

.event-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: linear-gradient(145deg, rgba(12, 20, 30, 0.94), rgba(10, 16, 24, 0.88));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 200px;
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 148, 113, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.event-card.status-upcoming {
    border-left: 3px solid #4ade80;
}

.event-card.status-ongoing {
    border-left: 3px solid #fbbf24;
}

.event-card.status-ended {
    border-left: 3px solid #6b7280;
    opacity: 0.7;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
}

.event-type {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 148, 113, 0.9);
    font-weight: 600;
}

.event-date {
    color: rgba(255, 255, 255, 0.6);
}

.event-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    color: #f0f4ff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.event-card .event-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.event-location svg {
    color: rgba(255, 148, 113, 0.7);
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.event-participants {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.event-participants svg {
    color: rgba(255, 255, 255, 0.5);
}

.event-reward {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.event-reward .reward-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffb28f;
}

.event-reward .reward-label {
    font-size: 0.7rem;
    color: rgba(255, 148, 113, 0.7);
    text-transform: uppercase;
}

.event-status-badge {
    position: relative;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 110%;
}

.event-status-badge.status-upcoming {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.event-status-badge.status-ongoing {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.event-status-badge.status-ended {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.event-organizer {
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
    font-size: 0.7rem;
}

/* ========================== */
/* EVENT DETAILS DIALOG       */
/* ========================== */

.event-dialog-backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.mud-dialog.event-dialog {
    background: linear-gradient(135deg, rgba(10, 16, 24, 0.98) 0%, rgba(18, 28, 42, 0.98) 100%);
    border: 1px solid rgba(255, 148, 113, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mud-dialog.event-dialog .mud-dialog-title {
    background: transparent;
    border-bottom: 1px solid rgba(255, 148, 113, 0.15);
}

.mud-dialog.event-dialog .mud-dialog-content {
    background: transparent;
}

.mud-dialog.event-dialog .mud-dialog-actions {
    background: transparent;
    border-top: 1px solid rgba(255, 148, 113, 0.15);
}

.event-dialog-title {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: #f0f4ff;
}

.event-details {
    color: #dbe7f5;
}

.event-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-item svg {
    color: rgba(255, 148, 113, 0.8);
    margin-top: 0.2rem;
}

.info-item .info-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.15rem;
}

.info-item .info-value {
    font-size: 0.9rem;
    color: #f0f4ff;
}

.info-item .info-value.reward {
    color: #ffb28f;
    font-weight: 600;
}

.event-description-full {
    margin-bottom: 1.5rem;
}

.event-description-full h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.5rem;
}

.event-description-full p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    white-space: pre-line;
}

.event-participants-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.participants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.participant-avatar {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 148, 113, 0.15);
    border: 2px solid rgba(255, 148, 113, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: #ffb28f;
    transition: all 0.2s ease;
}

.participant-avatar:hover {
    transform: scale(1.1);
    border-color: rgba(255, 148, 113, 0.7);
}

.participant-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.participant-avatar.is-organizer {
    border-color: #fbbf24;
}

.participant-avatar .organizer-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    color: #fbbf24;
    background: rgba(10, 16, 24, 0.9);
    border-radius: 50%;
    font-size: 0.75rem !important;
}

.no-participants {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Event Dialog Tabs */
.event-tabs {
    background: transparent !important;
}

.event-tabs .mud-tabs-toolbar {
    background: rgba(20, 30, 48, 0.95) !important;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 148, 113, 0.3);
    min-height: 48px;
}

.event-tabs .mud-tabs-toolbar-content {
    display: flex !important;
    justify-content: flex-start !important;
}

.event-tabs .mud-tab {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 120px;
    opacity: 1 !important;
    background: transparent !important;
}

.event-tabs .mud-tab .mud-tab-icon-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.event-tabs .mud-tab:hover {
    color: rgba(255, 255, 255, 1) !important;
    background: rgba(255, 148, 113, 0.15) !important;
}

.event-tabs .mud-tab.mud-tab-active {
    color: #ff9471 !important;
    background: rgba(255, 148, 113, 0.2) !important;
}

.event-tabs .mud-tab.mud-tab-active .mud-tab-icon-text {
    color: #ff9471 !important;
}

.event-tabs .mud-tab-slider {
    background: #ff9471 !important;
}

.event-tabs .mud-tabs-panels {
    background: transparent !important;
}

/* Event Edit Dialog Form Styles */
.mud-dialog.event-dialog .mud-input-control {
    margin-bottom: 0.5rem;
}

.mud-dialog.event-dialog .mud-input,
.mud-dialog.event-dialog .mud-input-slot {
    color: #f0f4ff !important;
}

.mud-dialog.event-dialog .mud-input-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.mud-dialog.event-dialog .mud-input-label.mud-input-label-animated {
    color: rgba(255, 148, 113, 0.9) !important;
}

.mud-dialog.event-dialog .mud-input-outlined .mud-input-outlined-border {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.mud-dialog.event-dialog .mud-input-outlined:hover .mud-input-outlined-border {
    border-color: rgba(255, 148, 113, 0.5) !important;
}

.mud-dialog.event-dialog .mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: #ff9471 !important;
}

.mud-dialog.event-dialog .mud-select .mud-input-slot {
    color: #f0f4ff !important;
}

.mud-dialog.event-dialog .mud-input-helper-text {
    color: rgba(255, 255, 255, 0.5) !important;
}

.mud-dialog.event-dialog .mud-picker-input-text {
    color: #f0f4ff !important;
}

.mud-dialog.event-dialog .mud-icon-default {
    color: rgba(255, 148, 113, 0.7) !important;
}

/* MudSelect dropdown for dark dialogs */
.mud-popover-cascading-value .mud-list-item {
    color: #1a1a2e;
}

.mud-list {
    background-color :#0D2E3F ;
}

.mud-dialog.event-dialog .mud-typography {
    color: rgba(255, 255, 255, 0.8);
}

.mud-dialog.event-dialog .mud-typography strong {
    color: #ffb28f;
}

/* Event Edit Dialog Specific */
.event-edit-dialog .event-edit-form {
    padding: 0.5rem 0;
}

.event-edit-dialog .section-label {
    color: #ff9471 !important;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem !important;
    margin-bottom: -0.5rem;
    padding-left: 0.25rem;
}

/* Reward row layout */
.event-edit-dialog .reward-row {
    padding: 0 12px;
}

.event-edit-dialog .reward-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.event-edit-dialog .reward-field {
    flex: 0 0 auto;
    width: 200px;
}

.event-edit-dialog .salary-display {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 148, 113, 0.1);
    border: 1px solid rgba(255, 148, 113, 0.3);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
    height: 56px; /* Match input height */
    box-sizing: border-box;
}

.event-edit-dialog .salary-display strong {
    color: #ffb28f;
    font-family: 'Orbitron', sans-serif;
}

.event-edit-dialog .mud-input-control-input-container textarea {
    color: #f0f4ff !important;
}

/* Counter text in text fields */
.mud-dialog.event-dialog .mud-input-control .mud-input-helper-text {
    color: rgba(255, 255, 255, 0.5) !important;
}

.mud-dialog.event-dialog .mud-input-control .mud-character-counter {
    color: rgba(255, 148, 113, 0.7) !important;
}

/* Button styles in dialogs */
.mud-dialog.event-dialog .mud-button-text {
    color: rgba(255, 255, 255, 0.7) !important;
}

.mud-dialog.event-dialog .mud-button-text:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Participants Tab */
.participants-tab {
    padding: 0.5rem 0;
}

.helix-payment-panel {
    background: linear-gradient(135deg, rgba(255, 148, 113, 0.1) 0%, rgba(255, 148, 113, 0.05) 100%);
    border: 1px solid rgba(255, 148, 113, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.helix-payment-panel .payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.helix-payment-panel .helix-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: #ffb28f;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.helix-payment-panel .payment-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.helix-payment-panel .select-all-checkbox {
    color: rgba(255, 255, 255, 0.8);
}

.helix-payment-panel .pay-button {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.helix-payment-panel .payment-info {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Participants Full List */
.participants-full-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.participant-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.participant-row:hover {
    background: rgba(255, 255, 255, 0.06);
}

.participant-row.selected {
    background: rgba(255, 148, 113, 0.1);
    border-color: rgba(255, 148, 113, 0.3);
}

.participant-row.paid {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.participant-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 148, 113, 0.15);
    border: 2px solid rgba(255, 148, 113, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: #ffb28f;
    flex-shrink: 0;
}

.participant-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.participant-row .participant-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.participant-row .participant-name {
    font-size: 0.9rem;
    color: #f0f4ff;
}

.participant-row .organizer-chip {
    font-size: 0.65rem !important;
}

.participant-row .participant-status {
    flex-shrink: 0;
}

/* Edit Tab */
.edit-tab {
    padding: 1rem;
    text-align: center;
}

.edit-tab .edit-notice {
    color: rgba(255, 255, 255, 0.6);
}

/* Participant avatar more */
.participant-avatar.more {
    background: rgba(255, 148, 113, 0.3);
    border-color: rgba(255, 148, 113, 0.5);
    font-size: 0.75rem;
}

/* Event participants preview section */
.event-participants-preview h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
}

/* Responsive Events */
@media (max-width: 768px) {
    .events-page {
        padding: 1rem;
    }
    
    .events-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .events-header .header-content h1 {
        font-size: 1.8rem;
    }
    
    .events-filters {
        flex-direction: column;
    }
    
    .events-filters .filter-search,
    .events-filters .filter-select {
        flex: 1 1 100%;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   ADMIN PAGE STYLES
   ================================================ */

.admin-page {
    min-height: 100vh;
}

/* Admin Header */
.admin-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 148, 113, 0.2);
}

.admin-header .admin-icon {
    color: #ff9471;
}

.admin-header .admin-title {
    font-family: 'Orbitron', sans-serif;
    color: #f0f4ff;
    margin: 0;
    letter-spacing: 0.05em;
}

.admin-header .admin-subtitle {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* Admin Tabs */
.admin-tabs {
    background: transparent !important;
}

.admin-tabs .mud-tabs-toolbar {
    background: rgba(20, 30, 48, 0.95) !important;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 148, 113, 0.25);
    min-height: 52px;
    padding: 4px;
}

.admin-tabs .mud-tabs-toolbar-content {
    display: flex !important;
    justify-content: flex-start !important;
}

.admin-tabs .mud-tab {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 140px;
    opacity: 1 !important;
    background: transparent !important;
    border-radius: 6px;
    margin: 0 2px;
    transition: all 0.2s ease;
}

.admin-tabs .mud-tab .mud-tab-icon-text {
    color: rgba(255, 255, 255, 0.75) !important;
}

.admin-tabs .mud-tab:hover {
    color: rgba(255, 255, 255, 1) !important;
    background: rgba(255, 148, 113, 0.12) !important;
}

.admin-tabs .mud-tab.mud-tab-active {
    color: #ff9471 !important;
    background: rgba(255, 148, 113, 0.18) !important;
}

.admin-tabs .mud-tab.mud-tab-active .mud-tab-icon-text {
    color: #ff9471 !important;
}

.admin-tabs .mud-tab-slider {
    background: #ff9471 !important;
    height: 3px;
    border-radius: 3px;
}

.admin-tabs .mud-tabs-panels {
    background: transparent !important;
}

/* Tab Content */
.admin-tabs .tab-content {
    padding: 0.5rem 0;
}

/* Stats Cards */
.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(20, 30, 48, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(255, 148, 113, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card .stat-icon.membres {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.stat-card .stat-icon.events {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.stat-card .stat-icon.connections {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.stat-card .stat-icon.helix {
    background: linear-gradient(135deg, rgba(255, 148, 113, 0.2) 0%, rgba(255, 148, 113, 0.1) 100%);
    color: #ffb28f;
    border: 1px solid rgba(255, 148, 113, 0.3);
}

.stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.stat-card .stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #f0f4ff;
    line-height: 1.2;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.15rem;
}

.stat-card .stat-detail {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.35rem;
}

/* Stat Panel */
.stat-panel {
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(20, 30, 48, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.stat-panel .panel-title {
    font-family: 'Orbitron', sans-serif;
    color: #ff9471;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem !important;
    margin-bottom: 1rem;
}

/* Division Stats */
.division-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.division-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.division-row .division-name {
    width: 100px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.division-row .division-bar-container {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.division-row .division-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff9471, #ffb28f);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.division-row .division-count {
    width: 30px;
    text-align: right;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: #ffb28f;
}

/* Connections Chart */
.connections-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 150px;
    gap: 0.5rem;
    padding-top: 1rem;
}

.chart-bar-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.chart-bar {
    width: 100%;
    max-width: 40px;
    background: linear-gradient(180deg, #ff9471, rgba(255, 148, 113, 0.5));
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
    transition: height 0.5s ease;
    min-height: 20px;
}

.chart-bar .chart-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.chart-bar-container .chart-label {
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Filters Row */
.filters-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filters-row .search-field {
    flex: 1;
    min-width: 200px;
    max-width: 350px;
}

.filters-row .filter-select {
    min-width: 150px;
}

/* Admin inputs styling */
.admin-page .mud-input-outlined .mud-input-outlined-border {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.admin-page .mud-input-outlined:hover .mud-input-outlined-border {
    border-color: rgba(255, 148, 113, 0.4) !important;
}

.admin-page .mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: #ff9471 !important;
}

.admin-page .mud-input,
.admin-page .mud-input-slot {
    color: #f0f4ff !important;
}

.admin-page .mud-input-label {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Admin Table */
.admin-table {
    background: rgba(20, 30, 48, 0.5) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.admin-table .mud-table-head {
    background: rgba(255, 148, 113, 0.1) !important;
}

.admin-table .mud-table-head th {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ff9471 !important;
    border-bottom: 1px solid rgba(255, 148, 113, 0.2) !important;
    padding: 1rem;
}

.admin-table .mud-table-body tr {
    background: transparent !important;
    transition: background 0.2s ease;
}

.admin-table .mud-table-body tr:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

.admin-table .mud-table-body td {
    color: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
}

.admin-table .mud-table-pagination {
    background: rgba(20, 30, 48, 0.8) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Service Cards */
.service-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(20, 30, 48, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: rgba(255, 148, 113, 0.3);
}

.service-card .service-status-indicator {
    width: 4px;
    border-radius: 4px;
    flex-shrink: 0;
}

.service-card.online .service-status-indicator {
    background: linear-gradient(180deg, #34d399, #10b981);
}

.service-card.offline .service-status-indicator {
    background: linear-gradient(180deg, #f87171, #ef4444);
}

.service-card.maintenance .service-status-indicator {
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
}

.service-card .service-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card .service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-card .service-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: #f0f4ff;
}

.service-card .service-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.service-card .service-check {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
}

.service-card .service-error {
    font-size: 0.75rem;
    color: #f87171;
    margin-top: 0.5rem;
}

.service-card.degraded .service-status-indicator {
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
}

/* MudBlazor Charts Styling */
.chart-container {
    padding: 1rem 0;
}

.admin-page .mud-chart {
    margin: 0 auto;
}

.admin-page .mud-chart-line,
.admin-page .mud-chart-bar rect {
    fill: #7C4DFF;
}

/* Chart Legend Styles */
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.chart-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.8rem;
}

.chart-legend .legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.chart-legend .legend-label {
    color: rgba(255, 255, 255, 0.8);
}

.chart-legend .legend-value {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    color: #ff9471;
    margin-left: 0.25rem;
}

/* Vertical Legend for Pie/Event Types */
.chart-legend-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}

.legend-item-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.legend-item-large:hover {
    background: rgba(255, 255, 255, 0.06);
}

.legend-item-large .legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
}

.legend-item-large .legend-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.legend-item-large .legend-label {
    font-size: 0.9rem;
    color: #f0f4ff;
}

.legend-item-large .legend-percent {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.legend-item-large .legend-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff9471;
}

/* Text muted helper */
.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-tabs .mud-tab {
        min-width: 100px;
        font-size: 0.65rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-card .stat-icon {
        margin-bottom: 0.5rem;
    }
    
    .filters-row {
        flex-direction: column;
    }
    
    .filters-row .search-field,
    .filters-row .filter-select {
        width: 100%;
        max-width: none;
    }
    
    .connections-chart {
        height: 120px;
    }
    
    .division-row .division-name {
        width: 80px;
        font-size: 0.75rem;
    }
}

/* ================================================
   TACTICAL PLANNING PAGE STYLES
   ================================================ */

.tactical-page {
    min-height: 100vh;
    font-family: 'Rajdhani', sans-serif;
    background: radial-gradient(circle at top left, rgba(87, 138, 168, 0.25), transparent 45%), 
                radial-gradient(circle at bottom right, rgba(145, 116, 93, 0.25), transparent 40%);
}

/* Tactical Plan List */
.tactical-plan-list {
    padding: 2rem;
}

.tactical-plan-list .list-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tactical-plan-list .list-header .search-field {
    max-width: 300px;
}

.tactical-plan-list .list-filters {
    margin-bottom: 1.5rem;
}

.tactical-plan-list .loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: rgba(255, 255, 255, 0.7);
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.plan-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(12, 20, 30, 0.94), rgba(10, 16, 24, 0.88));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 148, 113, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.plan-card .plan-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.plan-card .plan-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plan-card .plan-thumbnail .no-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
}

.plan-card .plan-thumbnail .event-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.plan-card .plan-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.plan-card .plan-name {
    font-family: 'Orbitron', sans-serif;
    color: #f0f4ff;
    font-size: 1rem;
}

.plan-card .plan-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.plan-card .plan-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.plan-card .plan-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.plan-card .plan-actions {
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.plan-card:hover .plan-actions {
    opacity: 1;
}

/* Tactical Editor Layout - Full-Screen Design */
.tactical-editor-layout {
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: calc(100vh - 64px); /* Subtract navbar height */
    background: #080f18;
    color: #e0e6ef;
    overflow: hidden;
}

.tactical-editor-layout .editor-header {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    height: 48px;
    background: #0d1b2a;
    border-bottom: 1px solid #1e3348;
}

.tactical-editor-layout .editor-header .plan-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    padding: 0 16px;
    border-right: 1px solid #1a2d40;
    min-width: 120px;
}

.tactical-editor-layout .editor-content {
    display: grid;
    grid-template-columns: 280px 1fr 240px;
    overflow: hidden;
}

.tactical-editor-layout .editor-sidebar {
    background: #0d1b2a;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tactical-editor-layout .editor-sidebar.left-sidebar {
    border-right: 1px solid #1e3348;
}

/* Sidebar tabs for MudTabs in left sidebar */
.tactical-editor-layout .sidebar-tabs {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tactical-editor-layout .sidebar-tabs .mud-tabs-toolbar {
    background: transparent !important;
    min-height: 40px;
    flex-shrink: 0;
}

.tactical-editor-layout .sidebar-tabs .mud-tab {
    min-width: auto;
    padding: 8px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.7);
}

.tactical-editor-layout .sidebar-tabs .mud-tab.mud-tab-active {
    color: #5ab8e0;
}

.tactical-editor-layout .sidebar-tabs .mud-tab-slider {
    background: #5ab8e0;
}

.tactical-editor-layout .sidebar-tabs .mud-tabs-panels {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: transparent !important;
}

.tactical-editor-layout .editor-sidebar.right-sidebar {
    border-left: 1px solid #1e3348;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.tactical-editor-layout .editor-sidebar.right-sidebar.collapsed {
    width: 0;
    min-width: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    opacity: 0;
}

/* When right sidebar is collapsed, canvas takes full remaining width */
.tactical-editor-layout .editor-content:has(.right-sidebar.collapsed) {
    grid-template-columns: 280px 1fr 0;
}

/* Tactical popover styling (dark theme for assignment dialogs) */
.tactical-popover {
    z-index: 1300 !important;
}

.tactical-popover .mud-popover-paper,
.tactical-popover > .mud-paper {
    background: #0d1b2a !important;
    border: 1px solid #1e3348 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}

.assignment-popover {
    padding: 16px;
    min-width: 280px;
    background: #0d1b2a;
    color: #e0e0e0;
}

.assignment-popover .popover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #1e3348;
}

.assignment-popover .popover-header .mud-typography {
    color: #fff;
    font-weight: 500;
}

.assignment-popover .mud-input-control {
    margin-bottom: 12px;
}

.assignment-popover .mud-input,
.assignment-popover .mud-input-slot {
    color: #e0e0e0 !important;
}

.assignment-popover .mud-input-outlined .mud-input-outlined-border {
    border-color: #1e3348 !important;
}

.assignment-popover .mud-input-outlined:hover .mud-input-outlined-border {
    border-color: #5ab8e0 !important;
}

.assignment-popover .mud-input-label {
    color: rgba(255, 255, 255, 0.6) !important;
}

.assignment-popover .popover-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #1e3348;
}

.assignment-popover .role-option {
    display: flex;
    align-items: center;
}

/* MudSelect dropdown in dark theme */
.assignment-popover .mud-select .mud-input-slot {
    color: #e0e0e0 !important;
}

/* History toggle button */
.history-toggle-btn {
    position: absolute;
    right: 240px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 44px;
    background: #0d1b2a;
    border: 1px solid #1e3348;
    border-right: none;
    border-radius: 6px 0 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #7a92a8;
    transition: all 0.15s ease;
    z-index: 10;
}

.history-toggle-btn:hover {
    background: #1a2d40;
    color: #cdd8e3;
}

.history-toggle-btn.open {
    right: 240px;
}

.history-toggle-btn:not(.open) {
    right: 0;
}

.tactical-editor-layout .editor-content {
    position: relative;
}

.tactical-editor-layout .editor-canvas {
    position: relative;
    background: #0a1520;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Canvas grid background */
.tactical-editor-layout .editor-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: linear-gradient(#5ab8e0 1px, transparent 1px), 
                      linear-gradient(90deg, #5ab8e0 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.tactical-editor-layout .editor-statusbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 12px;
    background: #080f18;
    border-top: 1px solid #1a2d40;
    color: #3a5a7a;
    font-size: 10px;
}

.tactical-editor-layout .editor-statusbar span {
    color: #5a7a9a;
}

/* Tactical Map Editor Component */
.tactical-editor-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.tactical-toolbar {
    display: flex;
    align-items: center;
    gap: 0;
    height: 48px;
    background: #0d1b2a;
    border-bottom: 1px solid #1e3348;
    flex-shrink: 0;
}

/* Plan name in toolbar */
.tactical-toolbar .plan-name-display {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    padding: 0 16px;
    border-right: 1px solid #1a2d40;
    min-width: 100px;
}

.tactical-toolbar .plan-name-display .mud-icon-root {
    color: #5ab8e0;
    font-size: 16px;
}

/* Toolbar sections */
.tb-section, .toolbar-group {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 10px;
    border-right: 1px solid #1a2d40;
}

.tb-label, .toolbar-group-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #3a5a7a;
    margin-right: 4px;
    white-space: nowrap;
}

.toolbar-group-buttons {
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Tool buttons */
.tactical-toolbar .mud-icon-button {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #7a92a8;
    transition: all 0.15s ease;
}

.tactical-toolbar .mud-icon-button:hover {
    background: #1a2d40;
    color: #cdd8e3;
}

.tactical-toolbar .mud-icon-button.mud-icon-button-color-primary {
    background: #1a3a5a;
    color: #5ab8e0;
    border: 1px solid #2e5a7a;
}

/* Color swatches in toolbar */
.toolbar-color-swatches {
    display: flex;
    gap: 3px;
    align-items: center;
}

.toolbar-color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.toolbar-color-swatch:hover {
    transform: scale(1.1);
}

.toolbar-color-swatch.active {
    border-color: #fff;
}

/* Save buttons */
.toolbar-save-buttons {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
}

.save-btn-drive {
    background: #1a3a1a !important;
    color: #3dd68c !important;
}

.save-btn-discord {
    background: #1a1a3a !important;
    color: #7289da !important;
}

.tactical-toolbar .zoom-text {
    min-width: 50px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    color: #7a92a8;
}

/* Canvas wrapper - takes full available space */
.tactical-canvas-wrapper {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0a1520;
}

/* Grid background overlay */
.tactical-canvas-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: linear-gradient(#5ab8e0 1px, transparent 1px), 
                      linear-gradient(90deg, #5ab8e0 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* Dot pattern overlay */
.tactical-canvas-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle, #5ab8e0 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
}

.tactical-canvas-wrapper canvas {
    position: relative;
    z-index: 2;
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Color Palette */
.color-palette {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.selected {
    border-color: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.brush-sizes {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Tactical Member Panel */
.tactical-member-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tactical-member-panel .member-section {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tactical-member-panel .section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 148, 113, 0.9);
    margin-bottom: 0.75rem;
}

.tactical-member-panel .member-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 250px;
    overflow-y: auto;
}

.tactical-member-panel .member-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tactical-member-panel .member-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.tactical-member-panel .member-item.assigned {
    background: rgba(255, 148, 113, 0.1);
    border: 1px solid rgba(255, 148, 113, 0.2);
}

.tactical-member-panel .member-avatar {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.tactical-member-panel .member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tactical-member-panel .member-name {
    color: #f0f4ff;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tactical-member-panel .member-division,
.tactical-member-panel .member-group {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Groups Section */
.tactical-member-panel .groups-section {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tactical-member-panel .group-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
}

.tactical-member-panel .group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
}

.tactical-member-panel .group-name {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tactical-member-panel .group-count {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.tactical-member-panel .group-members {
    padding: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 50px;
}

.tactical-member-panel .group-member-chip {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #f0f4ff;
}

.tactical-member-panel .empty-group {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
}

.tactical-member-panel .group-actions {
    display: flex;
    justify-content: flex-end;
    padding: 0.25rem 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Member Details - Ship & Role */
.tactical-member-panel .member-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tactical-member-panel .member-role-chip {
    font-size: 0.6rem !important;
    height: 18px !important;
    padding: 0 6px !important;
}

.tactical-member-panel .member-ship {
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    color: rgba(90, 184, 224, 0.9);
    margin-top: 2px;
}

.tactical-member-panel .member-ship .mud-icon-root {
    font-size: 0.8rem !important;
}

/* Crews Section */
.tactical-member-panel .crews-section {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
}

.tactical-member-panel .ship-crew-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(90, 184, 224, 0.2);
    overflow: hidden;
}

.tactical-member-panel .ship-crew-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(90, 184, 224, 0.15);
    color: #5AB8E0;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
}

.tactical-member-panel .ship-crew-header .ship-name {
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tactical-member-panel .ship-crew-header .crew-count {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.tactical-member-panel .ship-crew-members {
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tactical-member-panel .crew-member-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    font-size: 0.8rem;
}

.tactical-member-panel .crew-member-role {
    color: rgba(255, 255, 255, 0.6);
    min-width: 70px;
}

.tactical-member-panel .crew-member-name {
    color: #f0f4ff;
    flex: 1;
}

.tactical-member-panel .empty-crews {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    gap: 0.5rem;
}

.tactical-member-panel .unassigned-members-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Assignment Popovers */
.tactical-popover {
    z-index: 2000;
}

.tactical-popover .mud-popover-paper {
    background: linear-gradient(135deg, rgba(10, 16, 24, 0.98) 0%, rgba(18, 28, 42, 0.98) 100%) !important;
    border: 1px solid rgba(255, 148, 113, 0.3) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}

.assignment-popover {
    padding: 1rem;
    min-width: 280px;
}

.assignment-popover .popover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 148, 113, 0.2);
}

.assignment-popover .popover-header .mud-typography {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: #f0f4ff;
}

.assignment-popover .popover-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

.assignment-popover .role-option {
    display: flex;
    align-items: center;
}

/* Tactical History Panel */
.tactical-history-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tactical-history-panel .history-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tactical-history-panel .empty-history {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}

.tactical-history-panel .history-list {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

.tactical-history-panel .history-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tactical-history-panel .history-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tactical-history-panel .history-item.current {
    background: rgba(255, 148, 113, 0.1);
    border: 1px solid rgba(255, 148, 113, 0.2);
}

.tactical-history-panel .history-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255, 148, 113, 0.8);
}

.tactical-history-panel .history-content {
    flex: 1;
    min-width: 0;
}

.tactical-history-panel .history-description {
    color: #f0f4ff;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.25rem;
}

.tactical-history-panel .history-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.tactical-history-panel .current-chip {
    font-size: 0.65rem !important;
}

/* Background Preview in Edit Dialog */
.background-preview {
    width: 100%;
    max-height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.background-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== TACTICAL PHASES PANEL ===== */
.tactical-phases-panel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
}

.tactical-phases-panel .phases-tabs {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    padding: 0.25rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.tactical-phases-panel .phase-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    border-bottom: 2px solid var(--phase-color, #5AB8E0);
}

.tactical-phases-panel .phase-tab:hover {
    background: rgba(255, 255, 255, 0.08);
}

.tactical-phases-panel .phase-tab.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--phase-color, #5AB8E0);
    border-bottom-width: 3px;
}

.tactical-phases-panel .phase-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.tactical-phases-panel .phase-tab.active .phase-name {
    color: #f0f4ff;
}

.tactical-phases-panel .phase-marker-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 0.35rem;
    background: var(--phase-color, #5AB8E0);
    border-radius: 9px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #000;
}

.tactical-phases-panel .add-phase-btn {
    color: rgba(255, 148, 113, 0.8) !important;
}

.tactical-phases-panel .add-phase-btn:hover {
    background: rgba(255, 148, 113, 0.15) !important;
    color: #ff9471 !important;
}

/* Phase Details Section */
.tactical-phases-panel .phase-details {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid var(--phase-color, #5AB8E0);
}

.tactical-phases-panel .phase-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.tactical-phases-panel .phase-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tactical-phases-panel .phase-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: #f0f4ff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tactical-phases-panel .phase-duration {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.tactical-phases-panel .phase-duration .mud-icon-root {
    font-size: 0.9rem !important;
}

.tactical-phases-panel .phase-actions {
    display: flex;
    gap: 0.25rem;
}

.tactical-phases-panel .phase-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Phase Edit Dialog */
.phase-edit-form {
    padding: 0.5rem 0;
}

.phase-color-options,
.layer-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.phase-color-option,
.layer-color-option {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s ease;
}

.phase-color-option:hover,
.layer-color-option:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.phase-color-option.selected,
.layer-color-option.selected {
    border-color: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* ===== TACTICAL LAYERS PANEL ===== */
.tactical-layers-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.75rem;
}

.tactical-layers-panel .layers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 148, 113, 0.15);
}

.tactical-layers-panel .section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 148, 113, 0.9);
}

.tactical-layers-panel .layers-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    overflow-y: auto;
}

.tactical-layers-panel .layer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.tactical-layers-panel .layer-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.tactical-layers-panel .layer-item.active {
    background: rgba(255, 148, 113, 0.1);
    border-color: rgba(255, 148, 113, 0.3);
}

.tactical-layers-panel .layer-item.hidden {
    opacity: 0.5;
}

.tactical-layers-panel .layer-item.locked .layer-name {
    color: rgba(255, 255, 255, 0.5);
}

.tactical-layers-panel .layer-visibility {
    flex-shrink: 0;
}

.tactical-layers-panel .layer-visibility .mud-icon-button-root {
    padding: 4px !important;
}

.tactical-layers-panel .layer-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.tactical-layers-panel .layer-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tactical-layers-panel .layer-name {
    font-size: 0.8rem;
    color: #f0f4ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tactical-layers-panel .layer-count {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
}

.tactical-layers-panel .layer-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.tactical-layers-panel .layer-actions .mud-icon-root {
    font-size: 1rem !important;
}

/* Layer Opacity Control */
.tactical-layers-panel .layer-opacity-control {
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.tactical-layers-panel .opacity-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.tactical-layers-panel .mud-slider {
    padding: 0 !important;
}

/* Layer Edit Dialog */
.layer-edit-form {
    padding: 0.5rem 0;
}

.color-picker-section {
    margin-top: 0.5rem;
}

/* ===== TACTICAL ASSETS PANEL ===== */
.tactical-assets-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.5rem;
}

.tactical-assets-panel .assets-search {
    margin-bottom: 0.5rem;
}

.tactical-assets-panel .assets-search .mud-input-control {
    margin-bottom: 0 !important;
}

.tactical-assets-panel .assets-tabs {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tactical-assets-panel .assets-tabs .mud-tabs-toolbar {
    background: transparent !important;
    min-height: 36px;
}

.tactical-assets-panel .assets-tabs .mud-tab {
    min-width: auto;
    padding: 6px 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.7);
}

.tactical-assets-panel .assets-tabs .mud-tab.mud-tab-active {
    color: #ff9471;
}

.tactical-assets-panel .assets-tabs .mud-tab-slider {
    background: #ff9471;
}

.tactical-assets-panel .assets-tabs .mud-tabs-panels {
    flex: 1;
    overflow-y: auto;
    background: transparent !important;
    padding: 0.5rem 0;
}

/* Assets Category */
.tactical-assets-panel .assets-category {
    margin-bottom: 1rem;
}

.tactical-assets-panel .category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 148, 113, 0.9);
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.tactical-assets-panel .assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0.5rem;
}

.tactical-assets-panel .icons-grid {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
}

/* Asset Item */
.tactical-assets-panel .asset-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tactical-assets-panel .asset-item:hover {
    background: rgba(255, 148, 113, 0.1);
    border-color: rgba(255, 148, 113, 0.3);
    transform: translateY(-2px);
}

.tactical-assets-panel .asset-item:active {
    transform: translateY(0);
}

.tactical-assets-panel .asset-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.tactical-assets-panel .asset-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Ships Filter */
.tactical-assets-panel .ships-filter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tactical-assets-panel .ships-filter .mud-select {
    flex: 1;
}

/* Ships List */
.tactical-assets-panel .ships-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    overflow-y: auto;
}

.tactical-assets-panel .ship-asset-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tactical-assets-panel .ship-asset-item:hover {
    background: rgba(255, 148, 113, 0.1);
    border-color: rgba(255, 148, 113, 0.3);
}

.tactical-assets-panel .ship-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 148, 113, 0.15);
    border-radius: 4px;
    color: #ff9471;
    flex-shrink: 0;
}

.tactical-assets-panel .ship-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tactical-assets-panel .ship-name {
    font-size: 0.8rem;
    color: #f0f4ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tactical-assets-panel .ship-manufacturer {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
}

.tactical-assets-panel .ship-asset-item .mud-chip {
    font-size: 0.6rem !important;
    height: 18px !important;
}

.tactical-assets-panel .empty-ships {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Icons Categories - Expansion Panels */
.tactical-assets-panel .icons-categories .mud-expand-panel {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.tactical-assets-panel .icons-categories .mud-expand-panel-header {
    padding: 0.5rem;
    min-height: 36px !important;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    margin-bottom: 0.25rem;
}

.tactical-assets-panel .icons-categories .mud-expand-panel-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
}

.tactical-assets-panel .icons-categories .mud-expand-panel-content {
    padding: 0.5rem 0 !important;
}

.tactical-assets-panel .icon-item .asset-icon {
    color: rgba(255, 255, 255, 0.7);
}

.tactical-assets-panel .icon-item:hover .asset-icon {
    color: #ff9471;
}

/* ===== TACTICAL PROPERTIES PANEL ===== */
.tactical-properties-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.75rem;
}

.tactical-properties-panel .no-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.tactical-properties-panel .no-selection .mud-icon-root {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 148, 113, 0.4);
}

.tactical-properties-panel .no-selection .hint {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.tactical-properties-panel .properties-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
}

/* Properties Header */
.tactical-properties-panel .properties-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: rgba(255, 148, 113, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(255, 148, 113, 0.2);
}

.tactical-properties-panel .element-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ff9471;
}

.tactical-properties-panel .element-actions {
    display: flex;
    gap: 0.25rem;
}

/* Property Section */
.tactical-properties-panel .property-section {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
}

.tactical-properties-panel .property-section .section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 148, 113, 0.9);
    margin-bottom: 0.5rem;
}

.tactical-properties-panel .position-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.tactical-properties-panel .position-fields .mud-input-control {
    margin-bottom: 0 !important;
}

.tactical-properties-panel .rotation-field {
    margin-top: 0.5rem;
}

.tactical-properties-panel .rotation-field .mud-typography {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

/* Color Options */
.tactical-properties-panel .color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tactical-properties-panel .property-color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s ease;
}

.tactical-properties-panel .property-color-swatch:hover {
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.tactical-properties-panel .property-color-swatch.selected {
    border-color: #fff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Phase/Layer Options in Selects */
.tactical-properties-panel .phase-option,
.tactical-properties-panel .layer-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tactical-properties-panel .phase-indicator,
.tactical-properties-panel .layer-indicator {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Assigned Member/Group */
.tactical-properties-panel .assigned-member,
.tactical-properties-panel .assigned-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.8rem;
    color: #f0f4ff;
    margin-bottom: 0.25rem;
}

.tactical-properties-panel .assigned-member .mud-icon-root,
.tactical-properties-panel .assigned-group .mud-icon-root {
    color: rgba(255, 148, 113, 0.7);
    font-size: 1rem !important;
}

.tactical-properties-panel .assigned-member span,
.tactical-properties-panel .assigned-group span {
    flex: 1;
}

/* Z-Order Controls */
.tactical-properties-panel .zorder-controls {
    display: flex;
    gap: 0.5rem;
}

.tactical-properties-panel .zorder-controls .mud-button-root {
    flex: 1;
    font-size: 0.7rem;
}

/* ===== TACTICAL MAP EDITOR - MOCKUP ELEMENTS ===== */

/* Plan Name Display in Toolbar */
.plan-name-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 148, 113, 0.1);
    border: 1px solid rgba(255, 148, 113, 0.2);
    border-radius: 6px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: #f0f4ff;
    letter-spacing: 0.05em;
}

.plan-name-display .mud-icon-root {
    color: rgba(255, 148, 113, 0.8);
    font-size: 1rem !important;
}

/* Toolbar Color Swatches */
.toolbar-color-swatches {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.toolbar-color-swatch {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s ease;
}

.toolbar-color-swatch:hover {
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.toolbar-color-swatch.active {
    border-color: #fff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Toolbar Save Buttons */
.toolbar-save-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toolbar-save-buttons .mud-button-root {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.save-btn-drive {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.9), rgba(52, 108, 199, 0.9)) !important;
}

.save-btn-drive:hover {
    background: linear-gradient(135deg, rgba(66, 133, 244, 1), rgba(52, 108, 199, 1)) !important;
}

.save-btn-discord {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.9), rgba(71, 82, 196, 0.9)) !important;
}

.save-btn-discord:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 1), rgba(71, 82, 196, 1)) !important;
}

/* Canvas Area with Overlays */
.tactical-canvas-area {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #0a1520;
    min-height: 0; /* Important for flex child to shrink */
}

/* Phase Pills Bar - Overlay on Canvas */
.canvas-phase-bar {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 100;
}

.phase-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid #1e3348;
    background: #0d1b2a;
    color: #5a7a9a;
    transition: all 0.15s ease;
    font-family: 'Rajdhani', sans-serif;
    white-space: nowrap;
}

.phase-pill:hover {
    background: #1a2d40;
    color: #cdd8e3;
}

.phase-pill.active {
    background: #1a2d40;
    color: #5ab8e0;
    border-color: #2e5a7a;
}

.phase-pill.add-phase {
    color: #5a7a9a;
    border-style: dashed;
}

.phase-pill.add-phase:hover {
    color: #7a92a8;
    background: #111f2f;
}

/* Zoom Controls - Overlay on Canvas */
.canvas-zoom-controls {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 100;
}

.zoom-ctrl-btn {
    background: #0d1b2a;
    border: 1px solid #1e3348;
    color: #7a92a8;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.zoom-ctrl-btn:hover {
    background: #1a2d40;
    color: #cdd8e3;
}

.zoom-ctrl-btn.zoom-center {
    padding: 5px 12px;
}

.zoom-level {
    min-width: 50px;
    text-align: center;
    font-size: 11px;
    color: #7a92a8;
    background: #0d1b2a;
    border: 1px solid #1e3348;
    padding: 5px 10px;
    border-radius: 6px;
}

/* MiniMap - Overlay on Canvas (bottom right) */
.canvas-minimap {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 150px;
    height: 100px;
    background: rgba(12, 20, 30, 0.9);
    border: 1px solid rgba(255, 148, 113, 0.25);
    border-radius: 6px;
    overflow: hidden;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.minimap-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive Tactical */
@media (max-width: 1024px) {
    .tactical-editor-layout .editor-sidebar {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .tactical-editor-layout .editor-content {
        flex-direction: column;
    }
    
    .tactical-editor-layout .editor-sidebar {
        width: 100%;
        height: auto;
        max-height: 200px;
    }
    
    .tactical-editor-layout .editor-sidebar.left-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(255, 148, 113, 0.15);
    }
    
    .tactical-editor-layout .editor-sidebar.right-sidebar {
        border-left: none;
        border-top: 1px solid rgba(255, 148, 113, 0.15);
    }
    
    .tactical-toolbar {
        flex-wrap: wrap;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== GOOGLE DRIVE ADMIN ===== */
.google-drive-admin .status-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.google-drive-admin .status-card.connected {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.google-drive-admin .status-card.disconnected {
    border-color: rgba(244, 67, 54, 0.3);
    background: rgba(244, 67, 54, 0.05);
}

.google-drive-admin .status-icon {
    font-size: 2rem;
}

.google-drive-admin .status-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.google-drive-admin .quota-card {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.google-drive-admin .file-table {
    background: transparent;
}

.google-drive-admin .file-table .mud-table-row:hover {
    background: rgba(255, 148, 113, 0.05);
}

.google-drive-admin .org-folder-card {
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.google-drive-admin .org-folder-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 148, 113, 0.3);
    background: rgba(255, 148, 113, 0.05);
}

/* ================================================
   RECRUITMENT PAGE STYLES
   ================================================ */

.recrutement-page {
    min-height: 100vh;
}

/* Recruitment Dialog - extends event-dialog */
.mud-dialog.recruitment-dialog {
    min-width: 600px;
    max-width: 800px;
}

.recruitment-dialog .recruitment-content {
    padding: 0.5rem 0;
}

/* Info Cards in Dialog Header */
.recruitment-dialog .info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.recruitment-dialog .info-card:hover {
    border-color: rgba(255, 148, 113, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.recruitment-dialog .info-card .info-icon {
    color: #ff9471;
    font-size: 1.5rem;
}

.recruitment-dialog .info-card .info-content {
    display: flex;
    flex-direction: column;
}

.recruitment-dialog .info-card .info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.recruitment-dialog .info-card .info-value {
    font-size: 0.95rem;
    color: #f0f4ff;
    font-weight: 500;
}

/* Section Title */
.recruitment-dialog .section-title {
    font-family: 'Orbitron', sans-serif;
    color: #ff9471 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem !important;
    display: flex;
    align-items: center;
}

/* Questionnaire Answers */
.recruitment-dialog .questionnaire-answers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recruitment-dialog .answer-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.recruitment-dialog .answer-question {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 148, 113, 0.08);
    border-bottom: 1px solid rgba(255, 148, 113, 0.15);
    font-size: 0.85rem;
    color: #ffb28f;
    font-weight: 500;
}

.recruitment-dialog .answer-value {
    padding: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.recruitment-dialog .answer-value .no-answer {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* Responsive Recruitment Dialog */
@media (max-width: 768px) {
    .mud-dialog.recruitment-dialog {
        min-width: auto;
        max-width: 95vw;
    }
    
    .recruitment-dialog .info-card {
        padding: 0.75rem;
    }
    
    .recruitment-dialog .info-card .info-icon {
        font-size: 1.25rem;
    }
}

/* ================================================
   CRAFT PAGE STYLES
   ================================================ */

.craft-page {
    min-height: 100vh;
    padding: 2rem;
    background: radial-gradient(circle at top left, rgba(87, 138, 168, 0.25), transparent 45%), radial-gradient(circle at bottom right, rgba(145, 116, 93, 0.25), transparent 40%);
    font-family: 'Rajdhani', sans-serif;
}

.craft-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.craft-header .header-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f0f4ff;
    margin-bottom: 0.25rem;
}

.craft-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

.create-plan-btn {
    background: linear-gradient(135deg, rgba(255, 148, 113, 0.9), rgba(255, 100, 60, 0.9)) !important;
}

/* Craft Filters */
.craft-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: rgba(12, 20, 30, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    align-items: flex-end;
}

.craft-filters .filter-search {
    flex: 1 1 250px;
    min-width: 180px;
}

.craft-filters .filter-select {
    flex: 0 1 150px;
    min-width: 120px;
}

.craft-filters .filter-checkbox {
    flex: 0 0 auto;
}

/* Craft Filters Input Styles */
.craft-filters .mud-input-control .mud-input-slot,
.craft-filters .mud-input-control input,
.craft-filters .mud-input-control .mud-input {
    color: #f0f4ff !important;
}

.craft-filters .mud-input-control .mud-input-adornment svg {
    color: rgba(255, 148, 113, 0.8) !important;
}

.craft-filters .mud-input-control input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

.craft-filters .mud-input-control .mud-input-underline:before {
    border-bottom-color: rgba(255, 255, 255, 0.3) !important;
}

.craft-filters .mud-input-control .mud-input-underline:after {
    border-bottom-color: rgba(255, 148, 113, 0.8) !important;
}

.craft-filters .mud-input-control .mud-input-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.craft-filters .mud-select .mud-select-input {
    color: #f0f4ff !important;
}

/* Craft Actions */
.craft-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

/* Compteur */
.craft-count {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

/* Loading */
.craft-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.craft-empty {
    max-width: 600px;
    margin: 0 auto;
}

/* Craft Grid */
.craft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* ================================================
   CRAFT CARD STYLES
   ================================================ */

.craft-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: linear-gradient(145deg, rgba(12, 20, 30, 0.94), rgba(10, 16, 24, 0.88));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 200px;
}

.craft-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 148, 113, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.craft-card.status-owned {
    border-left: 3px solid #4ade80;
}

.craft-card.status-available {
    border-left: 3px solid #60a5fa;
}

.craft-card.status-unavailable {
    border-left: 3px solid #6b7280;
    opacity: 0.7;
}

.craft-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
}

.craft-category {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 148, 113, 0.9);
    font-weight: 600;
}

.craft-date {
    color: rgba(255, 255, 255, 0.5);
}

.craft-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    color: #f0f4ff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.craft-subcategory {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.craft-card .craft-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.craft-resources {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.craft-resources svg {
    color: rgba(255, 148, 113, 0.7);
}

.craft-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.craft-crafteurs {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.craft-crafteurs svg {
    color: rgba(255, 255, 255, 0.5);
}

.craft-quality {
    display: flex;
    gap: 0.1rem;
}

.craft-quality .star {
    color: #ffb28f;
    font-size: 0.9rem;
}

.craft-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.craft-status-badge.status-owned {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.craft-status-badge.status-available {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

.craft-status-badge.status-unavailable {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.craft-pending-orders {
    position: absolute;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* ================================================
   CRAFT DIALOG STYLES
   ================================================ */

.mud-dialog.craft-dialog {
    background: linear-gradient(135deg, rgba(10, 16, 24, 0.98) 0%, rgba(18, 28, 42, 0.98) 100%);
    border: 1px solid rgba(255, 148, 113, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mud-dialog.craft-dialog .mud-dialog-title {
    background: transparent;
    border-bottom: 1px solid rgba(255, 148, 113, 0.15);
}

.mud-dialog.craft-dialog .mud-dialog-content {
    background: transparent;
}

.mud-dialog.craft-dialog .mud-dialog-actions {
    background: transparent;
    border-top: 1px solid rgba(255, 148, 113, 0.15);
}

.craft-dialog-title {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: #f0f4ff;
}

.craft-details {
    color: #dbe7f5;
}

.craft-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.craft-description-full {
    margin-bottom: 1.5rem;
}

.craft-description-full h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.5rem;
}

.craft-description-full p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    white-space: pre-line;
}

/* Craft Dialog Tabs */
.craft-tabs {
    background: transparent !important;
}

.craft-tabs .mud-tabs-toolbar {
    background: rgba(20, 30, 48, 0.95) !important;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 148, 113, 0.3);
    min-height: 48px;
}

.craft-tabs .mud-tabs-toolbar-content {
    display: flex !important;
    justify-content: flex-start !important;
}

.craft-tabs .mud-tab {
    color: black !important;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 120px;
    opacity: 1 !important;
    background: transparent !important;
}

.craft-tabs .mud-tab .mud-tab-icon-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.craft-tabs .mud-tab:hover {
    color: rgba(255, 255, 255, 1) !important;
    background: rgba(255, 148, 113, 0.15) !important;
}

.craft-tabs .mud-tab.mud-tab-active {
    color: #ff9471 !important;
    background: rgba(255, 148, 113, 0.2) !important;
}

.craft-tabs .mud-tab.mud-tab-active .mud-tab-icon-text {
    color: #ff9471 !important;
}

.craft-tabs .mud-tab-slider {
    background: #ff9471 !important;
}

.craft-tabs .mud-tabs-panels {
    background: transparent !important;
}

.craft-tabs .tab-content {
    padding: 1rem 0;
}

/* Resources List in Details */
.resources-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.resource-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.resource-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.resource-details {
    display: flex;
    flex-direction: column;
}

.resource-name {
    color: #f0f4ff;
    font-size: 0.9rem;
}

.resource-category {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.resource-quantity {
    font-family: 'Orbitron', sans-serif;
    color: #ffb28f;
    font-weight: 600;
}

/* Crafteurs List in Details */
.crafteurs-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.crafteur-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.crafteur-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 148, 113, 0.15);
    border: 2px solid rgba(255, 148, 113, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #ffb28f;
}

.crafteur-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.crafteur-name {
    color: #f0f4ff;
    font-size: 0.9rem;
}

.crafteur-quality {
    color: #ffb28f;
    font-size: 0.8rem;
}

.crafteur-since {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

/* Commandes List in Details */
.commandes-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.commande-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.commande-info {
    display: flex;
    flex-direction: column;
}

.commande-demandeur {
    color: #f0f4ff;
    font-size: 0.9rem;
}

.commande-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.commande-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.commande-quality {
    color: #ffb28f;
    font-size: 0.8rem;
}

.commande-quantity {
    font-family: 'Orbitron', sans-serif;
    color: #60a5fa;
    font-weight: 600;
}

/* Empty tab state */
.empty-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

/* ================================================
   CRAFT EDIT DIALOG STYLES
   ================================================ */

.craft-edit-dialog .craft-edit-form {
    padding: 0.5rem 0;
}

.craft-edit-dialog .section-label {
    color: #ff9471 !important;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem !important;
    margin-bottom: -0.5rem;
    padding-left: 0.25rem;
}

/* Resources edit list */
.resources-edit-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.resource-edit-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.resource-edit-name {
    flex: 1;
    color: #f0f4ff;
    font-size: 0.9rem;
}

.resource-quantity-field {
    width: 80px !important;
}

/* Add resource row */
.add-resource-row {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.add-resource-row .resource-select {
    flex: 1;
    min-width: 200px;
}

.add-resource-row .quantity-field {
    width: 80px;
}

/* ================================================
   CRAFT ADMIN DIALOG STYLES
   ================================================ */

.craft-admin-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.admin-toolbar .filter-search {
    flex: 1 1 200px;
    min-width: 150px;
}

.admin-toolbar .filter-select {
    flex: 0 1 150px;
    min-width: 120px;
}

.admin-count {
    padding-left: 0.25rem;
}

/* Resources admin list */
.resources-admin-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.resource-admin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.resource-admin-row:hover {
    background: rgba(255, 255, 255, 0.06);
}

.resource-admin-row.inactive {
    opacity: 0.5;
}

.resource-admin-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.resource-admin-details {
    display: flex;
    flex-direction: column;
}

.resource-admin-name {
    color: #f0f4ff;
    font-size: 0.9rem;
    font-weight: 500;
}

.resource-admin-category {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.resource-admin-quality {
    color: #ffb28f;
    font-size: 0.85rem;
    min-width: 80px;
}

.resource-admin-actions {
    display: flex;
    gap: 0.25rem;
}

.empty-list {
    padding: 2rem;
    text-align: center;
}

/* Edit form panel */
.edit-form-panel {
    background: rgba(255, 148, 113, 0.05);
    border: 1px solid rgba(255, 148, 113, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.edit-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 148, 113, 0.15);
}

/* Dialog form inputs */
.mud-dialog.craft-dialog .mud-input-control {
    margin-bottom: 0.5rem;
}

.mud-dialog.craft-dialog .mud-input,
.mud-dialog.craft-dialog .mud-input-slot {
    color: #f0f4ff !important;
}

.mud-dialog.craft-dialog .mud-input-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.mud-dialog.craft-dialog .mud-input-label.mud-input-label-animated {
    color: rgba(255, 148, 113, 0.9) !important;
}

.mud-dialog.craft-dialog .mud-input-outlined .mud-input-outlined-border {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.mud-dialog.craft-dialog .mud-input-outlined:hover .mud-input-outlined-border {
    border-color: rgba(255, 148, 113, 0.5) !important;
}

.mud-dialog.craft-dialog .mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: #ff9471 !important;
}

.mud-dialog.craft-dialog .mud-select .mud-input-slot {
    color: #f0f4ff !important;
}

.mud-dialog.craft-dialog .mud-input-helper-text {
    color: rgba(255, 255, 255, 0.5) !important;
}

.mud-dialog.craft-dialog .mud-icon-default {
    color: rgba(255, 148, 113, 0.7) !important;
}

.mud-dialog.craft-dialog .mud-typography {
    color: rgba(255, 255, 255, 0.8);
}

.mud-dialog.craft-dialog .mud-button-text {
    color: rgba(255, 255, 255, 0.7) !important;
}

.mud-dialog.craft-dialog .mud-button-text:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* ================================================
   PLAN EDIT DIALOG - Resources Management
   ================================================ */

/* Resources list in edit dialog */
.plan-resources-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.plan-resource-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.plan-resource-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 148, 113, 0.2);
}

.plan-resource-item .resource-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.plan-resource-item .resource-name {
    font-weight: 500;
    color: #f0f4ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plan-resource-item .resource-category-chip {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.7rem !important;
    height: 20px !important;
}

.plan-resource-item .new-chip {
    background: rgba(33, 150, 243, 0.2) !important;
    color: #64b5f6 !important;
    font-size: 0.7rem !important;
    height: 20px !important;
}

.plan-resource-item .resource-quantity {
    flex-shrink: 0;
}

.plan-resource-item .resource-quantity .mud-input-control {
    margin-bottom: 0 !important;
}

/* Add resource section */
.add-resource-section {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.add-resource-section .resource-autocomplete {
    flex: 1;
    min-width: 200px;
}

/* Resource option in autocomplete dropdown */
.resource-option {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.resource-option .resource-option-category {
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* New resource form panel */
.new-resource-form {
    background: rgba(33, 150, 243, 0.08);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 8px;
}

.new-resource-form .mud-typography {
    color: #64b5f6;
}

/* Section labels (like EventEditDialog) */
.section-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 148, 113, 0.9);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 148, 113, 0.3), transparent);
}

/* Responsive Craft */
@media (max-width: 768px) {
    .craft-page {
        padding: 1rem;
    }
    
    .craft-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .craft-header .header-content h1 {
        font-size: 1.8rem;
    }
    
    .craft-filters {
        flex-direction: column;
    }
    
    .craft-filters .filter-search,
    .craft-filters .filter-select {
        flex: 1 1 100%;
    }
    
    .craft-grid {
        grid-template-columns: 1fr;
    }
    
    .craft-info-grid {
        grid-template-columns: 1fr;
    }
    
    .add-resource-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .add-resource-row .resource-select,
    .add-resource-row .quantity-field {
        width: 100%;
    }
    
    .add-resource-section {
        flex-direction: column;
    }
    
    .add-resource-section .resource-autocomplete {
        width: 100%;
    }
    
    .plan-resource-item {
        flex-wrap: wrap;
    }
    
    .plan-resource-item .resource-info {
        flex: 1 1 100%;
        margin-bottom: 0.5rem;
    }
}

/* ==================== FLEET MANAGER ==================== */

.fleet-page {
    min-height: 100vh;
    padding: 2rem;
    font-family: 'Rajdhani', sans-serif;
}

.fleet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.fleet-header .header-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f0f4ff;
    margin: 0;
}

.fleet-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.fleet-header .header-actions {
    display: flex;
    gap: 0.5rem;
}

.fleet-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(145deg, rgba(20, 35, 50, 0.9), rgba(15, 25, 35, 0.95));
    border-radius: 12px;
    border: 1px solid rgba(255, 148, 113, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(255, 148, 113, 0.4);
    transform: translateY(-2px);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #f0f4ff;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fleet-tabs {
    background: transparent;
}

.fleet-tabs .mud-tabs-toolbar {
    background: rgba(20, 35, 50, 0.5);
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid rgba(255, 148, 113, 0.2);
}

.fleet-tabs .mud-tab {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.fleet-tabs .mud-tab:hover {
    color: rgba(255, 148, 113, 0.9);
}

.fleet-tabs .mud-tab.mud-tab-active {
    color: #FF9471;
}

.fleet-tabs .mud-tab-slider {
    background: #FF9471;
}

.fleet-tabs .mud-tabs-panels {
    background: transparent;
    padding: 1.5rem 0;
}

.fleet-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: rgba(20, 35, 50, 0.5);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.fleet-filters .filter-search {
    flex: 1 1 300px;
    min-width: 200px;
}

.fleet-filters .filter-select {
    flex: 0 1 180px;
    min-width: 150px;
}

.fleet-filters .mud-input-control .mud-input-slot,
.fleet-filters .mud-input-control input,
.fleet-filters .mud-input-control .mud-input {
    color: rgba(255, 255, 255, 0.9);
}

.fleet-count {
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.fleet-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.fleet-empty {
    margin: 2rem 0;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.fleet-card {
    background: linear-gradient(145deg, rgba(20, 35, 50, 0.9), rgba(15, 25, 35, 0.95));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fleet-card:hover {
    border-color: rgba(255, 148, 113, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.fleet-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.fleet-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fleet-card:hover .fleet-card-image img {
    transform: scale(1.05);
}

.fleet-card-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 148, 113, 0.1);
    color: rgba(255, 148, 113, 0.5);
}

.fleet-card-image .owner-count {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
    font-size: 0.85rem;
    color: #f0f4ff;
}

.fleet-card-content {
    padding: 1rem;
}

.fleet-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.fleet-card-header .manufacturer {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 148, 113, 0.8);
}

.fleet-card-header .pad-type {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
}

.pad-type.pad-xs { background: rgba(100, 200, 100, 0.3); color: #90EE90; }
.pad-type.pad-s { background: rgba(100, 150, 200, 0.3); color: #87CEEB; }
.pad-type.pad-m { background: rgba(255, 200, 100, 0.3); color: #FFD700; }
.pad-type.pad-l { background: rgba(255, 150, 100, 0.3); color: #FFA07A; }
.pad-type.pad-xl { background: rgba(255, 100, 100, 0.3); color: #FF6B6B; }

.fleet-card .vehicle-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f0f4ff;
    margin: 0 0 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.vehicle-roles .mud-chip {
    font-size: 0.7rem;
    height: 20px;
}

.vehicle-specs {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.vehicle-specs .spec {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Top Vehicles List */
.top-vehicles-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 800px;
}

.top-vehicle-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(145deg, rgba(20, 35, 50, 0.8), rgba(15, 25, 35, 0.9));
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.top-vehicle-item .rank {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 148, 113, 0.8);
    min-width: 40px;
    text-align: center;
}

.top-vehicle-item .vehicle-image {
    width: 80px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-vehicle-item .vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-vehicle-item .vehicle-info {
    flex: 1;
}

.top-vehicle-item .vehicle-name {
    font-size: 1rem;
    font-weight: 500;
    color: #f0f4ff;
}

.top-vehicle-item .count {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 148, 113, 0.15);
    border-radius: 8px;
}

.top-vehicle-item .count-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #FF9471;
}

.top-vehicle-item .count-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* Stats by Category */
.stats-by-category {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 600px;
}

.category-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(20, 35, 50, 0.5);
    border-radius: 6px;
}

.category-stat-item .category-name {
    min-width: 120px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.category-stat-item .category-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.category-stat-item .bar-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 148, 113, 0.8), rgba(255, 180, 140, 0.9));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.bar-fill.role-cargo { background: linear-gradient(90deg, #FFA726, #FFB74D); }
.bar-fill.role-mining { background: linear-gradient(90deg, #42A5F5, #64B5F6); }
.bar-fill.role-medical { background: linear-gradient(90deg, #66BB6A, #81C784); }
.bar-fill.role-exploration { background: linear-gradient(90deg, #7E57C2, #9575CD); }
.bar-fill.role-military { background: linear-gradient(90deg, #EF5350, #E57373); }
.bar-fill.role-salvage { background: linear-gradient(90deg, #78909C, #90A4AE); }
.bar-fill.role-carrier { background: linear-gradient(90deg, #AB47BC, #BA68C8); }

.category-stat-item .category-count {
    min-width: 40px;
    text-align: right;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    color: #FF9471;
}

/* Fleet Manager Responsive */
@media (max-width: 768px) {
    .fleet-page {
        padding: 1rem;
    }
    
    .fleet-header {
        flex-direction: column;
    }
    
    .fleet-header .header-content h1 {
        font-size: 1.6rem;
    }
    
    .fleet-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.4rem;
    }
    
    .fleet-filters {
        flex-direction: column;
    }
    
    .fleet-filters .filter-search,
    .fleet-filters .filter-select {
        flex: 1 1 100%;
    }
    
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    
    .top-vehicle-item {
        flex-wrap: wrap;
    }
    
    .top-vehicle-item .vehicle-image {
        width: 60px;
        height: 40px;
    }
}

/* ============================================
   Member Vehicles Grid (ProfileEditDialog)
   ============================================ */

.member-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.member-vehicles-grid::-webkit-scrollbar {
    width: 6px;
}

.member-vehicles-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.member-vehicles-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.member-vehicles-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.vehicle-item {
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.vehicle-item:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.15);
}

.vehicle-item .mud-avatar {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vehicle-item .mud-avatar img {
    object-fit: cover;
}

@media (max-width: 600px) {
    .member-vehicles-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Vehicle Checkbox Items (Vaisseaux Tab)
   ============================================ */

.vehicles-by-manufacturer {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.vehicles-by-manufacturer::-webkit-scrollbar {
    width: 6px;
}

.vehicles-by-manufacturer::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.vehicles-by-manufacturer::-webkit-scrollbar-thumb {
    background: rgba(255, 148, 113, 0.3);
    border-radius: 3px;
}

.vehicles-by-manufacturer::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 148, 113, 0.5);
}

.vehicle-checkbox-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.2s ease;
    background-color: rgba(40, 55, 75, 0.95);
}

.vehicle-checkbox-item:hover {
    background-color: rgba(40, 55, 75, 0.95);
    border-color: rgba(255, 148, 113, 0.4);
}

.vehicle-checkbox-item.selected {
    border-color: rgba(255, 148, 113, 0.6);
    background-color: rgba(255, 148, 113, 0.15);
}

.vehicle-checkbox-item.selected:hover {
    border-color: rgba(255, 148, 113, 0.8);
    background-color: rgba(255, 148, 113, 0.2);
}

.vehicle-checkbox-item .mud-typography {
    color: #f0f4ff !important;
}

.vehicle-checkbox-item .mud-avatar {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.vehicle-checkbox-item .mud-avatar img {
    object-fit: cover;
}

.vehicle-checkbox-item .mud-checkbox .mud-icon-root {
    color: rgba(255, 255, 255, 0.7);
}

.vehicle-checkbox-item .mud-chip {
    color: inherit;
}

/* Expansion Panel Styles for Manufacturers */
.vehicles-by-manufacturer .mud-expansion-panels {
    background: transparent;
}

.vehicles-by-manufacturer .mud-expansion-panel {
    background: rgba(20, 35, 50, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0;
}

.vehicles-by-manufacturer .mud-expansion-panel:hover {
    border-color: rgba(255, 148, 113, 0.3);
}

.vehicles-by-manufacturer .mud-expand-panel-header {
    padding: 0.75rem 1rem;
}

.vehicles-by-manufacturer .mud-expand-panel-content {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.1);
}

/* ================================================
   MANUFACTURER TABS IN PROFILE EDIT DIALOG
   ================================================ */

.manufacturer-tabs {
    background: transparent !important;
    color:black !important
}

    .manufacturer-tabs .mud-tabs-toolbar {
        background: rgba(20, 30, 48, 0.6) !important;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        flex-wrap: wrap;
        min-height: auto;
        padding: 4px;
        color: black !important
    }

.manufacturer-tabs .mud-tab {
    min-width: auto;
    padding: 6px 12px;
    font-size: 0.8rem;
    text-transform: none;
    border-radius: 4px;
    margin: 2px;
}

.manufacturer-tabs .mud-tab:hover {
    background: rgba(255, 148, 113, 0.15) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.manufacturer-tabs .mud-tab.mud-tab-active {
    background: rgba(255, 148, 113, 0.2) !important;
    color: #ff9471 !important;
}

.manufacturer-tabs .mud-tab-slider {
    display: none; /* Hide slider for wrapped tabs */
}

.manufacturer-tabs .mud-tabs-panels {
    background: transparent !important;
}

.manufacturer-tabs .mud-badge {
    font-size: 0.65rem;
}

/* Vehicles grid container within tabs */
.vehicles-grid-container {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.vehicles-grid-container::-webkit-scrollbar {
    width: 6px;
}

.vehicles-grid-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.vehicles-grid-container::-webkit-scrollbar-thumb {
    background: rgba(255, 148, 113, 0.3);
    border-radius: 3px;
}

.vehicles-grid-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 148, 113, 0.5);
}

/* Vehicle avatar in checkbox items */
.vehicle-avatar {
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0;
}

.vehicle-avatar img {
    object-fit: cover !important;
}

/* ================================================
   VEHICLE OWNERS DIALOG (Fleet Manager)
   ================================================ */

.vehicle-dialog-thumbnail {
    width: 64px;
    height: 42px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 148, 113, 0.3);
}

.vehicle-title-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.vehicle-title-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #f0f4ff;
}

.vehicle-title-manufacturer {
    font-size: 0.8rem;
    color: rgba(255, 148, 113, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vehicle-details {
    color: #dbe7f5;
}

.vehicle-roles-section {
    margin-top: 1.25rem;
}

.vehicle-roles-section h4,
.vehicle-owners-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.vehicle-roles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vehicle-owners-section {
    margin-top: 1.5rem;
}

.vehicle-owners-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.vehicle-owners-list::-webkit-scrollbar {
    width: 5px;
}

.vehicle-owners-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.vehicle-owners-list::-webkit-scrollbar-thumb {
    background: rgba(255, 148, 113, 0.3);
    border-radius: 3px;
}

.vehicle-owner-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.vehicle-owner-item:hover {
    background: rgba(255, 148, 113, 0.08);
    border-color: rgba(255, 148, 113, 0.2);
}

.vehicle-owner-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.vehicle-owner-name {
    font-weight: 500;
    color: #f0f4ff;
}

.vehicle-owner-notes {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-left: auto;
}

.loaner-chip {
    font-size: 0.65rem !important;
    height: 20px !important;
}

/* ================================================
   PLAYER SHOP - MARKETPLACE
   ================================================ */

/* Shop Page Header */
.shop-page {
    padding: 1.5rem;
    margin: 0 auto;
}

.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.shop-header .header-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin: 0;
    color: #f0f4ff;
}

.shop-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin: 0.25rem 0 0 0;
    font-size: 0.9rem;
}

.header-balance {
    display: flex;
    gap: 1rem;
}

.balance-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
}

.balance-item.helix {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.balance-item.auec {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.create-listing-btn {
    background: linear-gradient(135deg, #ff9471 0%, #ff6b4a 100%) !important;
}

/* Shop Tabs */
.shop-tabs {
    background: transparent !important;
}

.shop-tabs .mud-tabs-toolbar {
    background: rgba(20, 30, 48, 0.6) !important;
    border-radius: 8px 8px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
}

.shop-tabs .mud-tab {
    color: rgba(255, 255, 255, 0.7) !important;
    text-transform: none;
}

.shop-tabs .mud-tab:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 148, 113, 0.1) !important;
}

.shop-tabs .mud-tab.mud-tab-active {
    color: #ff9471 !important;
}

.shop-tabs .mud-tab-slider {
    background: #ff9471 !important;
}

.shop-tabs .mud-tabs-panels {
    background: rgba(20, 30, 48, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 1rem;
}

/* Shop Filters */
.shop-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.shop-filters .filter-search {
    flex: 1;
    min-width: 200px;
}

.shop-filters .filter-select {
    min-width: 150px;
}

.shop-count {
    margin-bottom: 1rem;
}

/* Shop Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.shop-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.shop-empty {
    margin-top: 1rem;
}

/* Shop Listing Card */
.shop-listing-card {
    background: rgba(15, 25, 40, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.shop-listing-card:hover {
    border-color: rgba(255, 148, 113, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.shop-listing-card.sold {
    opacity: 0.7;
    border-color: rgba(76, 175, 80, 0.3);
}

.shop-listing-card.has-offer {
    border-color: rgba(255, 193, 7, 0.4);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.1);
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.listing-category {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.listing-content {
    flex: 1;
}

.listing-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    margin: 0;
    color: #f0f4ff;
}

.listing-class {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.listing-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-main {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.price-main.helix {
    color: #ffc107;
}

.price-main.auec {
    color: #4caf50;
}

.price-ingame {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.listing-offer {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 6px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.offer-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.offer-price {
    font-weight: 600;
}

.offer-price.helix {
    color: #ffc107;
}

.offer-price.auec {
    color: #4caf50;
}

.listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.listing-seller {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Listing Details Dialog */
.listing-details {
    color: #dbe7f5;
}

.listing-price-section,
.listing-offer-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.listing-price-section h4,
.listing-offer-section h4,
.buy-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 0.75rem 0;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-display .price-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.price-display .price-currency {
    font-size: 0.9rem;
    opacity: 0.8;
}

.price-display.helix {
    color: #ffc107;
}

.price-display.auec {
    color: #4caf50;
}

.offer-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.offer-buyer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Buy Section */
.buy-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.custom-offer {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.custom-offer > * {
    flex: 1;
    min-width: 150px;
}

.balance-check {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-check .helix {
    color: #ffc107;
}

.balance-check .auec {
    color: #4caf50;
}

/* Create Listing Dialog */
.create-listing-form {
    color: #dbe7f5;
}

.objet-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.25rem 0;
}

.objet-name {
    font-weight: 500;
    color: #f0f4ff;
}

.objet-details {
    display: flex;
    gap: 0.5rem;
}

.selected-objet-info {
    background: rgba(255, 148, 113, 0.1);
    border: 1px solid rgba(255, 148, 113, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.selected-objet-info .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
}

.selected-objet-info .label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.selected-objet-info .value {
    color: #f0f4ff;
}

.price-section {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.price-section .price-field {
    flex: 2;
}

.price-section .monnaie-select {
    flex: 1;
    min-width: 120px;
}

.monnaie-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.price-conversion {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .shop-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-balance {
        justify-content: center;
    }
    
    .shop-grid {
        grid-template-columns: 1fr;
    }
    
    .price-section {
        flex-direction: column;
    }
}


/* ============================================== */
/* MEMBER DASHBOARD                               */
/* ============================================== */

.dashboard-page {
    min-height: 100vh;
    padding: 2rem;
    background: radial-gradient(circle at top left, rgba(87, 138, 168, 0.25), transparent 45%), radial-gradient(circle at bottom right, rgba(145, 116, 93, 0.25), transparent 40%);
    font-family: 'Rajdhani', sans-serif;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.dashboard-header .header-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f0f4ff;
    margin-bottom: 0.25rem;
}

.dashboard-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

.dashboard-header .header-balance {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.dashboard-header .balance-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.dashboard-header .balance-item.helix {
    color: #ffc107;
}

.dashboard-header .balance-item.auec {
    color: #4caf50;
}

.dashboard-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.dashboard-alert {
    max-width: 600px;
    margin: 2rem auto;
}

/* Dashboard Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
}

/* Dashboard Sections */
.dashboard-section {
    background: linear-gradient(145deg, rgba(12, 20, 30, 0.94), rgba(10, 16, 24, 0.88));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.dashboard-section:hover {
    border-color: rgba(255, 148, 113, 0.2);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-header > .mud-icon-root {
    color: rgba(255, 148, 113, 0.9);
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #f0f4ff;
    margin: 0;
    flex-grow: 1;
}

.section-header .mud-button {
    font-size: 0.75rem;
    text-transform: none;
}

.section-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.section-empty .mud-icon-root {
    font-size: 2.5rem;
    opacity: 0.5;
}

.section-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ========================== */
/* Events du jour             */
/* ========================== */

.events-list {
    gap: 0.75rem;
}

.dashboard-event-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.dashboard-event-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 148, 113, 0.3);
}

.dashboard-event-card.registered {
    border-left: 3px solid #4ade80;
}

.event-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.event-time .time {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f0f4ff;
}

.event-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.event-type-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 148, 113, 0.9);
    font-weight: 600;
}

.event-info .event-name {
    font-size: 0.95rem;
    color: #f0f4ff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.event-meta .mud-icon-root {
    font-size: 0.85rem;
}

.event-meta .separator {
    margin: 0 0.2rem;
    opacity: 0.5;
}

.event-rewards {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.event-rewards .reward {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.event-rewards .reward.helix {
    color: #ffc107;
}

.registered-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: #4ade80;
}

.registered-badge .mud-icon-root {
    font-size: 1rem;
}

/* ========================== */
/* Participations recentes    */
/* ========================== */

.participations-list {
    gap: 0.5rem;
}

.participation-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    transition: background 0.2s ease;
}

.participation-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.participation-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
    padding: 0.3rem 0.5rem;
    background: rgba(255, 148, 113, 0.1);
    border-radius: 4px;
}

.participation-date .day {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #f0f4ff;
    line-height: 1;
}

.participation-date .month {
    font-size: 0.6rem;
    color: rgba(255, 148, 113, 0.9);
    letter-spacing: 0.05em;
}

.participation-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.participation-name {
    font-size: 0.9rem;
    color: #f0f4ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.participation-type {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.participation-status {
    flex-shrink: 0;
}

/* ========================== */
/* Vaisseaux                  */
/* ========================== */

.vehicles-list {
    gap: 0.5rem;
}

.vehicle-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    transition: background 0.2s ease;
}

.vehicle-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.vehicle-image {
    width: 50px;
    height: 35px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-image .mud-icon-root {
    color: rgba(255, 255, 255, 0.3);
}

.vehicle-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vehicle-name {
    font-size: 0.9rem;
    color: #f0f4ff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-manufacturer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.vehicle-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.vehicle-tags .pad-type {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    background: rgba(87, 138, 168, 0.3);
    border-radius: 3px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================== */
/* Shop items                 */
/* ========================== */

.shop-list {
    gap: 0.5rem;
}

.shop-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left: 2px solid rgba(255, 148, 113, 0.5);
}

.shop-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.shop-item-name {
    font-size: 0.9rem;
    color: #f0f4ff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-item-details {
    display: flex;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.shop-item-details .category {
    color: rgba(255, 148, 113, 0.8);
}

.shop-item-details .grade {
    color: rgba(255, 255, 255, 0.5);
}

.shop-item-seller {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.shop-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.shop-item-price .price-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.shop-item-price .price-currency {
    font-size: 0.65rem;
    text-transform: uppercase;
}

.shop-item-price.helix .price-value,
.shop-item-price.helix .price-currency {
    color: #ffc107;
}

.shop-item-price.auec .price-value,
.shop-item-price.auec .price-currency {
    color: #4caf50;
}

/* ========================== */
/* Nouvelles Recrues          */
/* ========================== */

.recrues-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recrue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.recrue-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 148, 113, 0.2);
}

.recrue-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.recrue-pseudo {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.recrue-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.recrue-days {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 148, 113, 0.15);
    border-radius: 6px;
}

.recrue-days .days-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff9471;
}

.recrue-days .days-label {
    font-size: 0.7rem;
    color: rgba(255, 148, 113, 0.7);
    text-transform: uppercase;
}

/* ========================== */
/* Commandes / Orders         */
/* ========================== */

.orders-list {
    gap: 0.5rem;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.order-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.order-tier {
    flex-shrink: 0;
}

.tier-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #f0f4ff;
}

.tier-badge.tier-1 {
    background: rgba(156, 163, 175, 0.3);
    color: #d1d5db;
}

.tier-badge.tier-2 {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.tier-badge.tier-3 {
    background: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

.tier-badge.tier-4 {
    background: rgba(168, 85, 247, 0.25);
    color: #c084fc;
}

.tier-badge.tier-5 {
    background: rgba(251, 191, 36, 0.25);
    color: #fbbf24;
}

.order-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.order-name {
    font-size: 0.9rem;
    color: #f0f4ff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-category {
    font-size: 0.75rem;
    color: rgba(255, 148, 113, 0.8);
}

.order-requester {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.order-quantity {
    flex-shrink: 0;
}

.order-quantity .qty-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================== */
/* Responsive Dashboard       */
/* ========================== */

@media (max-width: 768px) {
    .dashboard-page {
        padding: 1rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .dashboard-header .header-content h1 {
        font-size: 1.8rem;
    }
    
    .dashboard-header .header-balance {
        justify-content: center;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-section {
        min-height: auto;
    }
    
    .dashboard-event-card {
        flex-wrap: wrap;
    }
    
    .event-info {
        flex: 1 1 100%;
        order: 2;
    }
    
    .event-time {
        order: 1;
    }
    
    .event-rewards {
        order: 1;
    }
}
.mud-paper {
    color: white !important;
    background-color: transparent !important;
   
}

.mud-tabs-tabbar {
    background-color: transparent !important;
    color:white !important;
}

.mud-expand-panel{
    color: white !important;
}

/* ================================================
   TUTORIELS PAGE STYLES
   ================================================ */

.tutoriels-page {
    min-height: 100vh;
    padding: 2rem;
    background: radial-gradient(circle at top left, rgba(87, 138, 168, 0.25), transparent 45%), 
                radial-gradient(circle at bottom right, rgba(145, 116, 93, 0.25), transparent 40%);
    font-family: 'Rajdhani', sans-serif;
}

.tutoriels-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tutoriels-header .header-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f0f4ff;
    margin-bottom: 0.25rem;
}

.tutoriels-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

/* Tutoriels Filters */
.tutoriels-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(12, 20, 30, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    align-items: flex-end;
}

.tutoriels-filters .filter-search {
    flex: 1 1 250px;
    min-width: 180px;
}

.tutoriels-filters .filter-select {
    flex: 0 1 180px;
    min-width: 140px;
}

/* Filters Input Styles */
.tutoriels-filters .mud-input-control .mud-input-slot,
.tutoriels-filters .mud-input-control input,
.tutoriels-filters .mud-input-control .mud-input {
    color: #f0f4ff !important;
}

.tutoriels-filters .mud-input-control .mud-input-adornment svg {
    color: rgba(255, 148, 113, 0.8) !important;
}

.tutoriels-filters .mud-input-control input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

.tutoriels-filters .mud-input-control .mud-input-underline:before {
    border-bottom-color: rgba(255, 255, 255, 0.3) !important;
}

.tutoriels-filters .mud-input-control .mud-input-underline:after {
    border-bottom-color: rgba(255, 148, 113, 0.8) !important;
}

.tutoriels-filters .mud-input-control .mud-input-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.tutoriels-filters .mud-select .mud-select-input {
    color: #f0f4ff !important;
}

/* Category Chips */
.tutoriels-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tutoriels-categories .category-chip {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.tutoriels-categories .category-chip:hover {
    transform: translateY(-2px);
}

.tutoriels-categories .category-chip.active {
    box-shadow: 0 0 12px rgba(255, 148, 113, 0.4);
}

/* Compteur */
.tutoriels-count {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

/* Loading */
.tutoriels-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.tutoriels-empty {
    max-width: 600px;
    margin: 0 auto;
}

/* Tutoriels Grid */
.tutoriels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Tutoriel Card */
.tutoriel-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(12, 20, 30, 0.94), rgba(10, 16, 24, 0.88));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tutoriel-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 148, 113, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tutoriel-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.tutoriel-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tutoriel-card:hover .tutoriel-cover img {
    transform: scale(1.05);
}

.tutoriel-cover .cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 148, 113, 0.1), rgba(87, 138, 168, 0.1));
    color: rgba(255, 148, 113, 0.5);
}

.tutoriel-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
}

.tutoriel-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.tutoriel-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    color: #f0f4ff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tutoriel-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.tutoriel-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.tutoriel-meta .meta-author {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.tutoriel-meta .meta-author svg {
    font-size: 0.9rem;
}

.tutoriel-meta .meta-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.tutoriel-meta .meta-sections {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: rgba(255, 148, 113, 0.8);
}

/* Pagination */
.tutoriels-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
}

.tutoriels-pagination .pagination-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ================================================
   TUTORIEL VIEW PAGE STYLES
   ================================================ */

.tutoriel-view-page {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(87, 138, 168, 0.25), transparent 45%), 
                radial-gradient(circle at bottom right, rgba(145, 116, 93, 0.25), transparent 40%);
    font-family: 'Rajdhani', sans-serif;
}

/* Navigation bar */
.view-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(12, 20, 30, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.view-nav .nav-actions {
    display: flex;
    gap: 0.5rem;
}

/* Hero section */
.view-hero {
    position: relative;
    width: 100%;
    min-height: 350px;
    max-height: 450px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 350px;
    max-height: 450px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image .hero-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 148, 113, 0.15), rgba(87, 138, 168, 0.15));
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(to top, rgba(10, 16, 24, 0.98) 0%, rgba(10, 16, 24, 0.8) 50%, transparent 100%);
}



.hero-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: white;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #f0f4ff;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-meta .meta-item svg {
    color: rgba(255, 148, 113, 0.8);
}

/* View content area */
.view-content {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Table of contents */
.view-toc {
    flex: 0 0 280px;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.toc-card {
    background: linear-gradient(145deg, rgba(12, 20, 30, 0.94), rgba(10, 16, 24, 0.88));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem;
}

.toc-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 148, 113, 0.9);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 148, 113, 0.2);
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.toc-item:hover {
    background: rgba(255, 148, 113, 0.1);
    color: #f0f4ff;
}

.toc-item.active {
    background: rgba(255, 148, 113, 0.15);
    color: #ff9471;
    border-left: 2px solid #ff9471;
}

.toc-item .toc-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 148, 113, 0.7);
    min-width: 20px;
}

/* Sections container */
.view-sections {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

/* Individual section */
.view-section {
    background: linear-gradient(145deg, rgba(12, 20, 30, 0.94), rgba(10, 16, 24, 0.88));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    scroll-margin-top: 2rem;
}

.view-section:hover {
    border-color: rgba(255, 148, 113, 0.2);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 148, 113, 0.15);
    border: 1px solid rgba(255, 148, 113, 0.3);
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff9471;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    color: #f0f4ff;
    margin: 0;
}

.section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    white-space: pre-wrap;
}

.section-text p {
    margin-bottom: 1rem;
}

.section-text p:last-child {
    margin-bottom: 0;
}

/* Section media */
.section-media {
    margin-top: 1.25rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.section-media img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
}

.section-media .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.section-media .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* View footer */
.view-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(12, 20, 30, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ================================================
   TUTORIEL EDITOR PAGE STYLES
   ================================================ */

.tutoriel-editor-page {
    min-height: 100vh;
    padding: 2rem;
    background: radial-gradient(circle at top left, rgba(87, 138, 168, 0.25), transparent 45%), 
                radial-gradient(circle at bottom right, rgba(145, 116, 93, 0.25), transparent 40%);
    font-family: 'Rajdhani', sans-serif;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.editor-header .header-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f0f4ff;
    margin-bottom: 0.25rem;
}

.editor-header .header-actions {
    display: flex;
    gap: 0.75rem;
}

/* Editor layout */
.editor-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
}

.editor-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.editor-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Editor panel */
.editor-panel {
    background: linear-gradient(145deg, rgba(12, 20, 30, 0.94), rgba(10, 16, 24, 0.88));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(255, 148, 113, 0.08);
    border-bottom: 1px solid rgba(255, 148, 113, 0.15);
}

.panel-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ff9471;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-content {
    padding: 1.25rem;
}

/* Editor inputs */
.editor-input {
    margin-bottom: 1rem;
}

.editor-input:last-child {
    margin-bottom: 0;
}

.editor-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.editor-row > * {
    flex: 1;
}

.editor-checkbox {
    margin-bottom: 0.5rem;
}

/* Editor panel input styles */
.editor-panel .mud-input-control .mud-input-slot,
.editor-panel .mud-input-control input,
.editor-panel .mud-input-control .mud-input,
.editor-panel .mud-input-control textarea {
    color: #f0f4ff !important;
}

.editor-panel .mud-input-control .mud-input-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.editor-panel .mud-input-outlined .mud-input-outlined-border {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.editor-panel .mud-input-outlined:hover .mud-input-outlined-border {
    border-color: rgba(255, 148, 113, 0.4) !important;
}

.editor-panel .mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: #ff9471 !important;
}

.editor-panel .mud-select .mud-input-slot {
    color: #f0f4ff !important;
}

/* Sections panel */
.sections-panel {
    min-height: 400px;
}

.sections-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.sections-empty svg {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255, 148, 113, 0.4);
}

.sections-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Section card in editor */
.section-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.section-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 148, 113, 0.2);
}

.section-card.editing {
    background: rgba(255, 148, 113, 0.08);
    border-color: rgba(255, 148, 113, 0.3);
}

.section-drag {
    cursor: grab;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.25rem;
}

.section-drag:hover {
    color: rgba(255, 255, 255, 0.7);
}

.section-drag:active {
    cursor: grabbing;
}

.section-content {
    flex: 1;
    min-width: 0;
}

.section-content .section-title-preview {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: #f0f4ff;
    margin-bottom: 0.25rem;
}

.section-content .section-text-preview {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-media-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.5rem;
    background: rgba(255, 148, 113, 0.15);
    border-radius: 4px;
    font-size: 0.7rem;
    color: rgba(255, 148, 113, 0.9);
    margin-top: 0.5rem;
}

.section-actions {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.section-delete {
    color: rgba(239, 68, 68, 0.7);
}

.section-delete:hover {
    color: #ef4444;
}

/* Cover preview */
.cover-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, rgba(255, 148, 113, 0.1), rgba(87, 138, 168, 0.1));
}

.cover-placeholder svg {
    font-size: 2rem;
}

.cover-remove-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

/* Info panel */
.info-panel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.info-value {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Section Edit Dialog */
.section-edit-form {
    padding: 0.5rem 0;
}

.section-edit-form .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-edit-form .form-row > * {
    flex: 1;
}

.section-edit-form .media-type-row {
    margin-bottom: 1rem;
}

.section-edit-form .media-url-field {
    margin-bottom: 0.5rem;
}

.section-edit-form .media-preview {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.section-edit-form .media-preview img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

/* Responsive Tutoriels */
@media (max-width: 1024px) {
    .view-content {
        flex-direction: column;
    }
    
    .view-toc {
        flex: none;
        position: static;
        max-height: none;
        order: -1;
    }
    
    .editor-layout {
        grid-template-columns: 1fr;
    }
    
    .editor-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .tutoriels-page,
    .tutoriel-view-page,
    .tutoriel-editor-page {
        padding: 1rem;
    }
    
    .tutoriels-header .header-content h1,
    .editor-header .header-content h1 {
        font-size: 1.8rem;
    }
    
    .tutoriels-filters {
        flex-direction: column;
        padding: 1rem;
    }
    
    .tutoriels-filters .filter-search,
    .tutoriels-filters .filter-select {
        flex: 1 1 100%;
    }
    
    .tutoriels-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .view-nav {
        padding: 1rem;
    }
    
    .view-content {
        padding: 1rem;
    }
    
    .view-section {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1rem;
    }
    
    .editor-row {
        flex-direction: column;
    }
}

/* ================================================
   TUTORIEL EDITOR - UPLOAD STYLES
   ================================================ */

/* Cover upload styles */
.cover-upload {
    width: 100%;
}

.cover-upload .mud-file-upload {
    width: 100%;
}

.cover-placeholder.clickable {
    cursor: pointer;
    aspect-ratio: 16 / 9;
    border: 2px dashed rgba(255, 148, 113, 0.3);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.cover-placeholder.clickable:hover {
    border-color: rgba(255, 148, 113, 0.6);
    background: rgba(255, 148, 113, 0.08);
}

.cover-placeholder .upload-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.25rem;
}

.cover-upload-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    aspect-ratio: 16 / 9;
    background: rgba(255, 148, 113, 0.08);
    border: 1px solid rgba(255, 148, 113, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
}

/* Media upload zone in sections */
.media-upload-zone {
    margin-top: 0.75rem;
}

.media-upload-zone .upload-button {
    width: 100%;
}

.media-upload-zone .upload-button .mud-file-upload {
    width: 100%;
}

.media-upload-zone .upload-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(255, 148, 113, 0.08);
    border: 1px solid rgba(255, 148, 113, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.media-upload-zone .media-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.media-upload-zone .media-preview img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}

.media-upload-zone .media-preview.video-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(87, 138, 168, 0.15), rgba(145, 116, 93, 0.15));
    color: rgba(255, 255, 255, 0.7);
}

.media-upload-zone .media-preview.video-preview svg {
    color: rgba(255, 148, 113, 0.7);
}

.media-upload-zone .media-remove-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

.media-upload-zone .media-remove-btn:hover {
    background: rgba(239, 68, 68, 0.8);
}

/* Media fields styling */
.media-fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Media expansion panel styling */
.media-expansion {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.media-expansion .mud-expand-panel-header {
    padding: 0.75rem 1rem;
    min-height: auto;
}

.media-expansion .mud-expand-panel-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.media-expansion .mud-expand-panel-content {
    padding: 0 1rem 1rem 1rem;
}

/* Fix MudFileUpload button styling in dark theme */
.editor-panel .mud-file-upload .mud-button-root {
    width: 100%;
}

.editor-panel .mud-file-upload .mud-button-outlined {
    border-color: rgba(255, 148, 113, 0.4);
    color: rgba(255, 148, 113, 0.9);
}

.editor-panel .mud-file-upload .mud-button-outlined:hover {
    border-color: #ff9471;
    background: rgba(255, 148, 113, 0.1);
}

/* InputFile label styling for cover upload */
.cover-upload-label {
    display: block;
    cursor: pointer;
}

.cover-upload-label input[type="file"] {
    display: none;
}

/* InputFile label styling for media upload */
.media-upload-label {
    display: block;
    cursor: pointer;
    width: 100%;
}

.media-upload-label input[type="file"] {
    display: none;
}

.media-upload-label .upload-button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 148, 113, 0.4);
    border-radius: 4px;
    color: rgba(255, 148, 113, 0.9);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.media-upload-label:hover .upload-button-content {
    border-color: #ff9471;
    background: rgba(255, 148, 113, 0.1);
}