.app-logo {
    position: relative; left: -30px; top: -24px; margin-bottom: -53px;width: 285px;
}
.sidebar{
    overflow-x: hidden;
}
.nav-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 700;
}

.nav-button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
}

.app-topbar {
    background: transparent;
    padding: 0;
}

.nav-btn-letter {
    font-weight: 700;
    color: var(--text-secondary);
}

.topbar-logout-form {
    margin: 0;
}

.topbar-logout-form .nav-btn {
    color: var(--text-primary);
}

.push-nav-item {
    display: grid;
    gap: 6px;
}

.push-nav-item .nav-button.is-active {
    color: #fff;
    background: linear-gradient(90deg, rgba(1, 146, 255, 0.18), rgba(59, 169, 255, 0.06));
}

.push-nav-item .nav-button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.push-status {
    padding: 0 14px 0 44px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.35;
}

.push-topbar-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.push-topbar-btn {
    width: auto !important;
    padding: 0 12px !important;
    gap: 7px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
}

.push-topbar-btn svg {
    width: 18px;
    height: 18px;
}

.push-topbar-btn.is-active {
    border-color: rgba(59, 169, 255, 0.48);
    background: linear-gradient(135deg, rgba(1, 146, 255, 0.22), rgba(3, 38, 89, 0.26));
}

.push-topbar-status {
    max-width: 180px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.2;
}

.online-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.2;
}

.online-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.8);
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.12);
}

.online-status.is-online {
    color: #51e6a8;
}

.online-status.is-online .online-dot {
    background: #28d17c;
    box-shadow: 0 0 0 3px rgba(40, 209, 124, 0.16), 0 0 16px rgba(40, 209, 124, 0.48);
}

.online-last {
    color: var(--text-muted);
}

.pwa-install-card,
.pwa-install-modal {
    display: none;
}

@media (max-width: 768px) {
    .push-topbar-control {
        display: none;
    }

    .push-nav-item {
        display: grid;
    }

    .pwa-install-card:not([hidden]) {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 18px;
        z-index: 1200;
        display: grid;
        grid-template-columns: 46px 1fr auto;
        gap: 12px;
        align-items: center;
        padding: 14px;
        border: 1px solid rgba(1, 146, 255, 0.34);
        border-radius: 20px;
        background:
            linear-gradient(135deg, rgba(3, 38, 89, 0.94), rgba(0, 3, 10, 0.98)),
            var(--glass-bg);
        box-shadow: 0 22px 54px rgba(0, 0, 0, 0.46), 0 0 34px rgba(1, 146, 255, 0.16);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        animation: pwaInstallIn .32s ease both;
    }

    .pwa-install-card[hidden],
    .pwa-install-modal[hidden] {
        display: none !important;
    }

    .pwa-install-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        overflow: hidden;
        background: rgba(1, 146, 255, 0.12);
        box-shadow: inset 0 0 0 1px rgba(59, 169, 255, 0.24);
    }

    .pwa-install-icon img,
    .pwa-install-modal-panel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pwa-install-content {
        min-width: 0;
        color: var(--text-primary);
        line-height: 1.25;
    }

    .pwa-install-content strong {
        display: block;
        font-size: 14px;
    }

    .pwa-install-content span {
        display: block;
        margin-top: 3px;
        color: var(--text-secondary);
        font-size: 12px;
    }

    .pwa-install-action {
        border: 0;
        border-radius: 14px;
        padding: 10px 13px;
        color: #fff;
        font-weight: 700;
        background: linear-gradient(135deg, var(--gold), var(--gold-light));
        box-shadow: 0 10px 24px rgba(1, 146, 255, 0.28);
    }

    .pwa-install-close {
        position: absolute;
        top: -9px;
        right: -8px;
        width: 28px;
        height: 28px;
        border: 1px solid rgba(1, 146, 255, 0.34);
        border-radius: 999px;
        color: var(--text-primary);
        background: rgba(0, 3, 10, 0.92);
        line-height: 1;
    }

    .pwa-install-modal:not([hidden]) {
        position: fixed;
        inset: 0;
        z-index: 1300;
        display: grid;
        place-items: center;
        padding: 22px;
        background: rgba(0, 3, 10, 0.72);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        animation: pwaFadeIn .22s ease both;
    }

    .pwa-install-modal-panel {
        position: relative;
        width: min(360px, 100%);
        padding: 28px 22px 22px;
        text-align: center;
        border: 1px solid rgba(1, 146, 255, 0.36);
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(3, 38, 89, 0.96), rgba(0, 3, 10, 0.98));
        box-shadow: 0 26px 80px rgba(0, 0, 0, 0.56), 0 0 34px rgba(1, 146, 255, 0.18);
        animation: pwaInstallIn .3s ease both;
    }

    .pwa-install-modal-panel img {
        width: 72px;
        height: 72px;
        margin-bottom: 14px;
        border-radius: 20px;
    }

    .pwa-install-modal-panel h2 {
        margin: 0 0 8px;
        color: var(--text-primary);
        font-size: 22px;
    }

    .pwa-install-modal-panel p {
        margin: 0 0 18px;
        color: var(--text-secondary);
        line-height: 1.55;
    }
}

@keyframes pwaInstallIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pwaFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.app-alerts {
    margin-bottom: 20px;
}

.notification-toast-stack {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 1500;
    display: grid;
    gap: 12px;
    width: min(380px, calc(100vw - 32px));
    pointer-events: none;
}

.notification-toast {
    width: 100%;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid rgba(113, 223, 142, 0.45);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(73, 154, 91, 0.96), rgba(105, 197, 126, 0.96));
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34), 0 0 28px rgba(105, 197, 126, 0.24);
    text-align: left;
    pointer-events: auto;
    animation: notificationToastIn .24s ease both;
}

.notification-toast.is-hiding {
    animation: notificationToastOut .2s ease both;
}

.notification-toast-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.notification-toast-content {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.notification-toast-content strong {
    font-size: 14px;
    line-height: 1.2;
}

.notification-toast-content span {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-toast-close {
    color: rgba(255, 255, 255, 0.68);
    font-size: 24px;
    line-height: 1;
}

.glassphere-modal {
    border: 1px solid rgba(59, 169, 255, .34);
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 0%, rgba(59, 169, 255, .18), transparent 32%),
        linear-gradient(180deg, rgba(3, 28, 64, .96), rgba(0, 3, 10, .98));
    color: var(--text-primary);
    box-shadow: 0 26px 80px rgba(0, 0, 0, .52), 0 0 34px rgba(1, 146, 255, .16);
}

.glassphere-modal .modal-header,
.glassphere-modal .modal-footer {
    border-color: rgba(59, 169, 255, .22);
}

.glassphere-modal .modal-title {
    color: #9fd7ff;
    font-weight: 800;
}

@keyframes notificationToastIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes notificationToastOut {
    to {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
}

.container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.dashboard-overview-page {
    display: grid;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
}

.dashboard-kicker {
    color: #9fd7ff;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-welcome h2,
.dashboard-panel h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 800;
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.dashboard-stat-card,
.dashboard-panel {
    border: 1px solid rgba(59, 169, 255, .25);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(59, 169, 255, .07)),
        rgba(3, 8, 18, .72);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
}

.dashboard-stat-card {
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.dashboard-stat-card span,
.dashboard-panel p {
    display: block;
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
}

.dashboard-stat-card strong {
    display: block;
    margin-top: 6px;
    color: var(--text-primary);
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 900;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.dashboard-stat-card small {
    display: inline-flex;
    margin-top: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #cbe9ff;
    font-size: 11px;
    font-weight: 800;
}

.dashboard-stat-card > i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    border-radius: 16px;
    color: #fff;
    font-size: 25px;
    background: linear-gradient(135deg, #0192ff, #65c7ff);
    box-shadow: 0 14px 34px rgba(1, 146, 255, .28);
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 22px;
    width: 100%;
    min-width: 0;
}

.dashboard-panel {
    padding: 20px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.dashboard-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.dashboard-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
}

.dashboard-search i {
    color: #57b8ff;
}

.dashboard-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #122033;
    font-weight: 700;
}

.dashboard-recent-list,
.dashboard-quick-stats {
    display: grid;
    gap: 10px;
}

.dashboard-recent-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    color: #1f2937;
}

.dashboard-recent-row:hover {
    color: #0f172a;
    border-color: rgba(1, 146, 255, .38);
}

.dashboard-row-avatar {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #31506a;
    color: #fff;
    font-weight: 900;
}

.dashboard-recent-row strong,
.dashboard-recent-row small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-recent-row strong {
    font-weight: 900;
}

.dashboard-recent-row small {
    color: #6b7c90;
    font-weight: 700;
}

.dashboard-row-status {
    display: inline-flex;
    justify-content: flex-end;
}

.dashboard-quick-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.dashboard-quick-row span,
.dashboard-progress span {
    color: var(--text-secondary);
    font-weight: 700;
}

.dashboard-quick-row strong {
    color: #9fd7ff;
    font-weight: 900;
    text-align: right;
}

.dashboard-progress {
    display: grid;
    gap: 9px;
    margin-top: 8px;
}

.dashboard-progress div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.dashboard-progress > span {
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(90deg, #51e6a8 var(--progress), rgba(255, 255, 255, .11) var(--progress));
}

.dashboard-bars {
    min-height: 250px;
    display: grid;
    grid-template-columns: repeat(7, minmax(54px, 1fr));
    gap: 12px;
    align-items: end;
    overflow-x: auto;
    padding-top: 18px;
}

.dashboard-bar-item {
    min-width: 54px;
    height: 220px;
    display: grid;
    grid-template-rows: 34px 1fr 22px;
    align-items: end;
    gap: 8px;
    text-align: center;
}

.dashboard-bar-value {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
}

.dashboard-bar {
    width: min(42px, 70%);
    height: var(--bar-height);
    min-height: 8px;
    justify-self: center;
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, #65c7ff, #5867ff);
    box-shadow: 0 0 18px rgba(88, 103, 255, .3);
}

.dashboard-bar-item small,
.dashboard-empty {
    color: var(--text-muted);
    font-weight: 700;
}

.dashboard-empty {
    padding: 22px 12px;
    text-align: center;
}

.admin-dashboard-page {
    padding-bottom: 28px;
}

.admin-month-filter {
    display: grid;
    grid-template-columns: auto minmax(170px, 220px);
    gap: 10px;
    align-items: center;
}

.admin-month-filter label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 800;
}

.admin-month-filter select {
    width: 100%;
    border: 1px solid rgba(59, 169, 255, .3);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text-primary);
    font-weight: 800;
    background: rgba(3, 8, 18, .86);
    outline: 0;
}

.admin-dashboard-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-profit-card {
    border-color: rgba(81, 230, 168, .42);
    background:
        linear-gradient(135deg, rgba(81, 230, 168, .12), rgba(59, 169, 255, .08)),
        rgba(3, 8, 18, .78);
}

.admin-profit-card > i {
    background: linear-gradient(135deg, #51e6a8, #0192ff);
}

.admin-dashboard-main-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
    align-items: start;
}

.admin-profit-bars {
    min-height: 210px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 8px;
    overflow: hidden;
    padding: 8px 2px 0;
}

.admin-profit-bars .dashboard-bar-item {
    min-width: 0;
    height: 190px;
    grid-template-rows: 30px 1fr 34px;
}

.admin-profit-bars .dashboard-bar-value {
    font-size: 11px;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.admin-profit-bars .dashboard-bar {
    width: min(46px, 72%);
}

.admin-profit-bars .dashboard-bar-item small {
    font-size: 11px;
    line-height: 1.15;
    white-space: normal;
}

.admin-finance-table {
    display: grid;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    overflow: hidden;
}

.admin-finance-table > div {
    display: grid;
    grid-template-columns: minmax(120px, 1.2fr) minmax(96px, 1fr) minmax(96px, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.admin-finance-table > div:first-child {
    background: rgba(59, 169, 255, .12);
    color: #9fd7ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-finance-table > div:last-child {
    border-bottom: 0;
    background: rgba(81, 230, 168, .08);
}

.admin-finance-table strong {
    color: var(--text-primary);
}

.admin-finance-table span {
    color: var(--text-secondary);
    font-weight: 800;
}

.admin-action-list {
    display: grid;
    gap: 10px;
}

.admin-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
}

.admin-action-row strong,
.admin-action-row a.fw-semibold {
    display: block;
    color: var(--text-primary);
}

.admin-action-row span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
}

.admin-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.admin-withdrawal-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.admin-withdrawal-row .withdrawal-refuse-form {
    grid-column: 1 / -1;
}

.admin-dashboard-table {
    border-radius: 8px;
    overflow: hidden;
}

.admin-dashboard-table .table {
    color: var(--text-secondary);
}

.admin-dashboard-table .table thead th {
    color: #9fd7ff;
    border-color: rgba(255, 255, 255, .12);
}

.admin-dashboard-table .table tbody td {
    border-color: rgba(255, 255, 255, .08);
}

.admin-account-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-account-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 10px;
    border: 1px solid rgba(59, 169, 255, .22);
    object-fit: cover;
    background: rgba(255, 255, 255, .06);
}

.admin-account-body {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.admin-account-body > span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-top-garage-list {
    display: grid;
    gap: 10px;
}

.admin-top-garage-row {
    display: grid;
    grid-template-columns: 34px 46px minmax(0, 1fr) minmax(72px, auto) minmax(72px, auto) minmax(72px, auto);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    background: rgba(255, 255, 255, .045);
}

.admin-top-garage-row:hover {
    color: var(--text-primary);
    border-color: rgba(59, 169, 255, .34);
    background: rgba(59, 169, 255, .07);
}

.admin-top-garage-rank {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #9fd7ff;
    font-weight: 900;
    background: rgba(59, 169, 255, .12);
}

.admin-top-garage-main {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.admin-top-garage-main strong,
.admin-top-garage-main small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-top-garage-main small,
.admin-top-garage-meta small,
.admin-top-garage-numbers small {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
}

.admin-top-garage-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.admin-top-garage-progress i {
    display: block;
    width: var(--progress);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #51e6a8, #65c7ff);
}

.admin-top-garage-numbers,
.admin-top-garage-meta {
    display: grid;
    justify-items: end;
    gap: 2px;
}

.admin-top-garage-numbers strong,
.admin-top-garage-meta strong {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

@media (max-width: 1200px) {
    .dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding-left: 10px;
        padding-right: 10px;
        overflow-x: hidden;
    }

    .app-topbar {
        gap: 12px;
        align-items: flex-start;
    }

    .app-topbar > div:first-child {
        min-width: 0;
    }

    .page-title {
        overflow-wrap: anywhere;
        line-height: 1.15;
    }

    .navbar-right {
        flex: 0 0 auto;
        gap: 8px;
    }

    .dashboard-overview-page {
        gap: 14px;
        padding-bottom: 74px;
        overflow-x: hidden;
    }

    .dashboard-welcome,
    .dashboard-panel-header {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-welcome {
        gap: 12px;
        padding: 14px;
        width: 100%;
        overflow: hidden;
    }

    .dashboard-kicker {
        font-size: 11px;
        line-height: 1.25;
    }

    .dashboard-welcome h2,
    .dashboard-panel h3 {
        margin-top: 2px;
        font-size: 17px;
        line-height: 1.2;
    }

    .dashboard-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        justify-content: stretch;
    }

    .dashboard-actions .btn,
    .dashboard-panel-header .btn {
        width: 100%;
        min-height: 38px;
        padding: 8px 10px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.15;
    }

    .dashboard-stat-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .admin-month-filter {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .admin-profit-bars {
        min-height: 190px;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 8px 6px;
    }

    .admin-profit-bars .dashboard-bar-item {
        height: 170px;
    }

    .admin-profit-bars .dashboard-bar-value,
    .admin-profit-bars .dashboard-bar-item small {
        font-size: 10px;
    }

    .admin-finance-table > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .admin-action-row,
    .admin-withdrawal-row {
        grid-template-columns: 1fr;
    }

    .admin-row-actions {
        justify-content: flex-start;
    }

    .admin-top-garage-row {
        grid-template-columns: 30px 42px minmax(0, 1fr);
        align-items: start;
    }

    .admin-top-garage-numbers,
    .admin-top-garage-meta {
        grid-column: span 1;
        justify-items: start;
    }

    .admin-top-garage-numbers {
        grid-column: 1 / 2;
    }

    .dashboard-stat-card {
        position: relative;
        min-height: 94px;
        padding: 14px 68px 14px 14px;
        gap: 10px;
        border-radius: 8px;
    }

    .dashboard-stat-card > div {
        min-width: 0;
    }

    .dashboard-stat-card span,
    .dashboard-panel p {
        font-size: 11px;
        line-height: 1.25;
    }

    .dashboard-stat-card strong {
        margin-top: 5px;
        font-size: 24px;
        line-height: 1;
    }

    .dashboard-stat-card small {
        max-width: 100%;
        margin-top: 9px;
        padding: 4px 8px;
        font-size: 10px;
        line-height: 1.1;
        white-space: normal;
    }

    .dashboard-stat-card > i {
        position: absolute;
        top: 50%;
        right: 12px;
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 12px;
        font-size: 19px;
        transform: translateY(-50%);
    }

    .dashboard-panel {
        padding: 14px;
    }

    .dashboard-panel-header {
        gap: 10px;
        margin-bottom: 12px;
    }

    .dashboard-search {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px;
        padding: 8px 10px;
    }

    .dashboard-search .btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .dashboard-recent-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .dashboard-row-status {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .dashboard-bars {
        min-height: 210px;
        gap: 9px;
    }

    .dashboard-bar-item {
        height: 190px;
        grid-template-rows: 30px 1fr 20px;
    }
}

@media (max-width: 420px) {
    .main-content {
        padding-left: 8px;
        padding-right: 8px;
    }

    .dashboard-welcome {
        border-radius: 10px;
    }

    .dashboard-actions .btn {
        justify-content: center;
        min-height: 34px;
        padding: 7px 9px;
        font-size: 11px;
    }

    .dashboard-stat-card {
        min-height: 84px;
        padding: 12px 56px 12px 12px;
    }

    .dashboard-stat-card strong {
        font-size: 22px;
    }

    .dashboard-stat-card > i {
        right: 10px;
        width: 38px;
        height: 38px;
        display: inline-flex;
        font-size: 17px;
    }

    .dashboard-recent-row {
        padding: 10px;
    }

    .dashboard-quick-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .mobile-menu-toggle {
        width: 48px;
        height: 48px;
        right: 16px;
        bottom: 16px;
        border-radius: 14px;
    }
}

.mission-card-list {
    display: grid;
    gap: 16px;
    width: 100%;
    padding: 16px;
}

.mission-list-card {
    display: grid;
    gap: 16px;
    width: 100%;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(59, 169, 255, .22);
    border-radius: 8px;
        /* background:
            linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(59, 169, 255, .07)),
            rgba(3, 8, 18, .72); */
    box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}

.mission-list-card:first-child {
    border-top: 1px solid rgba(59, 169, 255, .22);
}

.mission-list-card-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: flex-start;
}

.mission-list-card-title {
    margin: 0;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.mission-list-card-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.mission-list-card-field {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
}

.mission-list-card-field span {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.mission-list-card-field strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.mission-available-page .mission-list-card-field:nth-child(2),
.technician-offers-page .mission-list-card-field:nth-child(2),
.mission-assigned-page .mission-list-card-field:nth-child(4),
.mission-admin-page .mission-list-card-field:nth-child(4) {
    border-color: rgba(87, 184, 255, .46);
    background: linear-gradient(135deg, rgba(1, 146, 255, .18), rgba(3, 38, 89, .22));
}

.mission-available-page .mission-list-card-field:nth-child(2) span,
.technician-offers-page .mission-list-card-field:nth-child(2) span,
.mission-assigned-page .mission-list-card-field:nth-child(4) span,
.mission-admin-page .mission-list-card-field:nth-child(4) span,
.mission-available-page .mission-list-card-field:nth-child(2) strong,
.technician-offers-page .mission-list-card-field:nth-child(2) strong,
.mission-assigned-page .mission-list-card-field:nth-child(4) strong,
.mission-admin-page .mission-list-card-field:nth-child(4) strong {
    color: #9fd7ff;
}

.mission-available-page .mission-list-card-field:nth-child(3),
.technician-offers-page .mission-list-card-field:nth-child(3),
.mission-assigned-page .mission-list-card-field:nth-child(5),
.mission-admin-page .mission-list-card-field:nth-child(5) {
    border-color: rgba(81, 230, 168, .44);
    background: linear-gradient(135deg, rgba(26, 153, 102, .18), rgba(11, 69, 62, .22));
}

.mission-available-page .mission-list-card-field:nth-child(3) span,
.technician-offers-page .mission-list-card-field:nth-child(3) span,
.mission-assigned-page .mission-list-card-field:nth-child(5) span,
.mission-admin-page .mission-list-card-field:nth-child(5) span,
.mission-available-page .mission-list-card-field:nth-child(3) strong,
.technician-offers-page .mission-list-card-field:nth-child(3) strong,
.mission-assigned-page .mission-list-card-field:nth-child(5) strong,
.mission-admin-page .mission-list-card-field:nth-child(5) strong {
    color: #91f7c9;
}

.mission-available-page .mission-list-card-field:nth-child(4),
.technician-offers-page .mission-list-card-field:nth-child(4),
.mission-assigned-page .mission-list-card-field:nth-child(6),
.mission-admin-page .mission-list-card-field:nth-child(6) {
    border-color: rgba(255, 209, 102, .48);
    background: linear-gradient(135deg, rgba(245, 158, 11, .2), rgba(86, 54, 10, .24));
}

.mission-available-page .mission-list-card-field:nth-child(4) span,
.technician-offers-page .mission-list-card-field:nth-child(4) span,
.mission-assigned-page .mission-list-card-field:nth-child(6) span,
.mission-admin-page .mission-list-card-field:nth-child(6) span,
.mission-available-page .mission-list-card-field:nth-child(4) strong,
.technician-offers-page .mission-list-card-field:nth-child(4) strong,
.mission-assigned-page .mission-list-card-field:nth-child(6) strong,
.mission-admin-page .mission-list-card-field:nth-child(6) strong {
    color: #ffe19a;
}

.mission-available-page .mission-list-card-field:nth-child(2) strong,
.mission-available-page .mission-list-card-field:nth-child(3) strong,
.mission-available-page .mission-list-card-field:nth-child(4) strong,
.technician-offers-page .mission-list-card-field:nth-child(2) strong,
.technician-offers-page .mission-list-card-field:nth-child(3) strong,
.technician-offers-page .mission-list-card-field:nth-child(4) strong,
.mission-assigned-page .mission-list-card-field:nth-child(4) strong,
.mission-assigned-page .mission-list-card-field:nth-child(5) strong,
.mission-assigned-page .mission-list-card-field:nth-child(6) strong,
.mission-admin-page .mission-list-card-field:nth-child(4) strong,
.mission-admin-page .mission-list-card-field:nth-child(5) strong,
.mission-admin-page .mission-list-card-field:nth-child(6) strong {
    font-size: 15px;
    font-weight: 800;
}

.mission-list-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: flex-start;
}

.mission-list-card-actions .btn {
    min-height: 38px;
    min-width: 118px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mission-description-highlight {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 209, 102, .42);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 158, 11, .16), rgba(86, 54, 10, .18));
    color: #ffe19a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.65;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.mission-party-statuses {
    align-items: center;
}

.mission-party-status {
    min-height: 38px;
}

.mission-party-status .online-status {
    color: rgba(236, 242, 255, .72);
}

.mission-offer-card-technician {
    border-color: rgba(81, 230, 168, .28);
    background: linear-gradient(135deg, rgba(26, 153, 102, .10), rgba(11, 69, 62, .18));
}

.mission-offer-technician a,
.mission-offer-technician span:not(.mission-offer-avatar) {
    color: #91f7c9;
}

.mission-offer-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    color: #91f7c9;
    background: rgba(26, 153, 102, .22);
    border: 1px solid rgba(81, 230, 168, .34);
    box-shadow: 0 0 18px rgba(81, 230, 168, .18);
}

.mission-chat-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    color: #ffffff;
    font-weight: 700;
    background: rgba(15, 33, 70, .88);
}

.mission-chat-btn:hover {
    color: #ffffff;
    filter: brightness(1.08);
}

.mission-chat-btn-group {
    background: linear-gradient(135deg, rgba(74, 132, 255, .98), rgba(31, 93, 214, .96));
    border-color: rgba(157, 198, 255, .92);
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(157, 198, 255, .28), 0 12px 28px rgba(58, 124, 255, .36);
    position: relative;
}

.mission-chat-btn-group:hover {
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(190, 217, 255, .42), 0 16px 34px rgba(58, 124, 255, .48);
    transform: translateY(-1px);
}

.mission-chat-btn-garage_ceo {
    background: linear-gradient(135deg, rgba(0, 150, 170, .96), rgba(18, 104, 144, .92));
    border-color: rgba(105, 235, 244, .48);
}

.mission-chat-btn-technician_ceo {
    background: linear-gradient(135deg, rgba(12, 63, 118, .96), rgba(28, 104, 172, .92));
    border-color: rgba(114, 198, 255, .46);
}

.mission-top-actions {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}

.mission-top-actions .btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mission-action-btn {
    min-height: 42px;
    min-width: 118px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(105, 214, 255, .22);
    color: #f7fbff;
    background: linear-gradient(135deg, rgba(19, 45, 82, .86), rgba(12, 31, 62, .88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
    font-weight: 700;
}

.mission-action-btn:hover {
    color: #ffffff;
    border-color: rgba(105, 214, 255, .38);
    background: linear-gradient(135deg, rgba(25, 58, 104, .95), rgba(16, 42, 83, .95));
}

.mission-card-empty {
    padding: 24px 16px;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 640px) {
    .mission-top-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .mission-card-list {
        padding: 12px;
        gap: 12px;
    }

    .mission-list-card {
        padding: 14px;
    }

    .mission-list-card-header {
        display: grid;
        grid-template-columns: 1fr;
    }

    .mission-list-card-title {
        font-size: 18px;
    }

    .mission-list-card-meta {
        grid-template-columns: 1fr;
    }

    .mission-list-card-actions {
        justify-content: stretch;
    }

    .mission-list-card-actions .btn,
    .mission-list-card-actions form,
    .mission-list-card-actions form button {
        width: 100%;
    }
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.card-header,
.card-footer {
    background: transparent !important;
    border-color: var(--glass-border);
    color: var(--text-primary);
}

.list-group,
.list-group-item {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--glass-border);
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    --bs-table-border-color: var(--glass-border);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

.table thead th {
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.technician-offers-table td.offer-field-vehicle,
.technician-offers-table td.offer-field-plate,
.technician-offers-table td.offer-field-price {
    border-radius: 10px;
    font-weight: 800;
}

.technician-offers-table td.offer-field-vehicle {
    color: #9fd7ff;
    background: linear-gradient(135deg, rgba(1, 146, 255, .16), rgba(3, 38, 89, .2));
}

.technician-offers-table td.offer-field-plate {
    color: #91f7c9;
    background: linear-gradient(135deg, rgba(26, 153, 102, .16), rgba(11, 69, 62, .2));
}

.technician-offers-table td.offer-field-price {
    color: #ffe19a;
    background: linear-gradient(135deg, rgba(245, 158, 11, .18), rgba(86, 54, 10, .22));
}

.text-muted {
    color: var(--text-muted) !important;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: 12px;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
    border-color: var(--emerald-light);
    box-shadow: 0 0 0 0.2rem rgba(79, 143, 201, 0.18);
}

.form-control.is-invalid,
.form-select.is-invalid,
.form-input.is-invalid {
    border-color: #ff5f6d;
    box-shadow: 0 0 0 0.2rem rgba(255, 95, 109, 0.16);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus,
.form-input.is-invalid:focus {
    border-color: #ff5f6d;
    box-shadow: 0 0 0 0.24rem rgba(255, 95, 109, 0.22);
}

.form-control::placeholder {
    color: var(--text-muted);
}

input[type="date"].form-control::-webkit-calendar-picker-indicator,
input[type="time"].form-control::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(1.7);
    opacity: 0.95;
}

input[type="date"].form-control,
input[type="time"].form-control {
    color-scheme: dark;
}

[data-theme="light"] input[type="date"].form-control::-webkit-calendar-picker-indicator,
[data-theme="light"] input[type="time"].form-control::-webkit-calendar-picker-indicator {
    filter: none;
    opacity: 0.75;
}

[data-theme="light"] input[type="date"].form-control,
[data-theme="light"] input[type="time"].form-control {
    color-scheme: light;
}

.form-select option {
    background: #0e1b2e;
    color: #e5e7eb;
}

.btn {
    width: auto;
    border-radius: 12px;
}

.btn-primary,
.btn-success {
    background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
    border: 0;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger {
    color: var(--text-primary);
    border-color: var(--glass-border);
    background: rgba(255, 255, 255, 0.035);
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover {
    background: var(--glass-hover);
    border-color: var(--emerald-light);
}

.badge {
    border-radius: 999px;
}

.status-pill {
    color: #f8fbff !important;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(120, 135, 160, .72) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.status-draft,
.status-cancelled {
    background: linear-gradient(135deg, #596273, #343d4f) !important;
}

.status-pending-platform-validation,
.status-pending,
.status-en-attente-de-reception {
    color: #1d1402 !important;
    background: linear-gradient(135deg, #ffd166, #f2a93b) !important;
}

.status-published {
    background: linear-gradient(135deg, #3b82f6, #2458d8) !important;
}

.status-installation-in-progress {
    background: linear-gradient(135deg, #f97316, #c2410c) !important;
}

.status-appointment-postponed {
    color: #211505 !important;
    background: linear-gradient(135deg, #fde68a, #d97706) !important;
}

.status-technician-assignment,
.status-glass-ordered {
    color: #02151c !important;
    background: linear-gradient(135deg, #67e8f9, #22a8d6) !important;
}

.status-offer-accepted {
    background: linear-gradient(135deg, #22c55e, #15803d) !important;
}

.status-validated {
    background: linear-gradient(135deg, #16a34a, #166534) !important;
}

.status-waiting-garage-payment {
    color: #211505 !important;
    background: linear-gradient(135deg, #fbbf24, #d97706) !important;
}

.status-paid {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
}

.status-virement-envoye {
    background: linear-gradient(135deg, #0ea5e9, #0369a1) !important;
}

.status-client-info-sent {
    background: linear-gradient(135deg, #6366f1, #4338ca) !important;
}

.status-glass-received {
    background: linear-gradient(135deg, #14b8a6, #0f766e) !important;
}

.status-installation-completed {
    background: linear-gradient(135deg, #a855f7, #6d28d9) !important;
}

.status-technician-payment-released {
    color: #221403 !important;
    background: linear-gradient(135deg, #f59e0b, #b45309) !important;
}

.status-completed {
    background: linear-gradient(135deg, #0d9488, #115e59) !important;
}

.status-disputed,
.status-open,
.status-refused,
.status-refuse,
.status-blocked {
    background: linear-gradient(135deg, #fb7185, #be123c) !important;
}

.dropdown-menu {
    background: rgba(14, 27, 46, 0.98);
    border: 1px solid var(--glass-border);
}

.dropdown-item {
    color: var(--text-primary);
}

.dropdown-item:hover {
    background: var(--glass-hover);
}

.auth-logo-img {
    width: 450px;
    height: 170px;
    object-fit: contain;
}

.login-logo {
    background: transparent;
    box-shadow: none;
}

.login-page {
    position: relative;
    padding: 34px 18px;
    background:
        radial-gradient(circle at 22% 18%, rgba(1, 146, 255, .16), transparent 30%),
        radial-gradient(circle at 82% 82%, rgba(59, 169, 255, .12), transparent 28%);
}

.login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0 45%, rgba(1, 146, 255, .07) 50%, transparent 55% 100%);
    animation: authShine 7s ease-in-out infinite;
}

.login-container {
    animation: authRise .65s ease both;
}

.login-card {
    border-color: rgba(1, 146, 255, .28);
    background: linear-gradient(180deg, rgba(3, 38, 89, .38), rgba(0, 3, 10, .72)), var(--glass-bg);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.login-card::after {
    content: "";
    position: absolute;
    inset: auto 26px 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 169, 255, .62), transparent);
}

.login-header {
    margin-bottom: 28px;
}

.login-logo {
    width: auto;
    height: auto;
    margin-bottom: 12px;
}

.login-title {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
}

.login-subtitle {
    max-width: 380px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.55;
}

.form-input {
    background: rgba(255, 255, 255, .055);
    border-color: rgba(1, 146, 255, .22);
}

.form-input:focus {
    border-color: var(--gold-light);
    box-shadow: 0 0 0 4px rgba(1, 146, 255, .14), 0 0 24px rgba(1, 146, 255, .12);
}

.password-field {
    position: relative;
}

.password-field .form-input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    border: 1px solid rgba(1, 146, 255, .22);
    border-radius: 10px;
    background: rgba(1, 146, 255, .08);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.password-toggle:hover {
    background: rgba(1, 146, 255, .16);
    border-color: var(--gold-light);
}

.checkbox-label input {
    accent-color: var(--gold);
}

.forgot-link,
.login-footer a {
    color: var(--gold-light);
    font-weight: 700;
}

.theme-toggle-float {
    border-color: rgba(1, 146, 255, .28);
}

@keyframes authRise {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes authShine {
    0%, 100% {
        opacity: .35;
        transform: translateX(-8%);
    }
    50% {
        opacity: .75;
        transform: translateX(8%);
    }
}

.invalid-feedback {
    display: block;
    margin-top: 6px;
    color: #ff8a93;
    font-size: 12px;
}

.invalid-feedback strong {
    font-weight: 700;
}

.notification-menu {
    position: relative;
}

.notification-menu .nav-btn svg,
.nav-icon svg {
    width: 20px;
    height: 20px;
}

.notification-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(1, 146, 255, 0.35);
}

.notification-dropdown {
    position: absolute;
    top: 54px;
    right: -55px;
    width: min(380px, calc(100vw - 28px));
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0%, rgba(59, 169, 255, .18), transparent 32%),
        linear-gradient(180deg, rgba(3, 28, 64, 0.96), rgba(0, 3, 10, 0.98)),
        var(--glass-bg);
    border: 1px solid rgba(1, 146, 255, 0.34);
    border-radius: 14px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 255, 255, 0.035) inset;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .18s ease;
    z-index: 500;
}

.notification-menu.is-open {
    z-index: 1400;
}

.notification-menu:hover .notification-dropdown,
.notification-menu.is-open .notification-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-menu.is-open [data-notification-toggle] {
    border-color: rgba(59, 169, 255, 0.52);
    background: linear-gradient(135deg, rgba(1, 146, 255, 0.22), rgba(3, 38, 89, 0.32));
}

@media (hover: none) {
    .notification-menu:hover .notification-dropdown {
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
    }

    .notification-menu.is-open .notification-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .notification-dropdown {
        position: fixed;
        top: 74px;
        left: 12px;
        right: 12px;
        width: auto;
        max-height: calc(100vh - 96px);
        z-index: 1400;
    }

    .notification-dropdown-list {
        max-height: calc(100vh - 188px);
    }
}

.notification-dropdown-header,
.notification-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(1, 146, 255, 0.18);
    background: rgba(0, 3, 10, 0.32);
}

.notification-dropdown-header strong {
    border: 1px solid rgba(59, 169, 255, .28);
    border-radius: 999px;
    padding: 4px 9px;
    background: rgba(1, 146, 255, .13);
    color: #9fd7ff;
    font-size: 11px;
}

.notification-dropdown-list {
    max-height: 310px;
    overflow-y: auto;
    scrollbar-color: rgba(59, 169, 255, 0.72) rgba(245, 249, 250, 0.06);
    scrollbar-width: thin;
}

.notification-dropdown-list::-webkit-scrollbar {
    width: 8px;
}

.notification-dropdown-list::-webkit-scrollbar-track {
    background: rgba(245, 249, 250, 0.06);
}

.notification-dropdown-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    border-radius: 999px;
}

.notification-all {
    justify-content: center;
    border-top: 1px solid rgba(1, 146, 255, 0.18);
    border-bottom: 0;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.notification-all:hover {
    background: rgba(1, 146, 255, 0.14);
    color: #fff;
}

.notification-mini button {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(1, 146, 255, 0.12);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.notification-mini button:hover {
    background: rgba(1, 146, 255, 0.1);
}

.notification-mini.is-unread button,
.notification-unread {
    background: linear-gradient(90deg, rgba(1, 146, 255, 0.22), rgba(59, 169, 255, 0.08)) !important;
    border-left: 3px solid #3ba9ff;
}

.notification-mini strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
}

.notification-mini-content {
    min-width: 0;
    flex: 1;
}

.notification-mini-content > span {
    display: block;
    color: var(--text-secondary);
    font-size: 12.5px;
    line-height: 1.35;
}

.notification-mini-content small {
    display: block;
    margin-top: 4px;
    color: rgba(236, 242, 255, .52);
    font-size: 11px;
}

.notification-mini-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    background: rgba(1, 146, 255, .13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.notification-mini-icon i {
    color: #70c6ff;
    font-size: 15px;
    line-height: 1;
}

.notification-empty {
    padding: 22px 18px;
    color: var(--text-muted);
    display: grid;
    place-items: center;
    gap: 8px;
    text-align: center;
}

.notification-empty i {
    font-size: 24px;
    color: rgba(59, 169, 255, .72);
}

[data-theme="light"] .notification-dropdown {
    background:
        linear-gradient(180deg, rgba(246, 249, 253, 0.98), rgba(226, 232, 240, 0.98)),
        var(--glass-bg);
    border-color: rgba(1, 146, 255, 0.2);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16);
}

[data-theme="light"] .notification-dropdown-header,
[data-theme="light"] .notification-all {
    background: rgba(255, 255, 255, 0.62);
}

[data-theme="light"] .notification-mini strong {
    color: var(--text-primary);
}

[data-theme="light"] .notification-mini-content small {
    color: rgba(15, 23, 42, .56);
}

[data-theme="light"] .notification-mini.is-unread button,
[data-theme="light"] .notification-unread {
    background: linear-gradient(90deg, rgba(1, 146, 255, 0.14), rgba(1, 146, 255, 0.04)) !important;
}

.chat-shell {
    height: calc(100vh - 190px);
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 22px;
}

.chat-composer {
    background: transparent !important;
}

.chat-composer .d-flex {
    min-width: 0;
}

.chat-compliance-notice {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 8px;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #071428;
    box-shadow: 0 10px 26px rgba(1, 146, 255, .18);
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.25;
}

[data-theme="light"] .chat-compliance-notice {
    border-color: rgba(1, 146, 255, .18);
    background: rgba(7, 20, 40, .92);
    color: #fff;
}

.chat-participant-statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chat-participant-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
}

.chat-participant-name {
    font-weight: 700;
}

.chat-participant-status-garage {
    border-color: rgba(87, 184, 255, .45);
    background: rgba(1, 146, 255, .14);
}

.chat-participant-status-garage .chat-participant-name {
    color: #9fd7ff;
}

.chat-participant-status-technician {
    border-color: rgba(81, 230, 168, .42);
    background: rgba(26, 153, 102, .14);
}

.chat-participant-status-technician .chat-participant-name {
    color: #91f7c9;
}

.typing-indicator {
    min-height: 24px;
    color: rgba(236, 242, 255, .7);
    font-size: .88rem;
    font-style: italic;
}

.chat-row {
    display: flex;
    margin-bottom: 14px;
}

.chat-row-mine {
    justify-content: flex-end;
}

.chat-row-other {
    justify-content: flex-start;
}

.chat-bubble {
    max-width: min(680px, 78%);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 14px;
    position: relative;
}

.chat-bubble-mine {
    background: rgba(79, 143, 201, .22);
}

.chat-bubble-other {
    background: rgba(255,255,255,.055);
}

.chat-bubble-role-garage {
    border-color: rgba(87, 184, 255, .45);
    background: linear-gradient(135deg, rgba(1, 146, 255, .23), rgba(3, 38, 89, .34));
}

.chat-bubble-role-technician {
    border-color: rgba(81, 230, 168, .42);
    background: linear-gradient(135deg, rgba(26, 153, 102, .24), rgba(11, 69, 62, .34));
}

.chat-bubble-role-platform {
    border-color: rgba(255, 209, 102, .44);
    background: linear-gradient(135deg, rgba(245, 158, 11, .22), rgba(86, 54, 10, .32));
}

.chat-sender-name {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.chat-sender-link {
    font-weight: 800;
    text-decoration: none;
}

.chat-sender-link:hover {
    text-decoration: underline;
}

.chat-sender-name::before {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 999px;
    background: rgba(236, 242, 255, .7);
    box-shadow: 0 0 0 3px rgba(236, 242, 255, .08);
}

.chat-bubble-role-garage .chat-sender-name {
    color: #9fd7ff;
}

.chat-bubble-role-garage .chat-sender-name::before {
    background: #57b8ff;
    box-shadow: 0 0 0 3px rgba(87, 184, 255, .16), 0 0 16px rgba(87, 184, 255, .48);
}

.chat-bubble-role-technician .chat-sender-name {
    color: #91f7c9;
}

.chat-bubble-role-technician .chat-sender-name::before {
    background: #51e6a8;
    box-shadow: 0 0 0 3px rgba(81, 230, 168, .16), 0 0 16px rgba(81, 230, 168, .45);
}

.chat-bubble-role-platform .chat-sender-name {
    color: #ffe19a;
}

.mission-client-info {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 105, 105, .42);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 105, 105, .14), rgba(59, 169, 255, .08));
    color: var(--text-primary);
}

.mission-client-info-hot {
    border-color: rgba(255, 105, 105, .62);
    background: linear-gradient(135deg, rgba(255, 105, 105, .2), rgba(245, 158, 11, .12));
}

.mission-client-info span {
    color: #ffb4b4;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.mission-client-info strong,
.mission-client-info a {
    color: #fff;
    font-weight: 900;
}

.mission-client-info a {
    text-decoration: none;
}

.mission-client-info a:hover {
    text-decoration: underline;
}

.mission-client-hidden {
    display: inline-flex;
    padding: 8px 11px;
    border-radius: 999px;
    color: #9fb0c8;
    background: rgba(255, 255, 255, .07);
    font-size: 12px;
    font-weight: 800;
}

.chat-bubble-role-platform .chat-sender-name::before {
    background: #ffd166;
    box-shadow: 0 0 0 3px rgba(255, 209, 102, .18), 0 0 16px rgba(255, 209, 102, .42);
}

.chat-icon-actions {
    position: absolute;
    top: 6px;
    right: 8px;
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity .15s ease;
}

.chat-bubble:hover .chat-icon-actions {
    opacity: 1;
}

.chat-icon-btn {
    border: 0;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: rgba(236, 242, 255, .85);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    font-weight: 700;
}

.chat-icon-btn:hover {
    background: rgba(79, 143, 201, .34);
}

.chat-icon-danger:hover {
    background: rgba(220, 53, 69, .34);
    color: #fff;
}

.chat-attachment-pending {
    border: 1px dashed rgba(116, 178, 255, .55);
    background: rgba(13, 34, 72, .55);
    color: #d9e8ff;
    border-radius: 12px;
    padding: 12px 14px;
}

.chat-attachment-review {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 10px;
}

.chat-attachment-review-label {
    color: #9dc6ff;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.chat-file .chat-attachment {
    max-height: 360px;
    object-fit: contain;
    background: rgba(0, 0, 0, .2);
}

.chat-message-body {
    line-height: 1.35;
}

.chat-edit-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(79, 143, 201, .18);
    border: 1px solid var(--glass-border);
}

.chat-receipt {
    margin-top: 8px;
    text-align: right;
    font-size: .78rem;
}

.chat-receipt summary {
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.chat-receipt summary::-webkit-details-marker {
    display: none;
}

.chat-receipt-delivered {
    color: rgba(236, 242, 255, .55);
}

.chat-receipt-read {
    color: #57b8ff;
}

.chat-checks {
    letter-spacing: -3px;
    padding-right: 3px;
    font-weight: 700;
}

.chat-receipt-details {
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    color: rgba(236, 242, 255, .78);
    text-align: left;
    line-height: 1.5;
}

.chat-attachment {
    max-height: 220px;
}

@media (max-width: 576px) {
    .mobile-menu-toggle.mobile-menu-toggle-chat {
        bottom: 96px;
        right: 18px;
    }

    .chat-shell {
        height: calc(100vh - 150px);
    }

    .chat-messages {
        padding: 14px;
    }

    .chat-composer {
        padding-right: 76px;
    }

    .chat-composer .d-flex {
        flex-wrap: wrap;
    }

    .chat-composer .form-control[type="file"] {
        min-width: 0;
        flex: 1 1 145px;
    }

    .chat-composer .btn {
        flex: 0 0 auto;
        min-width: 86px;
        padding-left: 14px;
        padding-right: 14px;
    }
}

.report-summary {
    display: grid;
    gap: 14px;
}

.report-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.report-meta-item {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(255,255,255,.055);
}

.report-meta-item span {
    display: block;
    color: rgba(236, 242, 255, .64);
    font-size: .78rem;
}

.report-meta-item strong {
    display: block;
    margin-top: 2px;
}

.report-note {
    border-left: 3px solid var(--accent);
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.045);
    color: rgba(236, 242, 255, .82);
}

.report-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 12px;
}

.report-photo-card {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,.045);
}

.report-photo-link {
    display: block;
    aspect-ratio: 4 / 3;
    background: rgba(0,0,0,.16);
}

.report-photo-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.report-photo-caption {
    padding: 8px 10px;
    font-size: .82rem;
    font-weight: 600;
}

.report-photo-action {
    padding: 0 10px 10px;
}

.form-label.required::after {
    content: " *";
    color: #ff6b6b;
    font-weight: 700;
}

.platform-post-form {
    display: grid;
    gap: 14px;
}

.platform-post-body {
    min-height: 130px;
    resize: vertical;
}

.platform-post-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.platform-post-file {
    max-width: 420px;
}

@media (max-width: 576px) {
    .platform-post-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .platform-post-file,
    .platform-post-footer .btn {
        width: 100%;
        max-width: 100%;
    }
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--emerald), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.post-body {
    max-width: 980px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.post-actions {
    display: flex;
    gap: 10px;
    padding: 14px 0;
}

.comment {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    margin-bottom: 8px;
}

.comment-delete,
.comment-edit {
    border: 0;
    background: transparent;
    color: var(--gold-light);
    font-size: 12px;
}

.profile-hero {
    display: flex;
    gap: 22px;
    align-items: center;
}

.profile-photo-large {
    width: 104px;
    height: 104px;
    border-radius: 24px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,.06);
}

.stars {
    color: #fbbf24;
    letter-spacing: 2px;
}

.auth-wide {
    max-width: 560px;
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}

.auth-actions .form-check-label {
    color: var(--text-secondary);
}

.auth-link {
    color: var(--gold-light);
}

.auth-link:hover {
    color: var(--text-primary);
}

/* @media (max-width: 768px) {
    .app-logo {
        width: 210px;
    }
} */
