:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --secondary-color: #0f172a;
    --sidebar-width: 260px;
    --sidebar-bg: #0f172a;
    --sidebar-text: #94a3b8;
    --sidebar-hover: rgba(255, 255, 255, 0.06);
    --sidebar-active: var(--primary-color);
    --success-color: #16a34a;
    --danger-color: #dc2626;
    --warning-color: #d97706;
    --info-color: #0891b2;
    --border-color: #e2e8f0;
    --bg-color: #f1f5f9;
    --card-bg: #ffffff;
    --text-muted: #64748b;
    --text-dark: #1e293b;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.05), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px rgba(15, 23, 42, 0.06), 0 4px 6px rgba(15, 23, 42, 0.04);
    --radius: 0.75rem;
    --radius-sm: 0.5rem;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg-color);
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
    font-size: 0.925rem;
    line-height: 1.6;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
    min-width: 0;
}

.app-wrapper {
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ======================== SIDEBAR ======================== */
.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    height: 100vh;
    overflow: hidden;
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.12);
    flex-shrink: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 70px;
}

.brand-logo {
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.brand-logo img {
    max-height: 32px;
    max-width: 32px;
    object-fit: contain;
}

.brand-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding: 0.75rem 0.85rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

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

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
}

.nav-section {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #475569;
    padding: 1.1rem 0.75rem 0.4rem;
    text-transform: uppercase;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sidebar-text);
    text-decoration: none;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.2rem;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--transition);
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--sidebar-active);
    border-radius: 0 3px 3px 0;
    transition: height var(--transition);
}

.nav-item:hover {
    background: var(--sidebar-hover);
    color: #e2e8f0;
}

.nav-item:hover::before {
    height: 60%;
}

.nav-item.active {
    background: rgba(79, 70, 229, 0.15);
    color: #fff;
    font-weight: 600;
}

.nav-item.active::before {
    height: 70%;
    background: #818cf8;
}

.nav-item i {
    width: 1.2rem;
    text-align: center;
    font-size: 1rem;
    opacity: 0.85;
}

.nav-item .sub-arrow {
    margin-left: auto;
    transition: transform var(--transition);
    font-size: 0.75rem;
    opacity: 0.6;
}

.nav-sub.open .sub-arrow {
    transform: rotate(180deg);
}

.sub-menu {
    display: none;
    padding-left: 0.5rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.nav-sub.open .sub-menu {
    display: block;
    max-height: 500px;
}

.nav-item.sub {
    font-size: 0.82rem;
    padding: 0.45rem 0.8rem;
    font-weight: 400;
}

.nav-item.sub::before {
    display: none;
}

/* ======================== MAIN AREA ======================== */
.main-area {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-width: 0;
    max-width: calc(100vw - var(--sidebar-width));
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg-color);
    overflow-x: hidden;
}

.topbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: var(--shadow-sm);
    min-height: 64px;
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

.topbar-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex-shrink: 1;
}

.topbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.3rem 0.85rem 0.3rem 0.35rem;
    background: var(--card-bg);
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition);
    cursor: pointer;
}

.user-menu:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.avatar-lg {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
}

.content {
    padding: 1.5rem;
    flex: 1;
    max-width: 1600px;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    overflow-x: hidden;
}

.app-footer {
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    background: var(--card-bg);
}

/* ======================== CARDS ======================== */
.card {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(15, 23, 42, 0.04);
    background: var(--card-bg);
    transition: box-shadow var(--transition), transform var(--transition);
}

.card-hover:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    padding: 1rem 1.25rem;
    background: transparent;
}

.card-body {
    padding: 1.25rem;
}

.card-footer {
    border-top: 1px solid var(--border-color);
    padding: 0.85rem 1.25rem;
    background: transparent;
}

/* ======================== STAT CARDS ======================== */
.stat-card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.15rem 1.25rem;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    opacity: 0.9;
}

.stat-card.income {
    border-left: 4px solid var(--success-color);
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.stat-card.expense {
    border-left: 4px solid var(--danger-color);
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.stat-card.net {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
}

.stat-card.count {
    border-left: 4px solid var(--info-color);
    background: linear-gradient(135deg, #ecfeff 0%, #ffffff 100%);
}

.stat-card.today-inc {
    border-left: 4px solid #22c55e;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.stat-card.today-exp {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.stat-card.month-inc {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.stat-card.month-exp {
    border-left: 4px solid #f97316;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.stat-card.year-inc {
    border-left: 4px solid #8b5cf6;
    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%);
}

.stat-card.year-exp {
    border-left: 4px solid #ec4899;
    background: linear-gradient(135deg, #fdf4ff 0%, #ffffff 100%);
}

.stat-card.cats {
    border-left: 4px solid #06b6d4;
    background: linear-gradient(135deg, #ecfeff 0%, #ffffff 100%);
}

.stat-card.users {
    border-left: 4px solid #eab308;
    background: linear-gradient(135deg, #fefce8 0%, #ffffff 100%);
}

/* ======================== TABLES ======================== */
.table {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
}

.table > :not(caption) > * > * {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
}

.table thead th {
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border-color);
    background: #f8fafc;
    white-space: nowrap;
    position: sticky;
    top: 0;
}

.table tbody tr {
    transition: background var(--transition);
}

.table-hover tbody tr:hover {
    background: rgba(79, 70, 229, 0.03);
}

.table-striped tbody tr:nth-child(odd) {
    background: rgba(15, 23, 42, 0.01);
}

/* ======================== BUTTONS ======================== */
.btn {
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.btn-group-sm > .btn {
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
}

/* ======================== FORMS ======================== */
.form-control,
.form-select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    padding: 0.55rem 0.85rem;
    font-size: 0.875rem;
    transition: all var(--transition);
    background: var(--card-bg);
    color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.form-control:hover,
.form-select:hover {
    border-color: #cbd5e1;
}

.form-label {
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.input-group-text {
    background: #f8fafc;
    border-color: var(--border-color);
    color: var(--text-muted);
}

/* ======================== BADGES ======================== */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.01em;
}

/* ======================== ALERTS ======================== */
.alert {
    border-radius: var(--radius-sm);
    border: none;
    font-size: 0.875rem;
    padding: 0.85rem 1.15rem;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
}

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

.alert-warning {
    background: #fffbeb;
    color: #92400e;
}

.alert-info {
    background: #ecfeff;
    color: #155e75;
}

/* ======================== MODALS ======================== */
.modal-content {
    border-radius: var(--radius);
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.15rem 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 0.85rem 1.5rem;
}

/* ======================== DROPDOWNS ======================== */
.dropdown-menu {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: 0.35rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
    transition: all var(--transition);
}

.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* ======================== TOASTS ======================== */
.toast-container {
    max-width: calc(100vw - 1.5rem);
    z-index: 9999;
}

.toast {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: none;
    max-width: calc(100vw - 2rem);
}

.toast-body {
    padding: 0.85rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 500;
    word-break: break-word;
}

/* ======================== GLOBAL OVERFLOW SAFETY ======================== */
img, video, embed, object, iframe {
    max-width: 100%;
    height: auto;
}

pre, code, kbd, samp {
    white-space: pre-wrap;
    word-break: break-all;
    max-width: 100%;
    overflow-x: auto;
}

.table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dropdown-menu {
    max-width: calc(100vw - 2rem);
    overflow-x: auto;
}

.modal {
    padding: 0 !important;
}

.modal-dialog {
    max-width: calc(100vw - 1rem);
    margin: 0.5rem auto;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
    }
}

@media (min-width: 768px) {
    .modal-lg {
        max-width: 800px;
    }
}

.input-group {
    min-width: 0;
    width: 100%;
}

.form-control, .form-select {
    min-width: 0;
    max-width: 100%;
}

.btn {
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-group {
    min-width: 0;
}

.btn-group .btn {
    min-width: 0;
}

.stretched-link {
    z-index: 1;
}

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

/* Tablet and below: sidebar becomes drawer */
@media (max-width: 991.98px) {
    .sidebar-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1035;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .sidebar-backdrop.show {
        display: block;
        opacity: 1;
    }
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(15, 23, 42, 0.3);
    }
    .main-area {
        margin-left: 0;
        max-width: 100vw;
    }
    .content {
        padding: 1rem;
    }
}

/* Mobile: smaller padding, font sizes */
@media (max-width: 767.98px) {
    .topbar {
        padding: 0.6rem 1rem;
        gap: 0.5rem;
    }
    .topbar-title {
        font-size: 0.95rem;
    }
    .stat-card .card-body {
        padding: 1rem;
    }
    .stat-value {
        font-size: 1.35rem;
    }
    .table {
        font-size: 0.8rem;
    }
    .table > :not(caption) > * > * {
        padding: 0.5rem 0.6rem;
    }
    .btn-group-sm > .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    .form-select-sm, .form-control-sm {
        font-size: 0.8rem;
    }
    .company-header-inner {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
    .company-header-title {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
}

/* Extra small phones: minimal padding */
@media (max-width: 575.98px) {
    .content {
        padding: 0.75rem;
    }
    .topbar {
        padding: 0.5rem 0.75rem;
    }
    .topbar-title {
        font-size: 0.88rem;
    }
    .card-body {
        padding: 0.85rem;
    }
    .card-header {
        padding: 0.75rem 0.85rem;
    }
    .card-footer {
        padding: 0.65rem 0.85rem;
    }
    .modal-dialog {
        margin: 0.5rem;
    }
    .modal-content {
        border-radius: 0.5rem;
    }
    .modal-header {
        padding: 0.85rem 1rem;
    }
    .modal-footer {
        padding: 0.65rem 1rem;
    }
    .btn-group-sm > .btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
    .alert {
        padding: 0.65rem 0.85rem;
        font-size: 0.8rem;
    }
    .stat-card .card-body {
        padding: 0.75rem;
    }
    .stat-value {
        font-size: 1.15rem;
    }
    .stat-label {
        font-size: 0.7rem;
    }
    .app-footer {
        padding: 0.75rem;
        text-align: center;
    }
    .row.g-3 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
    .row.g-2 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
}

/* ======================== PRINT ======================== */
@media print {
    .sidebar,
    .sidebar.show,
    .topbar,
    .app-footer,
    .no-print,
    button,
    .btn,
    select,
    input[type="date"],
    input[type="number"],
    input[type="text"],
    .form-control,
    .form-select,
    .modal,
    .toast-container,
    nav,
    .breadcrumb {
        display: none !important;
    }
    .main-area {
        margin-left: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    .content {
        padding: 0 !important;
        max-width: 100% !important;
    }
    .card {
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
}

/* ======================== COMPANY HEADER ======================== */
.company-header-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow var(--transition);
    max-width: 100%;
}

.company-header-card:hover {
    box-shadow: var(--shadow-md);
}

.company-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid #111827;
    position: relative;
    gap: 1rem;
    min-width: 0;
    overflow: hidden;
}

.company-header-inner::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: #d1d5db;
}

.company-header-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
}

.company-header-logo {
    max-height: 46px;
    max-width: 130px;
    width: auto;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
}

.company-header-logo-fallback {
    width: 46px;
    height: 46px;
    border-radius: 6px;
    background: #111827;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.company-header-info {
    min-width: 0;
    overflow: hidden;
}

.company-header-info h1 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.3px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-header-info p {
    margin: 3px 0 0;
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-header-right {
    text-align: right;
    flex-shrink: 0;
}

.company-header-title {
    display: inline-block;
    background: #fff;
    color: #111827;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 16px;
    border-radius: 5px;
    margin-bottom: 5px;
    border: 1px solid #d1d5db;
}

.company-header-date {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    letter-spacing: 0.2px;
}

@media (max-width: 767.98px) {
    .company-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }
    .company-header-right {
        text-align: left;
    }
    .company-header-title {
        margin-bottom: 0;
    }
}

/* ======================== LOGIN ======================== */
.login-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    border-radius: 1rem;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.25);
}

.login-logo img {
    max-height: 48px;
    max-width: 48px;
    object-fit: contain;
}

.login-card {
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

/* ======================== INSTALL ======================== */
.install-card {
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.04);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    max-width: 600px;
    width: 100%;
}

.install-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    border-radius: 1rem;
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.25);
}

.install-logo img {
    max-height: 40px;
    max-width: 40px;
    object-fit: contain;
}
