    :root {
        /* Color Palette */
        --color-primary: #4A90E2;
        --color-primary-dark: #357ABD;
        --color-text: #333333;
        --color-text-secondary: #555555;
        --color-background: #F8F9FA;
        --color-surface: #FFFFFF;
        --color-border: #DEE2E6;
        --color-border-focus: #4A90E2;
        --color-danger: #E74C3C;
        --color-danger-dark: #C0392B;
        --color-success: #2ECC71;
        --color-star: #F39C12;

        /* Typography */
        --font-family-base: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        /* Sizing & Spacing */
        --border-radius-sm: 4px;
        --border-radius-md: 8px;
        --padding-sm: 10px;
        --padding-md: 20px;
        --padding-lg: 40px;

        /* Effects */
        --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        --transition-speed: 0.2s ease-in-out;
    }

    body {
        font-family: var(--font-family-base);
        background-color: var(--color-background);
        color: var(--color-text);
        margin: 0;
        padding: var(--padding-md);
        box-sizing: border-box;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .container {
        background-color: var(--color-surface);
        border-radius: var(--border-radius-md);
        box-shadow: var(--box-shadow);
        padding: var(--padding-lg);
        max-width: 1200px;
        margin: 20px auto;
    }

    h1, h2, h3, h5 {
        text-align: center;
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: 20px;
    }

    h1 { font-size: 2.25rem; }
    h3 { font-size: 1.5rem; color: var(--color-text-secondary); }
    h5 { font-size: 1.1rem; text-align: left; margin-top: 30px; margin-bottom: 10px; color: var(--color-primary); padding-bottom: 8px;}

    hr {
        border: none;
        border-top: 1px solid var(--color-border);
        margin: 20px 0;
    }

    /* Tabs Navigation */
    .tabs {
        display: flex;
        gap: 10px;
        border-bottom: 1px solid var(--color-border);
        margin-bottom: 30px;
    }

    .tabs .tab-button {
        background: none;
        border: none;
        padding: 12px 20px;
        cursor: pointer;
        font-size: 16px;
        color: var(--color-text-secondary);
        font-weight: 500;
        border-bottom: 3px solid transparent;
        transition: color var(--transition-speed), border-color var(--transition-speed);
    }

    .tabs .tab-button:hover {
        color: var(--color-primary);
    }

    .tabs .tab-button.active {
        color: var(--color-primary);
        border-bottom-color: var(--color-primary);
    }

    /* Form Styling */
    .form-section { display: none; }
    .form-section.active { display: block; }
    .tax-details {
        border-top: 1px solid var(--color-border);
        padding-top: 20px;
        margin-top: 10px;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        margin-bottom: 20px;
    }

    .column {
        flex: 1 1 30%; /* Flex-grow, flex-shrink, basis */
        min-width: 250px;
    }

    label {
        font-weight: 500;
        margin-bottom: 8px;
        display: block;
        color: var(--color-text-secondary);
        font-size: 14px;
    }

    input, select, textarea {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid var(--color-border);
        border-radius: var(--border-radius-md);
        background-color: var(--color-surface);
        font-size: 14px;
        font-family: var(--font-family-base);
        box-sizing: border-box;
        transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
    }

    input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: none;
        border-color: var(--color-border-focus);
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
    }

    input[type="checkbox"] {
        width: auto;
        margin-right: 10px;
    }
    label > input[type="checkbox"] {
        vertical-align: middle;
    }
    .declaration input[type="checkbox"] {
        width: 1%; /* Overriding for specific case */
    }
    input[readonly] {
        background-color: #e9ecef; /* Light grey background */
        cursor: not-allowed;
    }


    /* Table Styling */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 10px;
    }

    th, td {
        padding: 8px;
        text-align: left;
        font-size: 14px;
        vertical-align: middle;
        border: 1px solid var(--color-border);
    }

    thead th {
        background-color: var(--color-background);
        font-weight: 600;
        padding: 12px 8px;
        text-align: center;
    }

    table input, table select {
        background-color: #fff; /* Override for inputs inside tables */
        border: 1px solid #ccc;
    }
    table input:focus-visible, table select:focus-visible {
        border-color: var(--color-border-focus);
        box-shadow: none;
    }

    /* Buttons */
    .add-buttons {
        margin-top: 10px;
    }

    button, #submitBtn {
        padding: 10px 20px;
        background-color: var(--color-primary);
        border: none;
        color: var(--color-surface);
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        border-radius: var(--border-radius-md);
        transition: background-color var(--transition-speed), transform var(--transition-speed);
    }
    button:hover, #submitBtn:hover {
        background-color: var(--color-primary-dark);
        transform: translateY(-2px);
    }
    td button { /* Delete Button in tables */
        background-color: var(--color-text);
    }
    td button:hover {
        background-color: var(--color-danger-dark);
    }
    .add-buttons button { /* Add Row Button */
        background-color:black;
    }
    .add-buttons button:hover {
        background-color: #9d9d9d;
    }
    #submitBtn {
        display: block;
        width: fit-content;
        margin: 20px auto 0;
        font-size: 16px;
        padding: 12px 30px;
        background-color: gray; /* Initial state from JS */
    }

    /* Star Rating (for Languages) */
    .star-rating {
        display: inline-flex;
        direction: rtl; /* Stars fill from right to left */
        justify-content: center;
    }
    .star-rating input[type="radio"] {
        display: none;
    }
    .star-rating label {
        font-size: 24px;
        color: #ccc;
        cursor: pointer;
        transition: color 0.2s;
        padding: 0 2px;
        margin-bottom: 0;
    }
    .star-rating label:hover,
    .star-rating label:hover ~ label,
    .star-rating input[type="radio"]:checked ~ label {
        color: var(--color-star);
    }

    /* Error Design */

    .form-error {
    position: fixed;
    top: 24px;
    right: 0px;
    width: 330px;
    background-color: var(--color-text-secondary);
    color: var(--color-surface);
    padding: var(--padding-md);
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    font-size: 0.925rem;
    box-shadow: var(--box-shadow-lg);
    z-index: 9999;
    display: none;
    animation: slideIn 0.3s ease-out;
    backdrop-filter: blur(2px);
    border: none;
    display: flex;
    align-items: flex-start;
    gap: var(--padding-sm);
    }

    .form-error::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: rgb(235, 31, 31);
    border-radius: var(--border-radius-xl) 0 0 var(--border-radius-xl);
    }

    .form-error-content {
    flex: 1;
    padding-right: var(--padding-md);
    line-height: 1.5;
    }

    .form-error-close {
    background: transparent;
    border: none;
    color: var(--color-surface);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    margin-top: 1px;
    line-height: 1;
    }

    .form-error-close:hover {
    opacity: 1;
    }

    @keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
    }

    /* Responsive Design */
    @media (max-width: 780px) {
        body {
            padding: 10px;
        }
        .container {
            padding: var(--padding-md);
        }
        .row {
            flex-direction: column;
            gap: 20px;
        }
        h1 { font-size: 1.75rem; }
        h3 { font-size: 1.25rem; }
        /* Responsive Table */
        table, thead, tbody, th, td, tr {
            display: block;
        }
        thead {
            display: none;
        }
        tr {
            border: 1px solid var(--color-border);
            border-radius: var(--border-radius-md);
            margin-bottom: 15px;
        }
        td {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 15px;
            text-align: right;
            border: none;
            border-bottom: 1px dotted var(--color-border);
        }
        td:last-child {
            border-bottom: none;
        }
        td::before {
            content: attr(data-label);
            font-weight: bold;
            text-align: left;
            margin-right: 10px;
            color: var(--color-text);
        }
        td button {
            width: 100%;
        }
    }