* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #111827;
}

a {
    color: inherit;
}

.app-body {
    min-height: 100vh;
}

/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e8edf5;
}

.site-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.brand-subtitle {
    font-size: 12px;
    color: #6b7280;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.top-nav-link {
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 12px;
    color: #2563eb;
    background: #eef2ff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.top-nav-link:hover {
    background: #dbeafe;
    color: #1d4ed8;
    transform: translateY(-1px);
}

.top-nav-link-active {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.header-user-block {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.header-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

/* =========================
   PAGE SHELL
========================= */

.page-shell {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

/* =========================
   COMMON BLOCKS
========================= */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.page-title {
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
}

.page-title-strong {
    font-weight: 700;
}

.page-title-light {
    font-weight: 400;
    color: #6b7280;
    margin-left: 8px;
}

.page-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    border: 1px solid #edf0f5;
    margin-bottom: 24px;
}

.section-title {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s, filter 0.15s;
}

.btn:hover {
    transform: translateY(-1px);
    opacity: 0.97;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.btn-secondary {
    background: #eef2ff;
    color: #2563eb;
}

.btn-tab {
    background: #eef2ff;
    color: #2563eb;
    border: none;
    box-shadow: none;
}

.btn-tab:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.btn-tab-active {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.btn-tab.btn-tab-active:hover {
    background: #2563eb;
    color: #ffffff;
}

.btn-success {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.22);
}

.btn-danger {
    background: #dc2626;
    color: #ffffff;
}

.btn-small {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
}

.btn-wide {
    width: 100%;
}

.btn-logout {
    min-height: 40px;
}

.btn-import-shortcut {
    min-width: 44px;
    padding: 0 12px;
}

/* =========================
   FLASH
========================= */

.flash-stack {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flash-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 16px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid transparent;
}

.flash-message-text {
    flex: 1;
}

.flash-close {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    padding: 0;
    opacity: 0.7;
}

.flash-close:hover {
    opacity: 1;
}

.flash-success {
    background: #ecfdf3;
    color: #166534;
    border-color: #bbf7d0;
}

.flash-warning {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

.flash-danger {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.flash-info {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

/* =========================
   DASHBOARD
========================= */

.dashboard-page {
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-card {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.22);
}

.welcome-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.welcome-name {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
}

.welcome-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    max-width: 700px;
    opacity: 0.96;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.dashboard-card {
    display: block;
    text-decoration: none;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    border: 1px solid #edf0f5;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.dashboard-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    font-size: 24px;
    margin-bottom: 16px;
}

.dashboard-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.dashboard-card-text {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

/* =========================
   BUDGET
========================= */

.budget-page {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.stat-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #edf0f5;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}

.stat-card-income {
    border-left: 5px solid #16a34a;
}

.stat-card-expense {
    border-left: 5px solid #dc2626;
}

.stat-card-balance {
    border-left: 5px solid #2563eb;
}

.stat-card-current {
    border-left: 5px solid #7c3aed;
}

.budget-manage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.big-balance {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
    line-height: 1.2;
}

.form-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.form-input {
    height: 46px;
    border: 1px solid #d6dbe4;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-input-compact {
    max-width: 240px;
    height: 40px;
    font-size: 14px;
}

.filter-card {
    margin-bottom: 24px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    align-items: end;
}

.filter-actions {
    display: flex;
    align-items: end;
}

.table-card {
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.data-table thead tr {
    background: #f8fafc;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid #edf0f5;
    vertical-align: middle;
}

.data-table td:first-child,
.data-table th:first-child {
    padding-left: 18px;
}

.data-table td:last-child,
.data-table th:last-child {
    padding-right: 18px;
}

.data-table th {
    font-size: 14px;
    color: #475569;
    font-weight: 700;
}

.data-table td {
    font-size: 15px;
    color: #111827;
}

.data-table tbody tr {
    transition: background 0.15s ease;
}

.data-table tbody tr:hover {
    background: #f8fafc;
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bulk-table-actions {
    justify-content: flex-end;
}

.shootings-archive-actions {
    margin-top: 8px;
}

.bulk-actions-hidden .bulk-delete-selected-form,
.bulk-actions-hidden .bulk-delete-all-form {
    display: none !important;
}

.bulk-actions-hidden .bulk-cancel-selection-btn {
    display: none !important;
}

.bulk-selection-hidden .bulk-col {
    display: none !important;
}

.bulk-col {
    width: 46px;
    min-width: 46px;
    text-align: center !important;
}

.bulk-col input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.inline-form {
    display: inline;
    margin: 0;
}

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.badge-income {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.badge-expense {
    background: rgba(220, 38, 38, 0.12);
    color: #991b1b;
}

.empty-state {
    padding: 20px;
    border-radius: 14px;
    background: #f8fafc;
    color: #64748b;
    text-align: center;
}

.empty-state-centered {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

.empty-state-horizontal-only {
    width: 100%;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.empty-table-message {
    padding: 36px 20px !important;
    text-align: center;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
}

.edit-card {
    max-width: 680px;
}

/* =========================
   LOGIN
========================= */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    border: 1px solid #edf0f5;
}

.login-title {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.login-subtitle {
    margin: 0 0 24px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .page-shell {
        padding: 18px 12px 32px;
    }

    .page-title {
        font-size: 26px;
    }

    .stat-value,
    .big-balance {
        font-size: 28px;
    }

    .card,
    .welcome-card,
    .dashboard-card {
        padding: 18px;
    }

    .site-header-inner {
        padding: 12px;
    }

    .top-nav {
        width: 100%;
    }
}
.budget-manage-grid-top {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 300px;
    align-items: start;
}
@media (max-width: 800px) {
    .budget-manage-grid-top {
        grid-template-columns: 1fr;
    }
}
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-pill-done {
    background: rgba(22, 163, 74, 0.14);
    color: #166534;
}

.status-pill-work {
    background: rgba(245, 158, 11, 0.16);
    color: #92400e;
}
/* =========================
   MOBILE ADAPTATION
========================= */

@media (max-width: 1024px) {
    .site-header-inner {
        gap: 12px;
        align-items: flex-start;
    }

    .top-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .header-user-block {
        width: 100%;
        justify-content: space-between;
    }

    .two-column-grid,
    .budget-manage-grid,
    .budget-manage-grid-top {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .page-shell {
        padding: 14px 10px 24px;
    }

    .site-header {
        position: static;
    }

    .site-header-inner {
        padding: 12px 10px;
        flex-direction: column;
        align-items: stretch;
    }

    .brand {
        justify-content: flex-start;
    }

    .top-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .top-nav-link {
        text-align: center;
        padding: 10px 12px;
        font-size: 13px;
    }

    .header-user-block {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    .header-user-name {
        font-size: 13px;
    }

    .page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 18px;
    }

    .page-title {
        font-size: 24px;
    }

    .page-title-light {
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }

    .page-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .btn,
    .btn-wide,
    .btn-compact {
        width: 100%;
        min-height: 42px;
    }

    .card,
    .welcome-card,
    .dashboard-card,
    .notification-card {
        padding: 16px;
        border-radius: 16px;
    }

    .welcome-name {
        font-size: 26px;
    }

    .welcome-text,
    .welcome-label {
        font-size: 14px;
    }

    .dashboard-grid,
    .stats-grid,
    .notification-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dashboard-card-icon {
        width: 46px;
        height: 46px;
        font-size: 22px;
        margin-bottom: 12px;
    }

    .dashboard-card-title {
        font-size: 18px;
    }

    .dashboard-card-text {
        font-size: 13px;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-input,
    .form-input-compact {
        width: 100%;
        max-width: 100%;
        height: 42px;
        font-size: 14px;
    }

    .table-card {
        padding: 14px;
    }

    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table {
        min-width: 640px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .table-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .table-actions .btn,
    .table-actions .btn-small {
        width: 100%;
    }

    .status-switch {
        flex-direction: column;
        align-items: stretch;
    }

    .status-switch form {
        width: 100%;
    }

    .status-btn {
        width: 100%;
    }

    .flash-message {
        padding: 12px 14px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .brand-badge {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 12px;
    }

    .brand-title {
        font-size: 18px;
    }

    .brand-subtitle {
        font-size: 11px;
    }

    .top-nav {
        grid-template-columns: 1fr;
    }

    .header-user-block {
        flex-direction: column;
        align-items: stretch;
    }

    .page-title {
        font-size: 22px;
    }

    .welcome-name {
        font-size: 22px;
    }

    .dashboard-card,
    .card,
    .welcome-card {
        padding: 14px;
    }

    .btn {
        font-size: 13px;
    }
}
/* =========================
   PASSWORD EYE (CLEAN UI)
========================= */

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.1s ease;
}

.password-toggle:hover {
    background: #f1f5f9;
}

.password-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

/* сам глаз */
.eye-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

/* форма глаза */
.eye-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #64748b;
    border-radius: 12px / 8px;
}

/* зрачок */
.eye-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #64748b;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* активное состояние (когда показан пароль) */
.password-toggle.is-visible .eye-icon::before {
    border-color: #0f172a;
}

.password-toggle.is-visible .eye-icon::after {
    background: #0f172a;
}
/* =========================
   INPUTS (ОДИНАКОВЫЕ ПОЛЯ)
========================= */

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    background: #ffffff;
    transition: border 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
    outline: none;
}
* обёртка пароля */
.password-input-wrap {
    position: relative;
    width: 100%;
}

/* поле пароля (делаем ОДИНАКОВЫМ с логином) */
.password-input-wrap .form-input {
    height: 44px;
    padding: 0 44px 0 14px; /* место под глаз */
}
.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
}
/* =========================
   LOGIN PASSWORD TOGGLE
========================= */

.password-input-wrap {
    position: relative;
}

.password-input-wrap .form-input {
    padding-right: 54px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.15s ease, transform 0.15s ease;
}

.password-toggle:hover {
    background: #f1f5f9;
}

.password-toggle.is-visible {
    background: #e2e8f0;
}

.field-hint {
    margin-top: 8px;
    font-size: 13px;
    color: #64748b;
}

/* =========================
   CAR TABLES
========================= */

.data-table-car {
    table-layout: fixed;
}

.data-table-car th,
.data-table-car td {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    vertical-align: top;
}

.data-table-car td .status-pill {
    white-space: nowrap;
}

.data-table-car td:last-child {
    width: 150px;
}

/* =========================
   NOTIFICATIONS
========================= */

.status-pill-alert {
    background: rgba(220, 38, 38, 0.12);
    color: #991b1b;
}

.notification-card-custom {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notification-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.notification-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.notification-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.notification-meta-item {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.notification-meta-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.notification-meta-value {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    word-break: break-word;
}

.notification-description-block {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.notification-description-text {
    font-size: 15px;
    color: #1e293b;
    line-height: 1.55;
    word-break: break-word;
}

/* =========================
   SMALL SCREENS
========================= */

    .notification-card-top {
        flex-direction: column;
        align-items: flex-start;
    }
/* =========================
   BALANCE HISTORY CARDS
========================= */

.balance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 140px));
    gap: 14px;
    justify-content: start;
}

.balance-month-card {
    width: 140px;
    min-height: 90px;
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    overflow: hidden;
}

.balance-month-name {
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    line-height: 1.3;
    word-break: break-word;
}

.balance-month-value {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    word-break: break-word;
}

@media (max-width: 768px) {
    .balance-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 120px));
        gap: 12px;
    }

    .balance-month-card {
        width: 120px;
        min-height: 120px;
        padding: 12px;
        border-radius: 16px;
    }

    .balance-month-name {
        font-size: 13px;
    }

    .balance-month-value {
        font-size: 18px;
    }
}
.data-table-car {
    table-layout: fixed;
    width: 100%;
}

.data-table-car th,
.data-table-car td {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    vertical-align: top;
}

.table-header-with-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.table-sort-form {
    min-width: 220px;
}

.form-input-small {
    height: 40px;
    min-width: 220px;
}

.table-actions-fixed {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex-wrap: nowrap;
}

.btn-fixed-action {
    min-width: 120px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.status-pill-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.notification-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.notification-actions-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.notification-close-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.notification-close-btn:hover {
    background: #fecaca;
}

.stat-card-active {
    outline: 2px solid rgba(99, 102, 241, 0.25);
}

@media (max-width: 768px) {
    .table-actions-fixed {
        flex-wrap: wrap;
    }

    .btn-fixed-action {
        min-width: 100%;
    }
}

/* ===== Shans car/notifications fixes ===== */
.data-table-car td:last-child {
    width: 220px;
}

.table-actions-fixed {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex-wrap: nowrap;
}

.table-actions-fixed .inline-form {
    display: flex;
}

.btn-fixed-action {
    min-width: 128px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.notification-card-custom,
.notification-title,
.notification-meta-value,
.notification-description-text {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.notification-actions-top .status-pill,
.status-change-row .status-pill {
    white-space: nowrap;
}

.status-change-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.status-arrow {
    font-size: 18px;
    font-weight: 700;
    color: #64748b;
}

@media (max-width: 768px) {
    .table-actions-fixed {
        flex-wrap: wrap;
    }

    .btn-fixed-action {
        width: 100%;
    }

    .data-table-car td:last-child {
        width: auto;
    }
}
.car-notifications-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.notification-filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.notification-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #d9dbe3;
    background: #ffffff;
    color: #1f2937;
    font-weight: 600;
    transition: 0.2s ease;
}

.notification-filter-chip:hover {
    transform: translateY(-1px);
}

.notification-filter-chip.active {
    background: #1f2937;
    color: #ffffff;
    border-color: #1f2937;
}

.notification-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

.notification-filter-chip:not(.active) .notification-filter-count {
    background: #eef1f5;
    color: #111827;
}

.notifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.notification-card {
    background: #ffffff;
    border: 1px solid #e6e8ef;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.notification-card.status-need {
    border-left: 5px solid #ef4444;
}

.notification-card.status-soon {
    border-left: 5px solid #f59e0b;
}

.notification-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.notification-card-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    flex: 1 1 220px;
}

.notification-card-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.35;
    word-break: break-word;
}

.notification-status-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.notification-status-badge.danger {
    background: #fee2e2;
    color: #b91c1c;
}

.notification-status-badge.warning {
    background: #fef3c7;
    color: #b45309;
}

.notification-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.small-btn {
    padding: 9px 14px;
    white-space: nowrap;
}

.icon-delete-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-delete-btn:hover {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fef2f2;
}

.notification-card-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.notification-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.notification-meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.notification-meta-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    font-weight: 700;
}

.notification-meta-value {
    color: #111827;
    font-weight: 600;
    word-break: break-word;
}

.notification-description-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.notification-description-text {
    margin: 0;
    line-height: 1.55;
    color: #1f2937;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.empty-state-card {
    background: #ffffff;
    border: 1px dashed #d1d5db;
    border-radius: 18px;
    padding: 32px 20px;
    text-align: center;
}

.empty-state-card h3 {
    margin: 0 0 8px 0;
}

.empty-state-card p {
    margin: 0;
    color: #6b7280;
}

@media (max-width: 700px) {
    .notification-card-header {
        flex-direction: column;
        align-items: stretch;
    }

    .notification-card-actions {
        justify-content: flex-start;
    }

    .notification-meta-grid {
        grid-template-columns: 1fr;
    }
}
.archive-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef2f7;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
}
.table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.table-toolbar-title h2 {
    margin: 0;
}

.table-toolbar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.table-action-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.table-action-group form {
    margin: 0;
}

.status-link {
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.status-link.in-progress {
    color: #b45309;
}

.status-link.in-progress:hover {
    text-decoration: underline;
}

.status-text {
    font-weight: 600;
}

.small-btn {
    white-space: nowrap;
}

.table-responsive td,
.table-responsive th,
.car-table td,
.car-table th {
    vertical-align: top;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.page-header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.content-grid.single-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.content-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.table-toolbar-title h2 {
    margin: 0;
    font-size: 22px;
}

.table-toolbar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.car-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.car-table th,
.car-table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e5e7eb;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.car-table th {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
    font-weight: 700;
    background: #f9fafb;
}

.car-table td {
    color: #111827;
    line-height: 1.45;
}

.table-action-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.table-action-group form {
    margin: 0;
}

.status-link {
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.status-link.in-progress {
    color: #b45309;
}

.status-link.in-progress:hover {
    text-decoration: underline;
}

.status-text {
    font-weight: 600;
    color: #374151;
}

.empty-state-card {
    background: #ffffff;
    border: 1px dashed #d1d5db;
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
}

.empty-state-card h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
}

.empty-state-card p {
    margin: 0;
    color: #6b7280;
}

.small-btn {
    padding: 9px 14px;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
}

.primary-btn,
.secondary-btn,
.danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.primary-btn {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.primary-btn:hover {
    background: #1f2937;
}

.secondary-btn {
    background: #ffffff;
    color: #111827;
    border-color: #d1d5db;
}

.secondary-btn:hover {
    background: #f9fafb;
}

.danger-btn {
    background: #ffffff;
    color: #b91c1c;
    border-color: #fecaca;
}

.danger-btn:hover {
    background: #fef2f2;
}

@media (max-width: 900px) {
    .car-table {
        min-width: 900px;
    }
}
/* =========================
   CAR BEAUTY REFRESH
========================= */

.car-stats-grid {
    margin-bottom: 24px;
}

.car-tab-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.car-tab-actions {
    margin-left: auto;
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.car-tab-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    white-space: nowrap;
    border-radius: 14px;
    text-decoration: none;
    background: transparent;
    color: #3730a3;
    border: 1px solid #c7d2fe;
    font-weight: 700;
    transition: 0.15s ease;
}

.car-tab-link:hover {
    transform: translateY(-1px);
    background: #eef2ff;
    color: #312e81;
}

.car-tab-link-active {
    background: #4338ca;
    color: #ffffff;
    border-color: #4338ca;
    box-shadow: 0 8px 20px rgba(67, 56, 202, 0.24);
}

.car-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 12px;
    font-weight: 700;
}

.car-tab-link:not(.car-tab-link-active) .car-tab-count {
    background: #e0e7ff;
    color: #3730a3;
}

.notifications-list-pretty {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notification-card-pretty {
    margin-bottom: 0;
}

.notification-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.table-actions-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.table-actions-icon .inline-form {
    display: flex;
    margin: 0;
}

.icon-action-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: 0.15s ease;
    padding: 0;
}

.btn-icon-mobile-glyph {
    display: none;
}

.icon-action-btn:hover {
    transform: translateY(-1px);
}

.icon-edit:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

.icon-complete:hover {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.icon-export:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

.icon-delete:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.data-table-car td:last-child {
    width: 110px;
}

.data-table-car td,
.data-table-car th {
    vertical-align: top;
}

.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: "";
    position: absolute;
    right: -20px;
    top: -20px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.06);
}

@media (max-width: 768px) {
    .car-tab-bar {
        display: grid;
        grid-template-columns: 1fr;
    }

    .car-tab-link {
        justify-content: space-between;
    }

    .car-tab-actions {
        margin-left: 0;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .car-tab-actions .btn {
        width: 100%;
        text-align: center;
    }

    .table-actions-icon {
        flex-wrap: wrap;
    }

    .data-table-car td:last-child {
        width: auto;
    }
}
/* =========================
   CAR FORMS BEAUTY
========================= */

.car-form-card {
    max-width: 860px;
}

.car-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.car-form-full {
    grid-column: 1 / -1;
}

.car-textarea {
    min-height: 120px;
    height: auto;
    padding: 14px;
    resize: vertical;
}

.car-form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.car-complete-top {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 18px;
}

.car-complete-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

/* =========================
   CAR NOTIFICATIONS BEAUTY
========================= */

.notifications-list-pretty {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notification-card-pretty {
    margin-bottom: 0;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    border: 1px solid #edf0f5;
}

.notification-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.notification-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.notification-actions-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.notification-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 12px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: 0.15s ease;
}

.notification-close-btn:hover {
    background: #fecaca;
    transform: translateY(-1px);
}

.car-tab-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.car-tab-actions {
    margin-left: auto;
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.car-tab-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    white-space: nowrap;
    border-radius: 14px;
    text-decoration: none;
    background: transparent;
    color: #3730a3;
    border: 1px solid #c7d2fe;
    font-weight: 700;
    transition: 0.15s ease;
}

.car-tab-link:hover {
    transform: translateY(-1px);
    background: #eef2ff;
    color: #312e81;
}

.car-tab-link-active {
    background: #4338ca;
    color: #ffffff;
    border-color: #4338ca;
    box-shadow: 0 8px 20px rgba(67, 56, 202, 0.24);
}

.car-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 12px;
    font-weight: 700;
}

.car-tab-link:not(.car-tab-link-active) .car-tab-count {
    background: #e0e7ff;
    color: #3730a3;
}

/* =========================
   ARCHIVE BUTTON
========================= */

.archive-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef2f7;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .car-form-grid {
        grid-template-columns: 1fr;
    }

    .car-tab-bar {
        display: grid;
        grid-template-columns: 1fr;
    }

    .car-tab-link {
        justify-content: space-between;
    }

    .car-tab-actions {
        margin-left: 0;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .car-tab-actions .btn {
        width: 100%;
        text-align: center;
    }

    .notification-card-top {
        flex-direction: column;
        align-items: stretch;
    }

    .notification-actions-top {
        justify-content: flex-start;
    }

    .car-form-actions .btn {
        width: 100%;
    }
}
/* =========================
   CAR FORMS STYLE
========================= */

.car-form-card {
    max-width: 860px;
}

.car-form-head {
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.car-form-head-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.car-form-head-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.car-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.car-form-full {
    grid-column: 1 / -1;
}

.car-textarea {
    min-height: 120px;
    height: auto;
    padding: 14px;
    resize: vertical;
}

.car-form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.car-complete-top {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 18px;
}

.car-complete-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

/* =========================
   ICON ACTIONS
========================= */

.table-actions-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.table-actions-icon .inline-form {
    display: flex;
    margin: 0;
}

.icon-action-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: 0.15s ease;
    padding: 0;
}

.icon-action-btn:hover {
    transform: translateY(-1px);
}

.icon-edit:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

.icon-complete:hover {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.icon-export:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

.icon-delete:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

/* =========================
   COMPLETE STATUS BLOCK
========================= */

.status-change-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.status-arrow {
    font-size: 18px;
    font-weight: 700;
    color: #64748b;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .car-form-grid {
        grid-template-columns: 1fr;
    }

    .car-form-actions .btn {
        width: 100%;
    }

    .table-actions-icon {
        flex-wrap: wrap;
    }
}
/* =========================
   CAR MANAGE
========================= */

.car-manage-done-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.car-manage-inner-grid {
    margin-top: 2px;
}

#done-fields-box[style*="display: none"] {
    display: none !important;
}
/* =========================
   NOTIFICATION INNER BEAUTY
========================= */

.notification-info-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 2px;
}

.notification-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 16px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-info-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.notification-info-value {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.notification-note-card {
    margin-top: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
}

.notification-note-text {
    margin-top: 8px;
    font-size: 15px;
    color: #1e293b;
    line-height: 1.65;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

.notification-card-pretty {
    padding: 22px;
}

.notification-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
}

.notification-title-wrap {
    gap: 12px;
}

.notification-actions-top {
    align-items: flex-start;
}

@media (max-width: 768px) {
    .notification-info-layout {
        grid-template-columns: 1fr;
    }

    .notification-note-card {
        margin-top: 12px;
    }
}
/* =========================
   NOTIFICATIONS TABLE
========================= */

.notifications-table {
    width: 100%;
    table-layout: fixed;
}

.notifications-table th,
.notifications-table td {
    vertical-align: top;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.notifications-table th:nth-child(1),
.notifications-table td:nth-child(1) {
    width: 46px;
}

.notifications-table th:nth-child(2),
.notifications-table td:nth-child(2) {
    width: 22%;
}

.notifications-table th:nth-child(3),
.notifications-table td:nth-child(3) {
    width: 16%;
}

.notifications-table th:nth-child(4),
.notifications-table td:nth-child(4) {
    width: 14%;
}

.notifications-table th:nth-child(5),
.notifications-table td:nth-child(5) {
    width: 24%;
}

.notifications-table th:nth-child(6),
.notifications-table td:nth-child(6) {
    width: 14%;
}

.notifications-table th:nth-child(7),
.notifications-table td:nth-child(7) {
    width: 10%;
}

@media (max-width: 900px) {
    .notifications-table {
        min-width: 980px;
    }
}

/* =========================
   SHOOTINGS IN CAR STYLE
========================= */

.shooting-page {
    max-width: 1200px;
    margin: 0 auto;
}

.shooting-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.shooting-summary-card {
    min-height: 150px;
}

.shooting-clickable-row {
    cursor: pointer;
}

.shooting-money-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.shooting-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.shooting-money-box {
    margin-top: 6px;
    margin-bottom: 18px;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.22);
    color: #ffffff;
}

.shooting-money-label {
    color: rgba(255, 255, 255, 0.9);
}

.shooting-money-value {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
}

.nearest-shooting-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .shooting-detail-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   SHOOTINGS POLISH
========================= */

.shooting-page {
    max-width: 1200px;
    margin: 0 auto;
}

.shooting-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.shooting-summary-card {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
}

.shooting-summary-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    font-size: 22px;
    margin-bottom: 2px;
}

.shooting-soft-text {
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
}

.shooting-link-hint {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #3730a3;
}

.shooting-clickable-row {
    cursor: pointer;
}

.shooting-clickable-row:hover {
    background: #f8fafc;
}

.shooting-money-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
}

.shooting-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.shooting-money-box {
    margin-top: 6px;
    margin-bottom: 18px;
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.22);
    color: #ffffff;
}

.shooting-money-label {
    color: rgba(255, 255, 255, 0.92);
}

.shooting-money-value {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 6px;
}

.shooting-money-subtext {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.nearest-shooting-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .shooting-detail-grid {
        grid-template-columns: 1fr;
    }

    .shooting-money-value {
        font-size: 28px;
    }
}
/* =========================
   SHOOTINGS FINAL POLISH
========================= */

.shooting-page {
    max-width: 1200px;
    margin: 0 auto;
}

.shooting-page-narrow {
    max-width: 860px;
}

.shooting-page-detail {
    max-width: 980px;
}

.shooting-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.shooting-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 14px;
    text-decoration: none;
    background: #eef2ff;
    color: #2563eb;
    border: none;
    font-weight: 700;
    transition: 0.15s ease;
}

.shooting-nav-link:hover {
    transform: translateY(-1px);
    background: #dbeafe;
    color: #1d4ed8;
}

.shooting-nav-link-active {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.shooting-nav-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 12px;
    font-weight: 700;
}

.shooting-nav-link:not(.shooting-nav-link-active) .shooting-nav-count {
    background: #dbeafe;
    color: #1d4ed8;
}

.shooting-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.shooting-summary-card {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shooting-summary-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    font-size: 22px;
}

.shooting-soft-text {
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
}

.shooting-link-hint {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #3730a3;
}

.shooting-clickable-row {
    cursor: pointer;
}

.shooting-clickable-row:hover {
    background: #f8fafc;
}

.shooting-money-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
}

.shooting-form-card-compact {
    max-width: 760px;
    margin: 0 auto;
}

.shooting-form-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.shooting-form-head-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #eef2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.shooting-form-head-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.shooting-form-head-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.shooting-form-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.shooting-form-full {
    grid-column: 1 / -1;
}

.shooting-textarea-compact {
    min-height: 110px;
    height: auto;
    padding: 14px;
    resize: vertical;
}

.shooting-actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.shooting-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
}

.shooting-detail-main-card {
    max-width: 860px;
    margin: 0 auto;
}

.shooting-detail-top {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.shooting-detail-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 13px;
    font-weight: 700;
}

.shooting-detail-client {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.shooting-detail-grid-beauty {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.shooting-info-tile {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
}

.shooting-info-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.shooting-info-value {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    word-break: break-word;
}

.shooting-money-box {
    margin-bottom: 18px;
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.22);
    color: #ffffff;
}

.shooting-money-label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.shooting-money-value {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 6px;
}

.shooting-money-subtext {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.shooting-note-box {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.shooting-note-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.shooting-note-text {
    font-size: 15px;
    line-height: 1.65;
    color: #1e293b;
    white-space: pre-wrap;
}

@media (max-width: 768px) {
    .shooting-nav {
        display: grid;
        grid-template-columns: 1fr;
    }

    .shooting-form-grid-compact,
    .shooting-detail-grid-beauty {
        grid-template-columns: 1fr;
    }

    .shooting-actions-row .primary-btn,
    .shooting-actions-row .secondary-btn,
    .shooting-actions-row .danger-btn,
    .shooting-actions-row .btn {
        width: 100%;
    }

    .shooting-detail-client {
        font-size: 24px;
    }

    .shooting-money-value {
        font-size: 28px;
    }
}
/* =========================
   SHOOTINGS FINAL TWEAK
========================= */

.shooting-summary-grid-compact {
    grid-template-columns: 220px 1fr;
    align-items: stretch;
}

.shooting-summary-card-tight {
    min-height: 0;
    padding: 18px;
    gap: 8px;
    justify-content: flex-start;
}

.shooting-summary-card-tight .balance-month-value {
    font-size: 34px;
    line-height: 1;
}

.shooting-summary-card-tight .notification-title {
    font-size: 26px;
    margin: 2px 0 0 0;
}

.shooting-summary-card-tight .notification-meta-value {
    font-size: 16px;
}

.shooting-mini-meta {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.shooting-link-hint {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #3730a3;
}

.shooting-nav {
    margin-bottom: 16px;
}

.shooting-nav-link {
    min-height: 44px;
}

.shooting-money-pill {
    min-width: 78px;
}

@media (max-width: 900px) {
    .shooting-summary-grid-compact {
        grid-template-columns: 1fr;
    }
}
/* =========================
   SHOOTINGS TOP ROW FIX
========================= */

.shooting-top-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px;
    margin-bottom: 20px;
    align-items: stretch;
}

.shooting-count-card,
.shooting-nearest-card {
    margin-bottom: 0;
    min-height: 0;
}

.shooting-count-card {
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.shooting-nearest-card {
    padding: 18px 18px 16px;
}

.shooting-top-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.shooting-count-value {
    font-size: 48px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.shooting-nearest-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 6px;
}

.shooting-nearest-client {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.shooting-nearest-meta {
    font-size: 14px;
    color: #64748b;
    line-height: 1.45;
}

.shooting-nearest-empty {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.shooting-link-hint {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #3730a3;
}

@media (max-width: 900px) {
    .shooting-top-row {
        grid-template-columns: 1fr;
    }

    .shooting-count-value {
        font-size: 38px;
    }
}
/* =========================
   SHOOTINGS PREMIUM TOP
========================= */

.shooting-top-row {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 16px;
    margin-bottom: 22px;
    align-items: stretch;
}

.shooting-premium-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 22px 22px 20px;
    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.shooting-premium-card::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0) 72%);
    pointer-events: none;
}

.shooting-premium-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    opacity: 0.9;
}

.shooting-count-card-premium {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 156px;
}

.shooting-nearest-card-premium {
    min-height: 156px;
}

.shooting-premium-label {
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.shooting-count-value-premium {
    position: relative;
    z-index: 1;
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 10px;
}

.shooting-premium-subtext {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: #64748b;
    line-height: 1.45;
}

.shooting-nearest-title-premium {
    position: relative;
    z-index: 1;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 8px;
}

.shooting-nearest-client-premium {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.shooting-nearest-meta-premium {
    position: relative;
    z-index: 1;
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
}

.shooting-link-hint-premium {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 800;
    color: #3730a3;
    letter-spacing: 0.01em;
}

.shooting-nearest-empty-premium {
    position: relative;
    z-index: 1;
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
}

.nearest-shooting-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.nearest-shooting-link:hover .shooting-nearest-title-premium,
.nearest-shooting-link:hover .shooting-link-hint-premium {
    opacity: 0.92;
}

@media (max-width: 900px) {
    .shooting-top-row {
        grid-template-columns: 1fr;
    }

    .shooting-count-card-premium,
    .shooting-nearest-card-premium {
        min-height: 0;
    }

    .shooting-count-value-premium {
        font-size: 46px;
    }

    .shooting-nearest-title-premium {
        font-size: 20px;
    }
}

/* =========================
   SHOOTINGS UX POLISH
========================= */
.nearest-shooting-card {
    text-decoration: none;
    color: inherit;
}

.nearest-shooting-card-active {
    border: 1px solid #dbeafe;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.16);
    animation: nearestShootPulse 2s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nearest-shooting-card-active:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.24);
}

@keyframes nearestShootPulse {
    0%,
    100% {
        box-shadow: 0 16px 32px rgba(37, 99, 235, 0.16);
    }
    50% {
        box-shadow: 0 20px 42px rgba(37, 99, 235, 0.28);
    }
}

.shooting-detail-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.shooting-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.shooting-detail-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    background: #ffffff;
}

.shooting-detail-item-full {
    grid-column: 1 / -1;
}

.shooting-detail-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.shooting-detail-value {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.shooting-detail-notes {
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
    white-space: pre-wrap;
}

@media (max-width: 768px) {
    .shooting-detail-grid {
        grid-template-columns: 1fr;
    }
}

.form-group-full {
    grid-column: 1 / -1;
}

.data-table-photo-projects tbody tr:hover,
.data-table-photo-bookings tbody tr:hover {
    background: #f8fafc;
}

.js-project-row,
.js-booking-row,
.js-shooting-row {
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.js-project-row:active,
.js-booking-row:active,
.js-shooting-row:active {
    transform: translateY(1px) scale(0.998);
}

.booking-meta-time {
    color: #64748b;
    font-size: 12px;
    margin-top: 3px;
}

.remaining-payment-preview {
    border: 1px solid #dbeafe;
    background: linear-gradient(145deg, #eff6ff, #f8fafc);
    border-radius: 14px;
    padding: 10px 12px;
}

.remaining-payment-preview-label {
    display: block;
    color: #475569;
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: 600;
}

.remaining-payment-input {
    background: #fff;
    border-color: #bfdbfe;
    color: #0f172a;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}

.remaining-payment-preview-complete {
    border-color: #c7d2fe;
    background: linear-gradient(145deg, #eef2ff, #f8fafc);
}

.booking-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.booking-detail-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    background: #f8fafc;
}

.booking-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.remaining-card {
    border: 1px solid #bfdbfe;
}

/* ===== Import center refinements ===== */
.desktop-only {
    display: inline-flex;
}

.top-nav-import-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    background: transparent;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.top-nav-import-link:hover {
    background: #f1f5f9;
    color: #334155;
    transform: translateY(-1px);
}

.top-nav-import-icon {
    font-size: 21px;
    line-height: 1;
}

.import-shortcut {
    margin-top: 10px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5b7cfa 0%, #8d63ff 100%);
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 10px 18px rgba(91, 124, 250, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.import-shortcut:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(91, 124, 250, 0.32);
}

.import-center-page {
    max-width: 860px;
}

.import-center-subtitle {
    margin-top: 8px;
    color: var(--text-secondary);
}

.import-center-card {
    max-width: 760px;
    border: 1px solid rgba(92, 124, 250, 0.14);
    box-shadow: 0 18px 36px rgba(18, 26, 61, 0.08);
}

.import-center-lock-card {
    max-width: 500px;
}

.import-center-form {
    margin-top: 14px;
}

.import-file-input {
    display: none;
}

.import-file-picker {
    display: grid;
    grid-template-columns: minmax(230px, 320px) 1fr;
    align-items: center;
    gap: 12px;
}

.import-file-btn {
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 12px 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: #f8fafc;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.import-file-btn:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
    transform: translateY(-1px);
}

.import-file-btn-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    font-size: 16px;
}

.import-file-btn-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.import-file-btn-text strong {
    font-size: 14px;
    color: #0f172a;
}

.import-file-btn-text small {
    font-size: 12px;
    color: #64748b;
}

.import-file-name {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
}

.import-mode-switch {
    display: grid;
    gap: 12px;
}

.import-mode-option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
}

.import-mode-option input[type="radio"] {
    margin-top: 4px;
}

.import-mode-option strong {
    display: block;
    font-size: 14px;
}

.import-mode-option small {
    display: block;
    color: var(--text-secondary);
    margin-top: 2px;
}

.import-center-hint {
    margin-top: 14px;
}

/* =========================
   UNIFIED GM TABS
========================= */
.btn-tab,
.car-tab-link {
    background: transparent;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    white-space: nowrap;
}

.btn-tab:hover,
.car-tab-link:hover {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #93c5fd;
}

.btn-tab-active,
.car-tab-link-active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.btn-tab.btn-tab-active:hover,
.car-tab-link.car-tab-link-active:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.car-tab-link:not(.car-tab-link-active) .car-tab-count {
    background: #dbeafe;
    color: #1d4ed8;
}

.empty-state-table {
    width: 100%;
    min-height: 0;
}
