* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.5;
            color: #212529;
            background: #f8f9fa;
            -webkit-font-smoothing: antialiased;
        }

        /* Header - Exact FTC Style */
        .ftc-header {
            background: white;
            position: relative;
            z-index: 100;
        }

        .gov-banner {
            background: #f0f0f0;
            padding: 8px 0;
            font-size: 12px;
            color: #666;
            border-bottom: 1px solid #ddd;
        }

        .gov-banner .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .gov-banner .icon {
            fill: #666;
        }

        .main-header {
            background: white;
            padding: 15px 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            border-bottom: 1px solid #e9ecef;
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .ftc-logo-section {
            display: flex;
            align-items: center;
            gap: 15px;
            color: #003366;
        }

        .ftc-logo-section img {
            height: 90px;
            width: auto;
        }

        .ftc-brand {
            display: flex;
            flex-direction: column;
        }

        .ftc-title {
            font-size: 18px;
            font-weight: 700;
            letter-spacing: -0.3px;
            line-height: 1.1;
        }

        .ftc-subtitle {
            font-size: 11px;
            opacity: 0.9;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .header-nav {
            display: flex;
            gap: 30px;
            align-items: center;
        }

        .header-nav a {
            color: #003366;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            padding: 8px 12px;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .header-nav a:hover {
            color: #004080;
            background: rgba(0, 51, 102, 0.05);
        }

        .header-nav a.active {
            color: #003366;
            background: rgba(0, 51, 102, 0.1);
            font-weight: 600;
        }

        .header-nav .icon {
            fill: #003366;
        }

        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, #003366 0%, #004080 100%);
            color: white;
            padding: 50px 0;
            position: relative;
        }

        .hero-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .hero-content {
            max-width: 800px;
        }

        .hero-title {
            font-size: 42px;
            font-weight: 300;
            margin-bottom: 15px;
            line-height: 1.2;
        }

        .hero-subtitle {
            font-size: 18px;
            opacity: 0.9;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .hero-stats {
            display: flex;
            gap: 40px;
            margin-top: 30px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 24px;
            font-weight: 700;
            display: block;
        }

        .stat-label {
            font-size: 13px;
            opacity: 0.8;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Main Content */
        .main-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        /* Investment Summary */
        .investment-summary {
            background: white;
            border-radius: 12px;
            padding: 40px;
            margin-bottom: 40px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.08);
            border: 1px solid #e9ecef;
            text-align: center;
        }

        .summary-title {
            font-size: 24px;
            font-weight: 700;
            color: #003366;
            margin-bottom: 10px;
        }

        .total-amount {
            font-size: 56px;
            font-weight: 700;
            color: #003366;
            margin: 20px 0;
        }

        .summary-subtitle {
            font-size: 16px;
            color: #6c757d;
            margin-bottom: 30px;
        }

        .summary-actions {
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        /* Investment Cards */
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 30px;
            margin-bottom: 40px;
        }

        .investment-card {
            background: white;
            border-radius: 12px;
            border: 1px solid #e9ecef;
            box-shadow: 0 2px 12px rgba(0,0,0,0.08);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .investment-card:hover {
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            transform: translateY(-2px);
        }

        .card-header {
            padding: 20px 25px 0;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .card-title {
            font-size: 12px;
            font-weight: 700;
            color: #6c757d;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            margin-bottom: 15px;
        }

        .card-menu {
            cursor: pointer;
            padding: 4px;
            border-radius: 4px;
            transition: background 0.2s;
        }

        .card-menu:hover {
            background: #f8f9fa;
        }

        .card-body {
            padding: 0 25px 25px;
        }

        .investment-amount {
            font-size: 32px;
            font-weight: 700;
            color: #212529;
            margin-bottom: 20px;
            line-height: 1;
        }

        .account-info {
            margin-bottom: 20px;
        }

        .account-name {
            font-weight: 600;
            color: #212529;
            margin-bottom: 5px;
            font-size: 14px;
        }

        .account-number {
            font-size: 12px;
            color: #6c757d;
        }

        .performance-metrics {
            border-top: 1px solid #e9ecef;
            padding-top: 20px;
        }

        .metric-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid #f8f9fa;
        }

        .metric-row:last-child {
            border-bottom: none;
        }

        .metric-label {
            font-size: 13px;
            color: #6c757d;
        }

        .metric-value {
            font-size: 13px;
            font-weight: 600;
            color: #212529;
        }

        .positive {
            color: #28a745;
        }

        .negative {
            color: #dc3545;
        }

        /* Activity List */
        .activity-list {
            padding-top: 0;
        }

        .activity-header {
            display: flex;
            justify-content: space-between;
            font-size: 11px;
            color: #adb5bd;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            padding: 0 16px 10px;
            border-bottom: 1px solid #f1f3f5;
            margin-bottom: 0;
        }

        /* Bank-style transaction row */
        .activity-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px 16px;
            transition: background 0.15s;
            cursor: pointer;
            border-bottom: 1px solid #f1f3f5;
        }

        .activity-item:last-child {
            border-bottom: none;
        }

        .activity-item:hover {
            background: #f8f9fa;
        }

        /* Icon circle on the left */
        .txn-icon {
            width: 40px;
            height: 40px;
            min-width: 40px;
            border-radius: 50%;
            background: #eef2f9;
            color: #003366;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 700;
            flex-shrink: 0;
        }

        /* Description + date — grows to fill space */
        .activity-details {
            flex: 1;
            min-width: 0;
        }

        .activity-details h4 {
            font-size: 14px;
            font-weight: 600;
            color: #212529;
            margin-bottom: 3px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .activity-date {
            font-size: 12px;
            color: #adb5bd;
        }

        /* Amount + badge stacked on the right */
        .txn-right {
            flex-shrink: 0;
            text-align: right;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 5px;
        }

        .activity-amount {
            font-size: 14px;
            font-weight: 700;
            color: #212529;
            white-space: nowrap;
        }

        .activity-status {
            flex-shrink: 0;
        }

        /* Action Buttons */
        .btn {
            padding: 12px 24px;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
        }

        .btn-primary {
            background: #003366;
            color: white;
        }

        .btn-primary:hover {
            background: #004080;
            transform: translateY(-1px);
        }

        .btn-secondary {
            background: white;
            color: #003366;
            border: 1px solid #003366;
        }

        .btn-secondary:hover {
            background: #003366;
            color: white;
        }

        .btn-full {
            width: 100%;
            justify-content: center;
            background: rgba(255,255,255,0.9);
            color: #495057;
            border: 1px solid #dee2e6;
        }

        .btn-full:hover {
            background: white;
            color: #212529;
        }

        /* Insights Card */
        .insights-card {
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
            border-radius: 12px;
            padding: 25px;
            margin-bottom: 20px;
        }

        .insights-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
        }

        .insights-badge {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 11px;
            color: #1565c0;
            font-weight: 700;
        }

        .insights-title {
            font-size: 18px;
            font-weight: 700;
            color: #212529;
            margin-bottom: 8px;
        }

        .insights-subtitle {
            font-size: 13px;
            color: #495057;
            margin-bottom: 25px;
        }

        .insights-stats {
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin-bottom: 25px;
        }

        .stat-group {
            text-align: center;
            flex: 1;
        }

        .stat-icon {
            width: 48px;
            height: 48px;
            margin: 0 auto 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255,255,255,0.7);
        }

        .stat-description {
            font-size: 11px;
            color: #6c757d;
            margin-bottom: 5px;
        }

        .stat-value {
            font-size: 13px;
            font-weight: 700;
        }

        .stat-divider {
            width: 1px;
            height: 60px;
            background: #b3d9f2;
            margin: 0 20px;
        }

        /* Footer */
        .footer {
            background: #003366;
            color: white;
            padding: 30px 0;
            margin-top: 60px;
            text-align: center;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .footer img {
            height: 40px;
            margin-bottom: 15px;
            opacity: 0.9;
        }

        .footer p {
            font-size: 13px;
            opacity: 0.8;
            margin-bottom: 5px;
        }

        /* SVG Icons */
        .icon {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

        .icon-menu {
            fill: #6c757d;
        }

        .icon-star {
            fill: #1565c0;
        }

        .icon-close {
            fill: #6c757d;
        }

        .icon-arrow {
            fill: #6c757d;
        }

        .icon-trending-up {
            fill: #28a745;
        }

        .icon-trending-down {
            fill: #dc3545;
        }

        .icon-investment {
            fill: #003366;
        }

        .icon-dollar {
            fill: #28a745;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .content-grid {
                grid-template-columns: 1fr 1fr;
                gap: 25px;
            }

            .hero-stats {
                gap: 30px;
            }

            .summary-actions {
                flex-direction: column;
                align-items: center;
            }
        }

        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }

            .header-nav {
                flex-wrap: wrap;
                justify-content: center;
                gap: 15px;
            }

            .hero-title {
                font-size: 32px;
            }

            .total-amount {
                font-size: 42px;
            }

            .hero-stats {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }

            .content-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .insights-stats {
                flex-direction: column;
                gap: 20px;
            }

            .stat-divider {
                width: 60px;
                height: 1px;
                margin: 0;
            }

            .investment-amount {
                font-size: 28px;
            }
        }

        @media (max-width: 480px) {
            .main-content {
                padding: 30px 15px;
            }

            .hero-container {
                padding: 0 15px;
            }

            .investment-summary {
                padding: 30px 20px;
            }

            .card-body,
            .card-header {
                padding-left: 20px;
                padding-right: 20px;
            }

            .investment-amount {
                font-size: 24px;
            }

            .total-amount {
                font-size: 36px;
            }
        }

        /* Wide card spanning 2 grid columns */
        .card-wide {
            grid-column: span 2;
        }

        /* ── Transaction Status Badges ─────────────────────────────── */
        .transaction-status,
        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
            white-space: nowrap;
        }

        /* Shared dot indicator */
        .transaction-status::before,
        .status-badge::before {
            content: '';
            display: inline-block;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .status-approved {
            background: #f0fdf4;
            color: #16a34a;
        }

        .status-approved::before {
            background: #22c55e;
        }

        .status-processing {
            background: #fff7ed;
            color: #ea580c;
        }

        .status-processing::before {
            background: #f97316;
        }

        .status-pending {
            background: #eff6ff;
            color: #2563eb;
        }

        .status-pending::before {
            background: #60a5fa;
        }

        .status-declined {
            background: #fef2f2;
            color: #dc2626;
        }

        .status-declined::before {
            background: #f87171;
        }

        /* Transaction amount colours */
        .amount-positive {
            color: #16a34a;
        }

        .amount-negative {
            color: #dc2626;
        }

        /* ── Mobile responsive helpers ─────────────────────────────── */
        /* Scrollable transaction table on small screens */
        @media (max-width: 768px) {
            #transactionTable {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            #transactionTable .activity-header,
            #transactionTable .activity-item {
                min-width: 620px;
            }

            /* Prevent grid-column: span N from creating implicit extra columns */
            .content-grid .investment-card {
                grid-column: span 1 !important;
            }

            /* Profile page: hero avatar row */
            .profile-hero-flex {
                flex-direction: column !important;
                text-align: center !important;
                gap: 15px !important;
            }

            /* Profile page: main 2-col layout */
            .profile-main-grid {
                grid-template-columns: 1fr !important;
            }

            /* Profile page: form fields 2-col */
            .profile-form-grid {
                grid-template-columns: 1fr !important;
            }

            /* Policy / About: 2-col content sections */
            .two-col-section,
            .policy-two-col,
            .about-two-col {
                grid-template-columns: 1fr !important;
            }

            /* Policy: 3-col updates section */
            .three-col-section,
            .policy-three-col {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
            }

            /* Advice page: hero CTA buttons stack */
            .hero-cta-row {
                flex-direction: column !important;
                align-items: center !important;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 26px !important;
            }

            .summary-actions {
                flex-direction: column;
                align-items: stretch;
            }

            .summary-actions .btn {
                text-align: center;
                justify-content: center;
            }
        }