            box-shadow:
                0 22px 34px rgba(15, 23, 42, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.84);
            backdrop-filter: blur(12px) saturate(120%);
            -webkit-backdrop-filter: blur(12px) saturate(120%);
        }

        .job-days-list {
            display: flex;
            flex-direction: column;
              gap: 6px;
              margin-bottom: 12px;
        }

        .job-day-row {
            background: var(--surface);
            padding: var(--space-3);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            display: grid;
            grid-template-columns: 1.5fr 1fr 0.7fr 0.8fr;
            gap: var(--space-3);
            align-items: center;
            transition: all var(--dur-2);
        }

        .job-day-row:hover {
            background: var(--surface-hover);
            border-color: var(--border-medium);
        }

        .job-day-row-label {
            font-weight: 700;
            color: var(--text-primary);
            font-size: var(--text-sm);
            word-break: break-word;
        }

        .job-day-row-date {
            color: var(--text-tertiary);
            font-size: var(--text-sm);
            font-weight: 600;
        }

        .job-day-row-hours {
            color: var(--text-primary);
            font-size: var(--text-sm);
            font-weight: 600;
            text-align: center;
        }

        .job-day-row-pay {
            text-align: right;
            color: var(--text-primary);
            font-size: var(--text-base);
            font-weight: 700;
        }

        .job-summary-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
              padding: 14px 16px;
            background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
            border-radius: 10px;
            border: 2px solid #d1d5db;
              margin-bottom: 14px;
              margin-top: 10px;
        }

        .job-summary-total .label {
            font-size: 16px;
            font-weight: 800;
            color: #1f2937;
        }

        .job-summary-total .value {
            font-size: 24px;
            font-weight: 900;
            color: #1f2937;
        }

        .job-summary-actions {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: var(--space-3);
            align-items: stretch;
        }

        .job-summary-actions button,
        .job-summary-actions .save-menu {
            flex: 1;
            min-width: 0;
        }

        .summary-secondary-actions {
            position: relative;
            flex: 1;
            min-width: 180px;
        }

        .summary-secondary-toggle {
            width: 100%;
            margin: 0;
            padding: 12px 16px;
            border-radius: 12px;
            border: 1px solid #d7e0ec;
            background: #f9fafb;
            color: #334155;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
        }

        .summary-secondary-panel {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            display: grid;
            gap: 8px;
            min-width: 210px;
            padding: 10px;
            border-radius: 12px;
            border: 1px solid #d7e0ec;
            background: #ffffff;
            box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
            z-index: 80;
        }

        .summary-secondary-panel button {
            width: 100%;
            margin: 0;
            min-width: 0;
        }

        #summary-toggle-paid-btn {
            min-width: 112px;
            text-align: center;
        }

        .job-status-btn {
            min-width: 112px;
            text-align: center;
        }

        .status-chip {
            min-width: 70px;
            text-align: center;
            white-space: nowrap;
        }

        .edit-btn {
            background: var(--text-primary);
            box-shadow: var(--shadow-md);
        }

        .edit-btn:hover {
            background: #1e293b;
            box-shadow: var(--shadow-lg);
        }

            .invoice-btn {
                background: var(--text-primary);
                box-shadow: var(--shadow-md);
            }

            .invoice-btn:hover {
                background: #1e293b;
                box-shadow: var(--shadow-lg);
            }

            .save-menu {
                position: relative;
                flex: 1;
                display: flex;
            }

            .save-menu-btn {
                width: 100%;
                margin-top: 0;
                padding: 12px 24px;
                font-size: 14px;
            }

            .save-dropdown {
                position: absolute;
                top: calc(100% + 8px);
                right: 0;
                background: white;
                border: 1px solid #e5e7eb;
                border-radius: 10px;
                box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
                padding: 6px;
                display: none;
                min-width: 180px;
                z-index: 20;
            }

            .save-option {
                display: block;
                width: 100%;
                padding: 8px 10px;
                border: none;
                background: transparent;
                text-align: left;
                font-size: 13px;
                font-weight: 700;
                color: #0f172a;
                border-radius: 8px;
                cursor: pointer;
            }

            .save-option:hover {
                background: #eef2ff;
                color: #1D4ED8;
            }

        .new-job-btn {
            background: var(--text-primary);
            box-shadow: var(--shadow-md);
        }

        .new-job-btn:hover {
            background: #1e293b;
            box-shadow: var(--shadow-lg);
        }

        .back-btn {
            background: var(--text-secondary);
            box-shadow: var(--shadow-sm);
        }

        .back-btn:hover {
            background: var(--text-primary);
            box-shadow: var(--shadow-md);
        }

        .tools-section {
            animation: slideIn 0.3s ease-out;
            position: relative;
        }

        .home-btn {
            position: absolute;
            top: var(--space-4);
            right: var(--space-4);
            background: var(--surface-secondary);
            color: var(--text-primary);
            padding: var(--space-2) var(--space-3);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-full);
            font-size: var(--text-sm);
            font-weight: 700;
            cursor: pointer;
            box-shadow: var(--shadow-sm);
            transition: all var(--dur-2);
            width: auto;
            margin: 0;
        }

        .home-btn:hover {
            background: var(--surface-hover);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .auth-buttons {
            display: flex;
            gap: 10px;
            align-items: center;
            position: relative;
        }

        .mobile-search-btn,
        .mobile-menu-btn {
            display: none;
            padding: 8px 11px;
            border-radius: 999px;
            border: 1px solid #d6dbe3;
            background: #ffffff;
            color: #0f172a;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
        }

            .auth-btn {
                padding: var(--space-2) var(--space-4);
                border-radius: var(--radius-full);
                font-size: var(--text-sm);
                font-weight: 700;
                cursor: pointer;
                border: 1px solid var(--border-light);
                background: var(--surface);
                color: var(--text-primary);
                transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-in-out), border-color var(--dur-2) var(--ease-in-out);
                width: auto;
                margin: 0;
                box-shadow: var(--shadow-sm);
            }

            .auth-btn:hover {
                background: var(--surface-hover);
                border-color: var(--border-medium);
                transform: translateY(-1px);
            }

            .auth-btn.primary {
                background: var(--text-primary);
                color: white;
                border-color: transparent;
                box-shadow: var(--shadow-md);
            }

            .auth-btn.primary:hover {
                background: #1e293b;
                box-shadow: var(--shadow-lg);
            }

        .account-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(140deg, #0f172a, #334155);
            color: #f8fafc;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: box-shadow 0.2s ease;
            box-shadow:
                0 4px 10px rgba(2, 6, 23, 0.22),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            position: relative;
            overflow: visible;
            z-index: 100;
            border: 1.5px solid rgba(226, 232, 240, 0.9);
        }

        .account-icon > span {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1501;
            pointer-events: auto;
            overflow: hidden;
        }

        .account-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            border-radius: 50%;
            pointer-events: none;
            position: relative;
            z-index: 1501;
        }

        .account-icon:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .auth-buttons .account-icon {
            order: 1;
        }

        .language-selector {
            position: relative;
            margin-left: 6px;
            order: 2;
            display: flex;
            align-items: center;
        }

        .language-selector-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 22px;
            line-height: 1;
            padding: 0;
            width: 36px;
            height: 36px;
            border-radius: 0;
            box-shadow: none;
            transition: transform 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .language-selector-btn:hover {
            background: none;
            transform: translateY(-1px);
        }

        .language-selector-dropdown {
            position: absolute;
            top: calc(100% + 4px);
            right: 0;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            background: white;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            padding: 4px 0;
            min-width: 180px;
            font-size: 14px;
            z-index: calc(var(--z-header) + 20);
            transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;
            transform: translateY(-8px);
            display: flex;
            flex-direction: column;
        }

        .language-selector-dropdown.show {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateY(0);
            transition: opacity 0.2s, transform 0.2s, visibility 0s;
        }

        .language-option {
            background: transparent;
            border: none;
            padding: 8px 12px;
            text-align: left;
            cursor: pointer;
            font-size: 14px;
            color: inherit;
            transition: background 0.15s;
            width: 100%;
        }

        .language-option:hover {
            background: rgba(0, 0, 0, 0.05);
        }

        body.dark-mode .language-selector-btn:hover {
            background: none;
        }

        body.dark-mode .language-selector-dropdown {
            background: #1e293b;
            border-color: #334155;
            color: white;
        }

        body.dark-mode .language-option:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .account-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            left: auto;
            background: var(--header-surface);
            border-radius: 14px;
            border: 1px solid var(--header-border);
            box-shadow: 
                0 20px 40px rgba(15, 23, 42, 0.16),
                0 0 0 1px rgba(255, 255, 255, 0.6) inset;
            min-width: 240px;
            max-width: 240px;
            overflow: visible;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            opacity: 0;
            transform: translateY(-8px) scale(0.96);
            pointer-events: none;
            transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease, visibility 0s linear 0.2s;
            z-index: 1400;
            visibility: hidden;
        }

        .account-dropdown::before {
            content: '';
            position: absolute;
            top: -7px;
            right: 12px;
            width: 12px;
            height: 12px;
            background: var(--header-surface);
            border-left: 1px solid var(--header-border);
            border-top: 1px solid var(--header-border);
            transform: rotate(45deg);
        }

        .account-dropdown.show {
            opacity: 1;
            transform: translateY(0) scale(1);
            pointer-events: all;
            visibility: visible;
            transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease, visibility 0s;
        }

        .dropdown-header {
            padding: 16px 16px 12px;
            background: transparent;
            border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        }

        .dropdown-header::before {
            display: none;
        }

        .dropdown-user-name {
            font-weight: 600;
            color: #0f172a;
            font-size: 13.5px;
            margin-bottom: 3px;
        }

        .dropdown-user-email {
            font-size: 11.5px;
            color: #64748b;
        }

        .dropdown-menu {
            padding: 6px 8px 8px;
        }

        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 0;
            padding: 9px 12px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.15s ease;
            border: none;
            background: transparent;
            width: 100%;
            text-align: left;
            color: #0f172a;
            font-size: 13.5px;
            font-weight: 600;
        }

        .dropdown-item:hover {
            background: rgba(255, 255, 255, 0.75);
        }

        .dropdown-item:active {
            transform: scale(0.98);
        }

        .mobile-nav-panel {
            display: none;
            position: sticky;
            top: 112px;
            z-index: 1090;
            margin: 0 5% 12px;
            padding: 8px;
            border-radius: 12px;
            border: 1px solid #d8e1ee;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
        }

        .mobile-nav-panel.open {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .mobile-nav-item {
            border: 1px solid #d6dbe3;
            border-radius: 10px;
            background: #ffffff;
            color: #0f172a;
            font-size: 13px;
            font-weight: 700;
            padding: 10px;
            cursor: pointer;
        }

        .mobile-nav-item.active {
            border-color: #0f172a;
            background: #0f172a;
            color: #ffffff;
        }

        .account-subnav {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 20px auto 20px;
            padding: 10px 12px;
            max-width: 700px;
            background: #ffffff;
            border-radius: 16px;
            border: 1px solid rgba(226, 232, 240, 1);
            box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
        }

        .account-subnav-btn {
            flex: 1;
            border: none;
            border-radius: 8px;
            background: transparent;
            color: #64748b;
            padding: 10px 16px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
        }

        .account-subnav-btn:hover:not(.active) {
            color: #334155;
            background: rgba(255, 255, 255, 0.5);
        }

        .account-subnav-btn.active {
            background: linear-gradient(140deg, #0b1220 0%, #141f32 48%, #1f3552 100%);
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(2, 6, 23, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .invoice-editor-tabs {
            display: flex;
            gap: 6px;
            margin-bottom: 16px;
            padding: 8px;
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid rgba(226, 232, 240, 1);
            box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
        }

        .invoice-editor-tab {
            flex: 1;
            border: none;
            border-radius: 8px;
            background: transparent;
            color: #64748b;
            padding: 10px 16px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .invoice-editor-tab:hover:not(.active) {
            color: #334155;
            background: rgba(241, 245, 249, 0.8);
        }

        .invoice-editor-tab.active {
            background: linear-gradient(140deg, #0b1220 0%, #141f32 48%, #1f3552 100%);
            color: #ffffff;
            box-shadow: 0 2px 8px rgba(2, 6, 23, 0.12);
        }

        .invoice-editor-tab-content {
            display: none;
        }

        .invoice-editor-tab-content.active {
            display: block;
        }

        #invoice-tab-payment.active {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .clients-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin-bottom: 20px;
        }

        .dropdown-item.danger {
            color: #ef4444;
        }

        .dropdown-item.danger:hover {
            background: #fef2f2;
        }

        .dropdown-divider {
            height: 1px;
            background: rgba(15, 23, 42, 0.08);
            margin: 6px 8px;
        }

        .account-section-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .template-gallery-content {
            max-width: 1480px;
        }

        .account-header {
            text-align: center;
            margin-top: 24px;
            margin-bottom: 40px;
            padding: 24px;
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.4));
            backdrop-filter: blur(8px);
            border-radius: 16px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .account-page-title {
            margin: 0;
            font-size: 18px;
            color: #64748b;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }

        .flow-steps {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 0 0 14px;
        }

        .flow-step {
            border-radius: 999px;
            border: 1px solid #d8e1ee;
            background: #f8fafc;
            color: #64748b;
            padding: 6px 10px;
            font-size: 12px;
            font-weight: 700;
        }

        .flow-step.active {
            border-color: #0f172a;
            background: #0f172a;
            color: #ffffff;
        }

        .builder-flow {
            justify-content: center;
            margin-bottom: 20px;
        }

        .account-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: linear-gradient(145deg, #0f172a, #334155);
            color: #f8fafc;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            font-weight: 700;
            margin: 0 auto 20px;
            box-shadow:
                0 12px 26px rgba(2, 6, 23, 0.24),
                inset 0 1px 0 rgba(255, 255, 255, 0.22);
            position: relative;
            overflow: hidden;
            cursor: pointer;
            border: 2px solid rgba(226, 232, 240, 0.9);
        }

        .account-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }

        .account-avatar:hover::after {
            content: '\1F4F7';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
        }

        .account-avatar:not(.has-image):hover::after {
            display: none;
        }

        .account-name {
            font-size: 28px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 0;
        }

        .account-email {
            color: #64748b;
            font-size: 16px;
        }

        .account-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--space-5);
            margin-bottom: var(--space-4);
            align-items: stretch;
        }

        .account-card {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(226, 232, 240, 0.9);
            border-radius: var(--radius-lg);
            padding: var(--space-5);
            box-shadow:
                0 18px 30px rgba(15, 23, 42, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.84);
            transition: border-color var(--dur-2) ease, box-shadow var(--dur-2) ease;
            display: flex;
            flex-direction: column;
            min-height: 240px;
            backdrop-filter: blur(12px) saturate(120%);
            -webkit-backdrop-filter: blur(12px) saturate(120%);
        }

        .account-card:hover {
            border-color: var(--border-medium);
            box-shadow: var(--shadow-md);
        }

        .account-card h3 {
            font-size: var(--text-lg);
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: var(--space-4);
        }

        .account-info-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: var(--space-3) 0;
            border-bottom: 1px solid var(--border-light);
        }

        .account-info-item:last-child {
            border-bottom: none;
        }

        .account-info-label {
            font-size: var(--text-sm);
            color: var(--text-tertiary);
            font-weight: 600;
        }

        .account-info-value {
            font-size: var(--text-sm);
            color: var(--text-primary);
            font-weight: 700;
        }

        .account-action-btn {
            width: 100%;
            padding: 14px;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            border: none;
            transition: all 0.2s ease;
            margin-top: 10px;
        }

        .settings-panel {
            margin: var(--space-2) 0 var(--space-3);
            padding: var(--space-4);
            border: 1px solid rgba(226, 232, 240, 0.9);
            border-radius: var(--radius-md);
            background: rgba(248, 250, 252, 0.8);
            display: grid;
            gap: var(--space-2);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
        }

        .settings-panel.compact {
            gap: var(--space-2);
            padding: var(--space-3);
        }

        .account-settings-grid {
            margin-bottom: 24px;
        }

        .settings-toggle {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 0;
            min-height: auto;
            font-size: 13px;
            font-weight: 650;
            color: #0f172a;
            line-height: 1.35;
        }

        .settings-toggle input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: #0f172a;
        }

        .settings-note {
            font-size: 12px;
            color: #64748b;
            line-height: 1.4;
        }

        .settings-field {
            display: grid;
            gap: 6px;
        }

        .settings-label {
            font-size: 12px;
            color: #64748b;
            font-weight: 700;
        }

        .settings-subtitle {
            font-size: 14px;
            color: #0f172a;
            font-weight: 700;
            margin-bottom: 2px;
        }

        .settings-divider {
            height: 1px;
            background: #e7edf6;
            margin: 4px 0;
        }

        .settings-inline-row {
            display: grid;
            grid-template-columns: 1fr 96px;
            gap: 8px;
            align-items: end;
        }

        .settings-color-input {
            width: 100%;
            height: 40px;
            border-radius: 10px;
            border: 1px solid #d8e1ee;
            background: #fff;
            padding: 4px;
            cursor: pointer;
        }

        .invoice-template-preview {
            border: 1px solid #d8e1ee;
            border-radius: 12px;
            background: #f4f7fb;
            padding: 10px;
            margin-top: 8px;
            max-height: calc(100vh - 220px);
            overflow: auto;
            cursor: zoom-in;
        }

        .invoice-template-canvas {
            border: 1px solid #e7edf6;
            border-radius: 10px;
            background: #ffffff;
            padding: 8px 8px 7px;
            width: 100%;
            max-width: 794px;
            margin: 0 auto;
        }

        .invoice-template-canvas.a4 {
            aspect-ratio: 210 / 297;
            overflow: hidden;
        }

        .invoice-template-canvas.compact {
            padding: 5px 5px 4px;
        }

        .invoice-template-canvas.modern {
            background: linear-gradient(180deg, #f7fbff 0%, #eaf3ff 100%);
            border: 2px solid #0f172a;
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
        }

        .invoice-template-canvas.minimal {
            background: #ffffff;
            border: 1px dashed #cbd5e1;
            border-radius: 0;
            box-shadow: none;
            padding: 16px 10px;
        }

        .invoice-template-canvas.minimal .invoice-template-head {
            border-bottom-style: dashed;
            border-bottom-color: #cbd5e1 !important;
            margin-bottom: 14px;
        }

        .invoice-template-canvas.minimal .invoice-template-title {
            letter-spacing: 0.18em;
            font-size: 7px;
            color: #1e293b !important;
        }

        .invoice-template-canvas.minimal .invoice-template-party,
        .invoice-template-canvas.minimal .invoice-template-items,
        .invoice-template-canvas.minimal .invoice-template-payment,
        .invoice-template-canvas.minimal .invoice-template-note {
            border-radius: 0;
            border-color: #e2e8f0;
            background: #fff;
            box-shadow: none;
        }

        .invoice-template-canvas.modern .invoice-template-head {
            padding: 10px 10px 12px;
            border-radius: 10px;
            margin: -2px -2px 12px;
            border-bottom: none;
        }

        .invoice-template-canvas.modern .invoice-template-title,
        .invoice-template-canvas.modern .invoice-template-meta {
            color: #fff !important;
        }

        .invoice-template-canvas.modern .invoice-template-items-head {
            font-size: 7px;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .invoice-template-head {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: flex-start;
            gap: 6px;
            padding-bottom: 5px;
            border-bottom: 1px solid #e7edf6;
            margin-bottom: 5px;
        }

        .invoice-template-title {
            font-size: 7px;
            font-weight: 800;
            letter-spacing: 0.04em;
            line-height: 1;
            white-space: nowrap;
            max-width: 100%;
        }

        .invoice-template-meta {
            font-size: 7px;
            color: #64748b;
            font-weight: 700;
            text-align: right;
            margin-left: auto;
            justify-self: end;
            white-space: nowrap;
            overflow-wrap: normal;
            word-break: normal;
        }

        .invoice-template-date {
            display: block;
            margin-top: 2px;
            font-size: 6.5px;
            font-weight: 700;
            color: #64748b;
        }

        .invoice-template-company {
            margin-bottom: 4px;
            padding: 0 5px;
            font-size: 8px;
            font-weight: 800;
            color: #0f172a;
            line-height: 1.25;
            overflow-wrap: anywhere;
        }

        .invoice-template-flow {
            display: flex;
            flex-direction: column;
            min-height: calc(100% - 24px);
        }

        .invoice-template-parties {
            display: grid;
            gap: 4px;
            margin-bottom: 5px;
        }

        .invoice-template-parties.split {
            grid-template-columns: 1fr 1fr;
        }

        .invoice-template-party {
            border: 1px solid #edf2f9;
            border-radius: 8px;
            padding: 4px;
            background: #fff;
        }

        .invoice-template-party-title {
            font-size: 7px;
            font-weight: 800;
            letter-spacing: 0.04em;
            color: #64748b;
            margin-bottom: 4px;
        }

        .invoice-template-party-line {
            font-size: 7px;
            font-weight: 600;
            color: #0f172a;
            line-height: 1.2;
        }

        .invoice-template-items {
            border: 1px solid #edf2f9;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 5px;
            display: flex;
            flex-direction: column;
        }

        .invoice-template-items-head,
        .invoice-template-items-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(64px, 92px);
            gap: 8px;
            padding: 4px 5px;
            font-size: 7px;
        }

        .invoice-template-items-head {
            font-weight: 800;
            color: #0f172a;
            background: #f8fafc;
        }

        .invoice-template-items-row {
            color: #334155;
            font-weight: 600;
            border-top: 1px solid #edf2f9;
        }

        .invoice-template-items-row > span:first-child {
            min-width: 0;
        }

        .invoice-template-items-row > span:last-child {
            text-align: right;
            white-space: nowrap;
            justify-self: end;
        }

        .invoice-template-items-body {
            display: flex;
            flex-direction: column;
        }

        .invoice-template-item-main {
            display: block;
            font-weight: 700;
            color: #0f172a;
            overflow-wrap: break-word;
            word-break: normal;
        }

        .invoice-template-item-sub {
            display: block;
            margin-top: 1px;
            font-size: 5.5px;
            font-weight: 500;
            color: #64748b;
            opacity: 0.8;
            white-space: pre-line;
            line-height: 1.28;
            overflow-wrap: break-word;
            word-break: normal;
        }

        .invoice-template-foot {
            display: grid;
            gap: 8px;
        }

        .invoice-template-foot.with-sidebar {
            grid-template-columns: 0.7fr 1.3fr;
            align-items: start;
        }

        .invoice-template-total {
            font-size: 7px;
            font-weight: 800;
            color: #0f172a;
            justify-self: end;
            text-align: right;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }

        .invoice-template-payment,
        .invoice-template-note {
            border: 1px solid #edf2f9;
            border-radius: 8px;
            padding: 4px 5px;
            background: #fff;
            font-size: 6px;
            color: #475569;
            font-weight: 600;
        }

        .invoice-template-payment.split {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4px;
            border: none;
            background: transparent;
            padding: 0;
        }

        .invoice-template-payment.split .invoice-payment-section {
            margin: 0;
            padding: 4px;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            background: #fff;
        }

        .invoice-template-payment.split .invoice-payment-section + .invoice-payment-section {
            margin-top: 0;
            padding-top: 4px;
            border-top: 1px solid #e2e8f0;
        }

        .invoice-payment-section + .invoice-payment-section {
            margin-top: 7px;
            padding-top: 7px;
            border-top: 1px dashed #dbe6f3;
        }

        .invoice-payment-title {
            display: block;
            font-size: 6px;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: #64748b;
            margin-bottom: 2px;
        }

        .invoice-bank-grid,
        .invoice-extra-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2px 4px;
            font-size: 6px;
            line-height: 1.2;
        }

        .invoice-bank-cell,
        .invoice-extra-cell {
            padding: 2px 4px;
            border-radius: 6px;
            background: #f8fafc;
            white-space: normal;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        .invoice-template-logo {
            margin-left: 4px;
            max-width: 112px;
            max-height: 34px;
            object-fit: contain;
            align-self: start;
            justify-self: end;
        }

        .invoice-preview-modal {
            position: fixed;
            inset: 0;
            z-index: 1200;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(15, 23, 42, 0.72);
            padding: 20px;
        }

        .invoice-preview-modal.show {
            display: flex;
        }

        .invoice-preview-modal-content {
            width: min(96vw, 900px);
            max-height: 92vh;
            overflow: hidden;
            border-radius: 14px;
            border: 1px solid #d8e1ee;
            background: #f8fafc;
            padding: 12px;
            box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
            display: grid;
            grid-template-rows: auto 1fr;
        }

        .invoice-preview-modal.preview-zoom-3x .invoice-preview-modal-content {
            width: min(98vw, 1500px);
            max-height: 95vh;
        }

        .invoice-preview-modal-head {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .invoice-preview-modal-actions {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .invoice-preview-modal-close {
            border: 1px solid #d8e1ee;
            background: #fff;
            color: #0f172a;
            border-radius: 10px;
            font-size: 12px;
            font-weight: 700;
            padding: 6px 10px;
            cursor: pointer;
        }

        .invoice-preview-modal-body {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            overflow: auto;
            padding: 6px 0;
        }

        .invoice-preview-modal-body.preview-zoom-3x {
            display: grid;
            justify-items: center;
            align-items: start;
            overflow: auto;
            padding: 14px;
        }

        .invoice-preview-modal-body .invoice-template-stack {
            width: 100%;
            height: auto;
            min-height: 100%;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding-bottom: 8px;
        }

        .invoice-preview-modal-body.preview-zoom-3x .invoice-template-stack {
            zoom: 3;
            width: max-content;
            height: auto;
            justify-content: center;
            align-items: center;
            margin: 0 auto;
        }

        .invoice-preview-modal-body .invoice-template-canvas.a4 {
            width: min(100%, calc((92vh - 110px) * 210 / 297));
            max-width: none;
        }

        .invoice-preview-modal-body.preview-zoom-3x .invoice-template-canvas.a4 {
            width: min(100%, calc((92vh - 110px) * 210 / 297));
            max-width: none;
        }

        .invoice-template-canvas.a4.fill-layout {
            display: flex;
            flex-direction: column;
        }

        .invoice-template-canvas.a4.fill-layout .invoice-template-flow {
            min-height: calc(100% - 24px);
            justify-content: flex-start;
            gap: 8px;
            padding-top: 16px;
        }

        .invoice-template-canvas.a4.fill-layout .invoice-template-company,
        .invoice-template-canvas.a4.fill-layout .invoice-template-parties,
        .invoice-template-canvas.a4.fill-layout .invoice-template-items,
        .invoice-template-canvas.a4.fill-layout .invoice-template-foot {
            margin-bottom: 0;
        }

        .invoice-template-canvas.a4.fill-layout .invoice-template-items {
            flex: 0 1 auto;
        }

        .invoice-template-canvas.a4.fill-layout .invoice-template-items-body {
            flex: 0 1 auto;
            justify-content: flex-start;
            gap: 6px;
        }

        .invoice-template-canvas.a4.fill-layout .invoice-template-items-row {
            padding-top: 4px;
            padding-bottom: 4px;
        }

        .invoice-template-canvas.a4.fill-layout .invoice-template-head {
            margin-bottom: 8px;
            padding-bottom: 6px;
        }

        .invoice-template-canvas.a4.fill-layout .invoice-template-company {
            margin-bottom: 6px;
        }

        .summary-live-invoice {
            margin-top: 14px;
            border: 1px solid #d8e1ee;
            border-radius: 14px;
            background: #f8fafc;
            padding: 12px;
        }

        .summary-live-invoice > summary {
            list-style: none;
            cursor: pointer;
            font-weight: 800;
            color: #0f172a;
        }

        .summary-live-invoice > summary::-webkit-details-marker {
            display: none;
        }

        .summary-live-invoice-preview {
            margin-top: 8px;
            max-height: none;
            min-height: 430px;
            cursor: zoom-in;
        }

        .summary-live-invoice-preview .invoice-template-canvas {
            max-width: 700px;
        }

        .invoice-template-canvas.compact .invoice-template-head {
            margin-bottom: 4px;
            padding-bottom: 4px;
            gap: 4px;
        }

        .invoice-template-canvas.compact .invoice-template-title {
            font-size: 8px;
        }

        .invoice-template-canvas.compact .invoice-template-meta {
            font-size: 6px;
        }

        .invoice-template-canvas.compact .invoice-template-company {
            font-size: 6.6px;
            margin-bottom: 4px;
        }

        .invoice-template-canvas.compact .invoice-template-parties {
            gap: 3px;
            margin-bottom: 4px;
        }

        .invoice-template-canvas.compact .invoice-template-party {
            padding: 3px;
            border-radius: 4px;
        }

        .invoice-template-canvas.compact .invoice-template-party-title {
            font-size: 5.2px;
        }

        .invoice-template-canvas.compact .invoice-template-party-line {
            font-size: 5.8px;
            line-height: 1.1;
        }

        .invoice-template-canvas.compact .invoice-template-items {
            margin-bottom: 4px;
            border-radius: 4px;
        }

        .invoice-template-canvas.compact .invoice-template-items-head,
        .invoice-template-canvas.compact .invoice-template-items-row {
            font-size: 7px;
            padding: 3px 4px;
            grid-template-columns: minmax(0, 1fr) minmax(48px, 66px);
        }

        .invoice-template-canvas.compact .invoice-template-items-head {
            font-size: 5.8px;
        }

        .invoice-template-canvas.compact .invoice-template-items-row {
            font-size: 7px;
        }

        .invoice-template-canvas.compact .invoice-template-item-sub {
            font-size: 5.2px;
        }

        .invoice-template-canvas.compact .invoice-template-payment,
        .invoice-template-canvas.compact .invoice-template-note,
        .invoice-template-canvas.compact .invoice-template-total {
            font-size: 5.8px;
        }

        .invoice-template-canvas.compact .invoice-bank-grid,
        .invoice-template-canvas.compact .invoice-extra-grid {
            grid-template-columns: 1fr;
            font-size: 5.2px;
            gap: 1px;
        }

        .invoice-template-stack {
            display: grid;
            gap: 10px;
        }

        .invoice-preview-page {
            position: relative;
        }

        .invoice-preview-page.hidden {
            display: none;
        }

        .invoice-preview-pager {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
        }

        .invoice-preview-nav {
            border: 1px solid #cbd5e1;
            background: #ffffff;
            color: #0f172a;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
            padding: 4px 10px;
            cursor: pointer;
        }

        .invoice-preview-nav:disabled {
            opacity: 0.45;
            cursor: not-allowed;
        }

        .invoice-preview-page-indicator {
            font-size: 11px;
            color: #64748b;
            font-weight: 700;
        }

        .template-gallery-card .invoice-template-canvas {
            width: 100%;
            max-width: 100%;
        }

        .invoice-template-canvas.compact .invoice-template-foot {
            gap: 5px;
        }

        .invoice-template-due-line {
            margin-top: 0;
            font-size: 7px;
            font-weight: 600;
            color: #64748b;
            text-align: right;
            white-space: nowrap;
        }

        .invoice-template-canvas.compact .invoice-template-due-line {
            font-size: 5.3px;
            margin-top: 0;
        }

        .invoice-template-total {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 10px;
        }

        .invoice-font-serif {
            font-family: Georgia, 'Times New Roman', serif;
        }

        .invoice-font-mono {
            font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
        }

        .template-variant-1 .invoice-template-items-head {
            border-bottom: 2px solid rgba(15, 23, 42, 0.18);
        }

        .template-variant-2 .invoice-template-party {
            background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        }

        .template-variant-3 .invoice-template-items-row {
            border-top-style: dashed;
        }

        .template-variant-4 .invoice-template-title {
            letter-spacing: 0.12em;
        }

        .template-variant-5 .invoice-template-items {
            border-width: 2px;
        }

        .template-variant-6 .invoice-template-party-title {
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .template-variant-7 .invoice-template-payment,
        .template-variant-7 .invoice-template-note {
            border-style: dashed;
        }

        .template-variant-8 .invoice-template-head {
            border-bottom-width: 2px;
        }

        .template-variant-9 .invoice-template-total {
            font-size: 7px;
        }

        .invoice-editor-grid {
            grid-template-columns: 1.05fr 0.95fr;
            align-items: start;
        }

        .invoice-editor-controls {
            display: grid;
            gap: 20px;
        }

        .invoice-preview-pane {
            position: sticky;
            top: 20px;
        }

        .invoice-template-browser {
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 12px;
            background: #f8fafc;
            margin-top: 10px;
        }

        .template-browser-grid {
            margin-top: 10px;
            max-height: 360px;
            overflow: auto;
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 8px;
        }

        .template-card {
            border: 1px solid #d8e1ee;
            border-radius: 10px;
            background: #fff;
            padding: 8px;
            cursor: pointer;
            transition: border-color 0.2s ease, transform 0.2s ease;
        }

        .template-card:hover {
            border-color: #0f172a;
            transform: translateY(-1px);
        }

        .template-card.active {
            border-color: #0f172a;
            box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.28);
        }

        .template-card-head {
            height: 10px;
            border-radius: 5px;
            margin-bottom: 6px;
        }

        .template-card-lines {
            display: grid;
            gap: 4px;
        }

        .template-card-line {
            height: 4px;
            border-radius: 2px;
            background: #cbd5e1;
        }

        .template-card-label {
            margin-top: 6px;
            font-size: 10px;
            font-weight: 700;
            color: #475569;
        }

        .template-gallery-toolbar {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 10px;
            align-items: end;
            margin-top: 10px;
        }

        .template-gallery-grid {
            margin-top: 14px;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
            max-height: calc(100vh - 280px);
            overflow: auto;
            padding-right: 4px;
        }

        .template-gallery-card {
            border: 1px solid #d8e1ee;
            border-radius: 12px;
            background: #fff;
            padding: 6px;
            display: grid;
            gap: 5px;
            cursor: pointer;
            transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
        }

        .template-gallery-card:hover {
            border-color: #94a3b8;
            transform: translateY(-1px);
        }

        .template-gallery-card.active {
            border-color: #0f172a;
            box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.28);
        }

        .template-gallery-label {
            font-size: 10px;
            color: #1e293b;
            font-weight: 700;
        }

        .logo-upload-meta {
            font-size: 11px;
            color: #64748b;
            font-weight: 600;
        }

        .logo-upload-actions {
            display: flex;
            gap: 8px;
            align-items: center;
            margin-top: 6px;
        }

        .settings-select,
        .settings-input {
            width: 100%;
            padding: var(--space-3);
            border-radius: var(--radius-md);
            border: 1px solid rgba(226, 232, 240, 0.9);
            background: rgba(255, 255, 255, 0.82);
            color: var(--text-primary);
            font-size: var(--text-sm);
            font-weight: 600;
            outline: none;
            transition: border-color var(--dur-2) ease, box-shadow var(--dur-2) ease;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
        }

        .settings-select:focus,
        .settings-input:focus {
            border-color: var(--text-primary);
            box-shadow: var(--ring);
        }

        .settings-btn-row {
            margin-top: 6px;
            display: flex;
            gap: 8px;
        }

        .settings-btn {
            flex: 1;
            margin: 0;
            padding: var(--space-3);
            border-radius: var(--radius-md);
            border: 1px solid transparent;
            font-size: var(--text-sm);
            font-weight: 700;
            cursor: pointer;
            transition: all var(--dur-2) ease;
        }

        .settings-btn.btn-primary {
            background: linear-gradient(140deg, #0b1220 0%, #141f32 48%, #1f3552 100%);
            color: var(--surface);
            box-shadow:
                0 12px 22px rgba(2, 6, 23, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .settings-btn.btn-primary:hover {
            background: linear-gradient(140deg, #101a2c 0%, #1a2a40 50%, #274564 100%);
        }

        .settings-btn.btn-secondary {
            background: rgba(255, 255, 255, 0.74);
            color: var(--text-primary);
            border-color: rgba(226, 232, 240, 0.9);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
        }

        .multi-input-group {
            display: flex;
            flex-direction: column;
            gap: var(--space-2);
        }

        .multi-input-item {
            display: flex;
            gap: var(--space-2);
            align-items: center;
        }

        .multi-input-item input {
            flex: 1;
            padding: var(--space-3);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            background: var(--surface);
            color: var(--text-primary);
            font-size: var(--text-sm);
            font-weight: 600;
        }

        .multi-input-item input:focus {
            border-color: var(--text-primary);
            box-shadow: var(--ring);
        }

        .multi-input-remove {
            padding: var(--space-2);
            width: 36px;
            height: 36px;
            border-radius: var(--radius-md);
            border: 1px solid #fecaca;
            background: #fff1f2;
            color: #b91c1c;
            font-size: var(--text-sm);
            font-weight: 700;
            cursor: pointer;
            flex-shrink: 0;
            transition: all var(--dur-2);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .multi-input-remove:hover {
            background: #ffe4e6;
            border-color: #ef9a9a;
        }

        .multi-input-add {
            padding: var(--space-2) var(--space-3);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            background: var(--surface-secondary);
            color: var(--text-primary);
            font-size: var(--text-xs);
            font-weight: 600;
            cursor: pointer;
            transition: all var(--dur-2);
            display: inline-flex;
            align-items: center;
            gap: var(--space-1);
            margin-top: var(--space-1);
        }

        .multi-input-add:hover {
            background: var(--surface-hover);
        }

        .multi-input-label {
            font-size: var(--text-xs);
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: var(--space-1);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .settings-btn.btn-secondary:hover {
            background: rgba(255, 255, 255, 0.9);
        }

        .settings-btn.danger {
            background: #ef4444;
            color: var(--surface);
        }

        .settings-btn.danger:hover {
            background: #dc2626;
        }

        .client-list {
            display: grid;
            gap: 8px;
        }

        .client-item {
            display: block;
            padding: 0;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-md);
            background: var(--surface);
        }

        .client-item-summary {
            list-style: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--space-3);
            cursor: pointer;
            padding: var(--space-4);
        }

        .client-item-summary::-webkit-details-marker {
            display: none;
        }

        .client-item-caret {
            font-size: 12px;
            color: #64748b;
            transition: transform 0.2s ease;
        }

        .client-item[open] .client-item-caret {
            transform: rotate(180deg);
        }

        .client-item-details {
            border-top: 1px solid #e2e8f0;
            padding: 10px 12px 12px;
            display: grid;
            gap: 8px;
        }

        .client-item-actions {
            display: flex;
            gap: 8px;
            margin-top: 2px;
        }

        .client-save-btn {
            margin-top: 10px;
            width: auto;
            min-width: 140px;
            padding-inline: 16px;
            flex: 0 0 auto;
            display: inline-flex;
            align-self: flex-start;
        }

        .client-item-edit,
        .client-item-remove {
            width: auto;
            margin: 0;
            padding: var(--space-2) var(--space-3);
            border-radius: var(--radius-md);
            font-size: var(--text-xs);
            font-weight: 700;
            box-shadow: none;
            border: 1px solid transparent;
            background: transparent;
            cursor: pointer;
        }

        .client-item-edit {
            border-color: #c5ddd2;
            background: #f2f7f4;
            color: #1D4ED8;
        }

        .client-item-name {
            font-size: var(--text-sm);
            font-weight: 700;
            color: var(--text-primary);
        }

        .client-item-meta {
            font-size: var(--text-xs);
            color: var(--text-tertiary);
        }

        .client-item-remove {
            border: 1px solid #fecaca;
            background: #fff1f2;
            color: #b91c1c;
        }

        .avatar-crop-modal-body {
            display: grid;
            gap: 12px;
        }

        .avatar-crop-canvas-wrap {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 6px;
            border: 1px solid #dbe5f1;
            border-radius: 12px;
            background: #f8fafc;
        }

        #avatar-crop-canvas {
            width: min(320px, 80vw);
            height: auto;
            border-radius: 12px;
            touch-action: none;
            cursor: grab;
        }

        #avatar-crop-canvas.dragging {
            cursor: grabbing;
        }

        .invoice-day-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 10px 12px;
            border: 1px solid #dbe5f1;
            border-radius: 10px;
            background: #ffffff;
        }

        .invoice-day-item label {
            margin: 0;
            min-height: auto;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            color: #334155;
            font-weight: 700;
            cursor: pointer;
        }

        .invoice-day-item .meta {
            display: block;
            margin-top: 3px;
            margin-left: 24px;
            font-size: 11px;
            line-height: 1.35;
            color: #64748b;
            font-weight: 600;
        }

        .invoice-day-item .amount {
            font-size: 12px;
            color: #0f172a;
            font-weight: 800;
        }

        .summary-open-day-btn {
            width: auto;
            margin: 0;
            padding: 8px 11px;
            border: 1px solid #d8e1ee;
            border-radius: 9px;
            background: #f8fafc;
            color: #1e293b;
            font-size: 12px;
            font-weight: 700;
            box-shadow: none;
        }

        .summary-open-day-btn:hover {
            background: #eef4ff;
            border-color: #bfd5f5;
            color: #0f172a;
        }

        .account-footer-actions {
            margin-top: 30px;
            display: flex;
            gap: 12px;
        }

        .account-home-btn {
            flex: 1;
            background: #f1f5f9;
            color: #64748b;
            border: none;
            padding: 14px;
            border-radius: 10px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .account-home-btn:hover {
            background: #e2e8f0;
            color: #334155;
        }

        .btn-edit {
            background: #000000;
            color: white;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .btn-edit:hover {
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
            transform: translateY(-1px);
        }

        .btn-logout {
            background: #ef4444;
            color: white;
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
        }

        .btn-logout:hover {
            background: #dc2626;
            box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
            transform: translateY(-1px);
        }
