        /* CSS RESET & BASE STYLES */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: #a0c4ff;
            color: #333;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 2rem;
        }

        .content-body {
            width: 100%;
            max-width: 1200px;
            background-color: #ffffff;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            animation: fadeIn 0.5s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.98); }
            to { opacity: 1; transform: scale(1); }
        }

        /* HEADER */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #eef2ff;
        }

        .header h1 {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1e3a8a;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .theme-toggle {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 25px;
            padding: 0.5rem 1rem;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .theme-toggle:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        .theme-toggle .moon-icon {
            display: none;
        }

        .back-btn {
            background-color: #4f46e5;
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0.8rem 1.5rem;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            transition: background-color 0.2s ease;
        }

        .back-btn:hover {
            background-color: #3730a3;
        }

        /* SUMMARY CARDS */
        .summary-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .summary-card {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 15px;
            padding: 1.5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .summary-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #4f46e5, #10b981);
        }

        .summary-card.income::before {
            background: linear-gradient(90deg, #10b981, #059669);
        }

        .summary-card.expense::before {
            background: linear-gradient(90deg, #ef4444, #dc2626);
        }

        .summary-card.savings::before {
            background: linear-gradient(90deg, #8b5cf6, #7c3aed);
        }

        .summary-card.investment::before {
            background: linear-gradient(90deg, #f59e0b, #d97706);
        }

        .summary-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .summary-amount {
            font-size: 2rem;
            font-weight: 700;
            color: #1e3a8a;
            margin-bottom: 0.5rem;
        }

        .summary-label {
            font-size: 0.9rem;
            color: #6b7280;
        }

        /* MAIN CONTENT */
        .main-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        /* TRANSACTION FORM */
        .transaction-form {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 15px;
            padding: 1.5rem;
        }

        .transaction-form h3 {
            color: #1e3a8a;
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
        }

        .transaction-tabs {
            display: flex;
            margin-bottom: 1.5rem;
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid #e2e8f0;
        }

        .tab-btn {
            flex: 1;
            padding: 0.8rem;
            background-color: #f9fafb;
            border: none;
            cursor: pointer;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .tab-btn.active {
            background-color: #4f46e5;
            color: white;
        }

        .tab-btn.income.active {
            background-color: #10b981;
        }

        .tab-btn.expense.active {
            background-color: #ef4444;
        }

        .tab-btn.savings.active {
            background-color: #8b5cf6;
        }

        .tab-btn.investment.active {
            background-color: #f59e0b;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #374151;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-family: 'Poppins', sans-serif;
            font-size: 0.9rem;
        }

        .form-row {
            display: flex;
            gap: 1rem;
        }

        .form-row .form-group {
            flex: 1;
        }

        .submit-btn {
            background-color: #4f46e5;
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0.8rem 1.5rem;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
            transition: background-color 0.2s ease;
        }

        .submit-btn:hover {
            background-color: #3730a3;
        }

        .submit-btn.income {
            background-color: #10b981;
        }

        .submit-btn.income:hover {
            background-color: #059669;
        }

        .submit-btn.expense {
            background-color: #ef4444;
        }

        .submit-btn.expense:hover {
            background-color: #dc2626;
        }

        .submit-btn.savings {
            background-color: #8b5cf6;
        }

        .submit-btn.savings:hover {
            background-color: #7c3aed;
        }

        .submit-btn.investment {
            background-color: #f59e0b;
        }

        .submit-btn.investment:hover {
            background-color: #d97706;
        }

        /* RECENT TRANSACTIONS */
        .recent-transactions {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 15px;
            padding: 1.5rem;
            max-height: 500px;
            overflow-y: auto;
        }

        .recent-transactions h3 {
            color: #1e3a8a;
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
        }

        .transaction-item {
            background-color: white;
            border-radius: 10px;
            padding: 1rem;
            margin-bottom: 1rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .transaction-details {
            flex: 1;
        }

        .transaction-description {
            font-weight: 600;
            color: #1e3a8a;
            margin-bottom: 0.3rem;
        }

        .transaction-meta {
            font-size: 0.8rem;
            color: #6b7280;
            display: flex;
            gap: 1rem;
        }

        .transaction-amount {
            font-weight: 700;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .transaction-amount.income {
            color: #10b981;
        }

        .transaction-amount.expense {
            color: #ef4444;
        }

        .transaction-amount.savings {
            color: #8b5cf6;
        }

        .transaction-amount.investment {
            color: #f59e0b;
        }

        .delete-btn {
            background-color: #ef4444;
            color: white;
            border: none;
            border-radius: 5px;
            padding: 0.3rem 0.6rem;
            cursor: pointer;
            font-size: 0.8rem;
            transition: background-color 0.2s ease;
        }

        .delete-btn:hover {
            background-color: #dc2626;
        }

        /* CATEGORIES SECTION */
        .categories-section {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 15px;
            padding: 1.5rem;
            margin-bottom: 2rem;
        }

        .categories-section h3 {
            color: #1e3a8a;
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
        }

        .category-breakdown {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
        }

        .category-item {
            background-color: white;
            border-radius: 10px;
            padding: 1rem;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .category-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .category-name {
            font-weight: 600;
            color: #1e3a8a;
            margin-bottom: 0.5rem;
        }

        .category-amount {
            font-weight: 700;
            font-size: 1.2rem;
        }

        .category-amount.income {
            color: #10b981;
        }

        .category-amount.expense {
            color: #ef4444;
        }

        .category-amount.savings {
            color: #8b5cf6;
        }

        .category-amount.investment {
            color: #f59e0b;
        }

        /* RESPONSIVE DESIGN */
        @media (max-width: 768px) {
            body {
                padding: 1rem;
            }
            
            .content-body {
                padding: 1.5rem;
            }
            
            .header h1 {
                font-size: 2rem;
            }
            
            .summary-cards {
                grid-template-columns: 1fr 1fr;
            }
            
            .main-content {
                grid-template-columns: 1fr;
            }
            
            .form-row {
                flex-direction: column;
            }
        }

        /* EMPTY STATE */
        .empty-state {
            text-align: center;
            padding: 2rem;
            color: #6b7280;
        }

        .empty-state .icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .empty-state h4 {
            margin-bottom: 0.5rem;
            color: #374151;
        }

        .empty-state p {
            font-size: 0.9rem;
        }

        /* DARK MODE STYLES */
        [data-theme="dark"] body {
            background-color: #1e293b;
        }

        [data-theme="dark"] .content-body {
            background-color: #334155;
            color: #e2e8f0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] .header {
            border-bottom-color: #475569;
        }

        [data-theme="dark"] .header h1 {
            color: #60a5fa;
        }

        [data-theme="dark"] .theme-toggle {
            background-color: #475569;
            border-color: #64748b;
            color: #e2e8f0;
        }

        [data-theme="dark"] .theme-toggle .sun-icon {
            display: none;
        }

        [data-theme="dark"] .theme-toggle .moon-icon {
            display: inline;
        }

        [data-theme="dark"] .back-btn {
            background-color: #3b82f6;
        }

        [data-theme="dark"] .back-btn:hover {
            background-color: #2563eb;
        }

        [data-theme="dark"] .summary-card {
            background-color: #475569;
            border-color: #64748b;
            color: #e2e8f0;
        }

        [data-theme="dark"] .summary-amount {
            color: #60a5fa;
        }

        [data-theme="dark"] .summary-label {
            color: #94a3b8;
        }

        [data-theme="dark"] .transaction-form,
        [data-theme="dark"] .recent-transactions,
        [data-theme="dark"] .categories-section {
            background-color: #475569;
            border-color: #64748b;
        }

        [data-theme="dark"] .transaction-form h3,
        [data-theme="dark"] .recent-transactions h3,
        [data-theme="dark"] .categories-section h3 {
            color: #60a5fa;
        }

        [data-theme="dark"] .form-group label {
            color: #cbd5e1;
        }

        [data-theme="dark"] .form-group input,
        [data-theme="dark"] .form-group select,
        [data-theme="dark"] .form-group textarea {
            background-color: #1e293b;
            border-color: #475569;
            color: #e2e8f0;
        }

        [data-theme="dark"] .form-group input::placeholder,
        [data-theme="dark"] .form-group textarea::placeholder {
            color: #94a3b8;
        }

        [data-theme="dark"] .tab-btn {
            background-color: #334155;
            border-color: #475569;
            color: #e2e8f0;
        }

        [data-theme="dark"] .transaction-item,
        [data-theme="dark"] .category-item {
            background-color: #1e293b;
            color: #e2e8f0;
        }

        [data-theme="dark"] .transaction-description,
        [data-theme="dark"] .category-name {
            color: #60a5fa;
        }

        [data-theme="dark"] .transaction-meta {
            color: #94a3b8;
        }

        [data-theme="dark"] .empty-state {
            color: #94a3b8;
        }

        [data-theme="dark"] .empty-state h4 {
            color: #cbd5e1;
        }
