* {
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
    color: inherit;
}

.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, #1d4ed8, transparent 30%),
        linear-gradient(135deg, #111827, #020617);
}

.login-card {
    width: 420px;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.35);
}

.login-logo {
    width: 56px;
    height: 56px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 18px;
}

.login-card h1 {
    margin: 0;
    font-size: 26px;
}

.login-card p {
    color: #6b7280;
    margin-bottom: 24px;
}

.login-card label {
    display: block;
    font-weight: 700;
    margin: 14px 0 8px;
}

.login-card input {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    font-size: 15px;
}

.login-card button {
    width: 100%;
    margin-top: 22px;
    padding: 14px;
    border: 0;
    border-radius: 14px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin: 16px 0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.app {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: #111827;
    color: #ffffff;
    padding: 24px 18px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: #2563eb;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.brand strong {
    display: block;
    font-size: 17px;
}

.brand span {
    display: block;
    font-size: 12px;
    color: #9ca3af;
}

.menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: #d1d5db;
    margin-bottom: 4px;
}

.menu a:hover,
.menu a.active {
    background: #1f2937;
    color: #ffffff;
}

.menu-title {
    font-size: 11px;
    color: #6b7280;
    margin: 18px 14px 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.main {
    margin-left: 280px;
    padding: 30px;
    width: calc(100% - 280px);
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.topbar h1 {
    margin: 0;
    font-size: 30px;
}

.topbar p {
    margin: 6px 0 0;
    color: #6b7280;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 800;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(17,24,39,0.06);
    border: 1px solid #e5e7eb;
}

.card span {
    display: block;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 10px;
}

.card strong {
    display: block;
    font-size: 25px;
}

.card.success {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.card.warning {
    border-color: #fed7aa;
    background: #fff7ed;
}

.card.danger {
    border-color: #fecaca;
    background: #fef2f2;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 24px;
}

.panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(17,24,39,0.06);
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.panel-head h2 {
    margin: 0;
    font-size: 20px;
}

.panel-head span {
    color: #6b7280;
    font-size: 13px;
}

.empty {
    color: #6b7280;
    background: #f9fafb;
    border-radius: 14px;
    padding: 14px;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list-item {
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f9fafb;
}

.list-item strong {
    display: block;
    margin-bottom: 6px;
}

.list-item span {
    display: inline-block;
    background: #e0f2fe;
    color: #075985;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.list-item p {
    margin: 0 0 6px;
    color: #374151;
}

.list-item small {
    color: #6b7280;
}

@media (max-width: 1100px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
    }

    .app {
        flex-direction: column;
    }

    .main {
        margin-left: 0;
        width: 100%;
    }

    .cards {
        grid-template-columns: 1fr;
    }
}
.filter-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto auto;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-form input,
.filter-form select,
.crm-form input,
.crm-form select,
.crm-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    font-size: 14px;
    background: #ffffff;
}

.filter-form button,
.crm-form button {
    border: 0;
    cursor: pointer;
}

.btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #111827;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 800;
    border: 1px solid #e5e7eb;
}

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

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

.data-table th {
    text-align: left;
    background: #111827;
    color: #ffffff;
    padding: 13px;
    font-size: 13px;
}

.data-table td {
    padding: 13px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
    background: #ffffff;
}

.data-table tr:hover td {
    background: #f9fafb;
}

.data-table small {
    display: block;
    color: #6b7280;
    margin-top: 4px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.badge-yellow {
    background: #fef3c7;
    color: #92400e;
}

.badge-blue {
    background: #dbeafe;
    color: #1e40af;
}

.badge-orange {
    background: #fed7aa;
    color: #9a3412;
}

.badge-red {
    background: #fecaca;
    color: #991b1b;
}

.badge-green {
    background: #bbf7d0;
    color: #166534;
}

.badge-gray {
    background: #e5e7eb;
    color: #374151;
}

.converted {
    color: #166534 !important;
    font-weight: 700;
}

.actions {
    white-space: nowrap;
}

.actions a {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    margin-right: 5px;
}

.actions a:hover {
    background: #e5e7eb;
}

.crm-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.form-group label {
    display: block;
    font-weight: 800;
    margin-bottom: 8px;
    color: #374151;
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

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

    .form-grid {
        grid-template-columns: 1fr;
    }
}
.customer-filter {
    grid-template-columns: 2fr 1fr auto auto;
}

.detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.detail-list div {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
}

.detail-list span {
    display: block;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 6px;
}

.detail-list strong {
    display: block;
    color: #111827;
    font-size: 15px;
}

.note-box {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: #fef3c7;
    color: #92400e;
}

.note-box strong {
    display: block;
    margin-bottom: 8px;
}

.note-box p {
    margin: 0;
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.quick-action {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 16px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 800;
    text-align: center;
}

.quick-action.disabled {
    background: #e5e7eb;
    color: #6b7280;
    cursor: not-allowed;
}

.hint {
    color: #6b7280;
    background: #f9fafb;
    padding: 14px;
    border-radius: 14px;
    margin: 0;
}

@media (max-width: 900px) {
    .customer-filter {
        grid-template-columns: 1fr;
    }

    .detail-list {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }
}
.checkbox-row label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.checkbox-row input {
    width: auto !important;
}

.checkbox-row small {
    display: block;
    margin-top: 8px;
    color: #6b7280;
}
.shoot-filter {
    grid-template-columns: 2fr 1fr 1fr 1fr auto auto;
}

.form-help {
    display: block;
    color: #6b7280;
    margin-top: 8px;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checklist label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 12px 14px;
    border-radius: 14px;
    cursor: pointer;
}

.checklist input {
    width: 18px;
    height: 18px;
}

.checklist span {
    color: #111827;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .shoot-filter {
        grid-template-columns: 1fr;
    }
}
.template-filter {
    grid-template-columns: 2fr 1fr 1fr auto auto;
}

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

.template-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(17,24,39,0.05);
}

.template-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.template-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.template-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.template-meta span {
    display: inline-flex;
    align-items: center;
    background: #f3f4f6;
    color: #374151;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.template-card textarea {
    width: 100%;
    min-height: 170px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
    resize: vertical;
    background: #f9fafb;
    color: #111827;
    font-size: 14px;
    line-height: 1.5;
}

.template-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.btn-small {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #ffffff;
    padding: 9px 12px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
}

.btn-small.light {
    background: #f3f4f6;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.btn-small.danger {
    background: #fee2e2;
    color: #991b1b;
}

.template-help {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
}

.template-help strong {
    margin-right: 4px;
}

.template-help span {
    background: #dbeafe;
    color: #1e40af;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .template-filter {
        grid-template-columns: 1fr;
    }

    .template-grid {
        grid-template-columns: 1fr;
    }
}
.services-filter {
    grid-template-columns: 2fr 1fr 1fr auto auto;
}

.inline-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.inline-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    font-size: 14px;
    background: #ffffff;
}

.inline-form button {
    border: 0;
    cursor: pointer;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.category-pills span {
    display: inline-flex;
    align-items: center;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .services-filter {
        grid-template-columns: 1fr;
    }

    .inline-form {
        flex-direction: column;
        align-items: stretch;
    }
}
.offer-items h2 {
    margin: 8px 0 14px;
    font-size: 20px;
}

.offer-table input,
.offer-table select {
    min-width: 160px;
}

.offer-table .item-qty {
    min-width: 80px;
}

.offer-table .item-total {
    background: #f3f4f6;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .offer-table {
        min-width: 1100px;
    }
}
.finance-filter {
    grid-template-columns: 1fr 1fr auto auto;
}

@media (max-width: 900px) {
    .finance-filter {
        grid-template-columns: 1fr;
    }
}
.card small {
    display: block;
    margin-top: 8px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

.report-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.report-row {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
}

.report-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.report-row strong {
    color: #111827;
}

.report-row span {
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
}

.bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.bar span {
    display: block;
    height: 100%;
    background: #2563eb;
    border-radius: 999px;
}
.files-filter {
    grid-template-columns: 2fr 1fr 1fr auto auto;
}

@media (max-width: 1100px) {
    .files-filter {
        grid-template-columns: 1fr;
    }
}
.reels-filter {
    grid-template-columns: 2fr 1fr 1fr auto auto;
}

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

.reel-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(17,24,39,0.05);
}

.reel-card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.reel-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.reel-card-head p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

.reel-project {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 9px 11px;
    margin-bottom: 12px;
    color: #374151;
    font-weight: 700;
    font-size: 13px;
}

.reel-section {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 10px;
}

.reel-section strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
}

.reel-section p {
    margin: 0;
    color: #374151;
    line-height: 1.5;
}

.reel-detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.content-block {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
}

.content-block h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.content-block p {
    margin: 0;
    line-height: 1.7;
    color: #374151;
}

.quick-actions button.quick-action {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

@media (max-width: 1100px) {
    .reels-filter {
        grid-template-columns: 1fr;
    }

    .reels-grid {
        grid-template-columns: 1fr;
    }
}
.tasks-filter {
    grid-template-columns: 2fr 1fr 1fr 1fr auto auto;
}

.task-overdue-row td {
    background: #fff1f2 !important;
}

.text-danger {
    color: #991b1b !important;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .tasks-filter {
        grid-template-columns: 1fr;
    }
}
.dashboard-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.hero-card {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.25);
}

.hero-card.dark {
    background: linear-gradient(135deg, #111827, #020617);
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.25);
}

.hero-card span {
    display: block;
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 8px;
}

.hero-card strong {
    display: block;
    font-size: 36px;
    margin-bottom: 8px;
}

.hero-card p {
    margin: 0 0 18px;
    opacity: 0.85;
}

.progress-wrap {
    margin-top: 16px;
}

.progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
}

.progress-head span {
    margin: 0;
}

.progress-head strong {
    font-size: 16px;
    margin: 0;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255,255,255,0.25);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar span {
    display: block;
    height: 100%;
    background: #ffffff;
    border-radius: 999px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 24px;
}

.panel-head a {
    color: #2563eb;
    font-weight: 800;
    font-size: 13px;
}

.list-item.compact {
    position: relative;
}

.list-item.compact strong {
    padding-right: 90px;
}

.list-item.compact > span {
    position: absolute;
    right: 14px;
    top: 14px;
}

.danger-left {
    border-left: 5px solid #ef4444 !important;
}

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

.mini-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 10px;
    background: #eef2ff;
    color: #1e40af;
    font-size: 12px;
    font-weight: 800;
}

.mini-actions a:hover {
    background: #dbeafe;
}

@media (max-width: 1100px) {
    .dashboard-hero,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .hero-card strong {
        font-size: 28px;
    }

    .dashboard-actions {
        width: 100%;
    }

    .dashboard-actions a {
        width: 100%;
    }

    .list-item.compact strong {
        padding-right: 0;
    }

    .list-item.compact > span {
        position: static;
        margin-top: 8px;
    }
}
/* Final UX improvements */

.topbar {
    gap: 16px;
}

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

.detail-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-actions .quick-action {
    min-height: 54px;
}

.panel-head a {
    color: #2563eb;
    font-weight: 800;
    font-size: 13px;
}

.menu a.active {
    background: #2563eb;
    color: #ffffff;
}

.menu a.active:hover {
    background: #1d4ed8;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 999px;
}

.data-table th,
.data-table td {
    white-space: normal;
}

.table-wrap {
    border-radius: 18px;
}

@media (max-width: 1000px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .top-actions {
        width: 100%;
    }

    .top-actions a,
    .top-actions button {
        flex: 1;
        min-width: 150px;
    }

    .detail-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    body {
        background: #f9fafb;
    }

    .sidebar {
        border-radius: 0 0 24px 24px;
    }

    .brand {
        margin-bottom: 18px;
    }

    .menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .menu-title {
        grid-column: 1 / -1;
        margin-top: 14px;
    }

    .menu a {
        margin-bottom: 0;
        font-size: 13px;
        padding: 10px 11px;
    }

    .main {
        padding: 18px;
    }

    .topbar h1 {
        font-size: 24px;
    }

    .topbar p {
        font-size: 14px;
    }

    .panel {
        padding: 16px;
        border-radius: 18px;
    }

    .card {
        padding: 16px;
        border-radius: 18px;
    }

    .card strong {
        font-size: 22px;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 560px) {
    .menu {
        grid-template-columns: 1fr;
    }

    .dashboard-actions a {
        width: 100%;
        flex: unset;
    }

    .cards {
        gap: 12px;
    }

    .grid-2,
    .dashboard-grid {
        gap: 12px;
    }

    .detail-list {
        gap: 10px;
    }

    .list-item.compact > span {
        position: static;
        margin-top: 8px;
    }

    .mini-actions a {
        flex: 1;
        text-align: center;
    }
}
/* Premium Dashboard Upgrade */

.main {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 28%),
        #f3f4f6;
    min-height: 100vh;
}

.topbar {
    background: transparent;
    margin-bottom: 22px;
}

.topbar h1 {
    font-size: 34px;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.topbar p {
    font-size: 15px;
    color: #64748b;
}

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

.dashboard-actions .btn,
.dashboard-actions .btn-light {
    height: 48px;
    padding: 0 18px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.dashboard-actions .btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.premium-hero {
    display: grid;
    grid-template-columns: 1.55fr 0.85fr;
    gap: 18px;
    margin-bottom: 18px;
}

.hero-main {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 30px;
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.45), transparent 32%),
        linear-gradient(135deg, #0f172a, #1e3a8a 58%, #2563eb);
    color: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.hero-main::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    right: -90px;
    bottom: -130px;
    background: rgba(255, 255, 255, 0.14);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}

.hero-main h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.hero-money {
    font-size: 50px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.06em;
    margin: 14px 0 10px;
}

.hero-main p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
}

.progress-wrap {
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.progress-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.88);
}

.progress-bar {
    height: 13px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar span {
    display: block;
    height: 100%;
    background: #ffffff;
    border-radius: 999px;
    min-width: 4px;
}

.hero-bottom-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.hero-bottom-stats div {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 14px;
}

.hero-bottom-stats span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    margin-bottom: 6px;
}

.hero-bottom-stats strong {
    display: block;
    color: #ffffff;
    font-size: 20px;
}

.hero-side {
    display: grid;
    gap: 14px;
}

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

.side-stat span {
    display: block;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 8px;
}

.side-stat strong {
    display: block;
    color: #0f172a;
    font-size: 28px;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.side-stat small {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.side-stat.success {
    border-color: #bbf7d0;
    background: linear-gradient(135deg, #ffffff, #f0fdf4);
}

.side-stat.danger {
    border-color: #fecaca;
    background: linear-gradient(135deg, #ffffff, #fef2f2);
}

.side-stat.warning {
    border-color: #fed7aa;
    background: linear-gradient(135deg, #ffffff, #fff7ed);
}

.cards {
    gap: 18px;
}

.card {
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.1);
}

.card span {
    font-size: 14px;
    color: #64748b;
}

.card strong {
    font-size: 28px;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.card small {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.panel {
    border-radius: 26px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.panel-head h2 {
    font-size: 21px;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.panel-head a {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 8px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.list-item {
    border-radius: 18px;
}

.empty {
    background: #f8fafc;
    color: #64748b;
    border: 1px dashed #cbd5e1;
}

@media (max-width: 1180px) {
    .premium-hero {
        grid-template-columns: 1fr;
    }

    .hero-side {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-side {
        grid-template-columns: 1fr;
    }

    .hero-bottom-stats {
        grid-template-columns: 1fr;
    }

    .hero-money {
        font-size: 40px;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-actions {
        width: 100%;
    }

    .dashboard-actions a {
        flex: 1;
        min-width: 140px;
    }
}

@media (max-width: 600px) {
    .hero-main {
        padding: 22px;
        border-radius: 24px;
    }

    .hero-money {
        font-size: 34px;
    }

    .topbar h1 {
        font-size: 28px;
    }

    .dashboard-actions a {
        width: 100%;
        flex: unset;
    }

    .card {
        padding: 18px;
    }
}