  *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --text: #000000;
            --text-secondary: #222222;
            --text-muted: #444444;
            --bg: #fafafa;
            --bg-warm: #f6f5f2;
            --white: #ffffff;
            --border: #d1d5db;
            --accent: #1e3a8a;
            --accent-bg: #e0e7ff;
            --warm: #b45309;
            --serif: 'DM Serif Display', Georgia, serif;
            --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            --shadow-card: 0 4px 16px rgba(0,0,0,0.08);
            --radius-lg: 12px;
        }

        body {
            font-family: var(--sans);
            background: var(--bg-warm);
            color: var(--text);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Header */
        .header {
            background: #fff;
            border-bottom: 1px solid var(--border);
            padding: 16px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }

        .logo-mark {
            width: 40px; height: 40px;
            background: var(--accent);
            border-radius: 8px;
            display: grid;
            place-items: center;
            color: #fff;
            font-family: var(--serif);
            font-size: 1.1rem;
        }

        .logo-text strong {
            display: block;
            font-size: 0.95rem;
            color: var(--text);
        }

        .logo-text small {
            font-size: 0.65rem;
            color: var(--text-muted);
        }

        .back-link {
            font-size: 0.85rem;
            color: var(--text-secondary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 500;
            transition: color 0.2s;
        }

        .back-link:hover {
            color: var(--accent);
        }

        /* Content Container */
        .page-content {
            max-width: 1000px;
            margin: 60px auto;
            width: 100%;
            padding: 0 24px;
            flex: 1;
        }

        .page-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .page-header h1 {
            font-family: var(--serif);
            font-size: 2.2rem;
            color: var(--text);
            margin-bottom: 12px;
        }

        .page-header p {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        /* Table Card */
        .table-card {
            background: #fff;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-card);
            border: 1px solid var(--border);
            overflow: hidden;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .table-responsive {
            overflow-x: auto;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            font-size: 0.9rem;
        }

        th, td {
            padding: 16px 20px;
            border-bottom: 1px solid var(--border);
        }

        th {
            background: var(--accent-bg);
            color: var(--text);
            font-weight: 700;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 2px solid var(--accent);
        }

        .col-sno {
            width: 80px;
            text-align: center;
            font-weight: 700;
            color: var(--text);
        }

        .col-amount {
            width: 160px;
            text-align: right;
            font-weight: 700;
            color: var(--text);
        }

        /* Section Rows */
        .row-section td {
            background: var(--bg);
            font-weight: 600;
            color: var(--text);
            font-size: 0.95rem;
        }
        
        .row-section .col-sno {
            color: var(--text);
            font-weight: 700;
        }

        /* Data Rows */
        .row-data td {
            color: var(--text-secondary);
            font-weight: 500;
            font-size: 0.95rem;
        }

        /* Total Rows */
        .row-total td {
            background: var(--bg-warm);
            font-weight: 700;
            color: var(--text);
        }

        .row-grand-total td {
            background: var(--accent-bg);
            font-weight: 700;
            color: var(--accent);
            font-size: 1.05rem;
        }

        .note {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 24px;
            text-align: center;
            font-style: italic;
        }

        /* Footer Styles Added */
        .footer {
            background: var(--text);
            color: rgba(255,255,255,0.55);
            padding: 60px 0 0;
            font-size: 0.85rem;
            margin-top: auto;
        }
        .container {
            width: 100%;
            max-width: 1140px;
            margin: 0 auto;
            padding: 0 24px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        .footer h4 {
            color: #fff;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 16px;
        }
        .footer-about p {
            line-height: 1.7;
            margin-bottom: 18px;
        }
        .footer-social {
            display: flex;
            gap: 8px;
        }
        .footer-social a {
            width: 34px; height: 34px;
            border-radius: 8px;
            background: rgba(255,255,255,0.06);
            display: grid;
            place-items: center;
            transition: background 0.2s, transform 0.2s;
        }
        .footer-social a:hover {
            background: var(--accent);
            transform: translateY(-2px);
        }
        .footer-social a svg {
            width: 16px; height: 16px;
            fill: rgba(255,255,255,0.7);
        }
        .footer ul {
            list-style: none;
        }
        .footer ul li { margin-bottom: 8px; }
        .footer ul a {
            color: rgba(255,255,255,0.55);
            transition: color 0.2s, padding-left 0.2s;
            text-decoration: none;
        }
        .footer ul a:hover {
            color: #fff;
            padding-left: 4px;
        }
        .footer-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 12px;
        }
        .footer-contact-item svg {
            width: 18px; height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
            margin-top: 2px;
        }
        .footer-bottom {
            padding: 24px 0;
            text-align: center;
            font-size: 0.8rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            th, td {
                padding: 12px 16px;
            }
            .page-header h1 {
                font-size: 1.8rem;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }
        }