   :root {
        --bg-color: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        --text-color: #333;
        --column-bg: rgba(255, 255, 255, 0.7);
        --button-bg: linear-gradient(45deg, #1e3c72 0%, #2a5298 100%);
        --button-color: white;
        --button-hover: linear-gradient(45deg, #2a5298 0%, #1e3c72 100%);
        --copy-button-bg: linear-gradient(45deg, #1e3c72 0%, #2a5298 100%);
        --copy-button-hover: linear-gradient(45deg, #2a5298 0%, #1e3c72 100%);
        --input-border: rgba(255, 255, 255, 0.3);
        --toast-bg: rgba(76, 175, 80, 0.9);
        --toast-color: #fff;
        --gradient-text: linear-gradient(45deg, #ff0000, #0000ff, #ff0000);
        --switch-bg: linear-gradient(45deg, #1e3c72, #2a5298);
        --footer-bg: rgba(44, 62, 80, 0.8);
        --footer-text: #ecf0f1;
        --header-bg: rgba(52, 152, 219, 0.8);
    }

    .dark-mode {
        --bg-color: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
        --text-color: #e0e0e0;
        --column-bg: rgba(44, 44, 44, 0.7);
        --button-bg: linear-gradient(45deg, #1e3c72 0%, #2a5298 100%);
        --button-color: #e0e0e0;
        --button-hover: linear-gradient(45deg, #2a5298 0%, #1e3c72 100%);
        --copy-button-bg: linear-gradient(45deg, #1e3c72 0%, #2a5298 100%);
        --copy-button-hover: linear-gradient(45deg, #2a5298 0%, #1e3c72 100%);
        --input-border: rgba(255, 255, 255, 0.1);
        --toast-bg: rgba(52, 152, 219, 0.9);
        --toast-color: #e0e0e0;
        --gradient-text: linear-gradient(45deg, #87CEEB, #FFC0CB);
        --switch-bg: linear-gradient(45deg, #1e3c72, #2a5298);
        --footer-bg: rgba(52, 73, 94, 0.8);
        --footer-text: #bdc3c7;
        --header-bg: rgba(44, 62, 80, 0.8);
    }

    * {
        box-sizing: border-box;
    }

    html, body {
        height: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    body {
        font-family: Arial, sans-serif;
        background: var(--bg-color);
        color: var(--text-color);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
    }
    .container {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        overflow-y: auto;
    }
    .column {
        background-color: var(--column-bg);
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        width: 100%;
        overflow-y: auto;
        min-height: 450px;
    }
    textarea {
        width: 100%;
        height: 150px;
        margin-bottom: 10px;
        padding: 5px;
        border: 1px solid var(--input-border);
        border-radius: 4px;
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--text-color);
    }
    button {
        background: var(--button-bg);
        color: var(--button-color);
        padding: 10px 15px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
        margin-right: 10px;
        margin-bottom: 10px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px 0 rgba(30, 60, 114, 0.75);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    button:hover {
        background: var(--button-hover);
        box-shadow: 0 8px 20px 0 rgba(30, 60, 114, 0.75);
        transform: translateY(-2px);
    }
    #copyBtn, #exportWordBtn, #exportPdfBtn {
        background: var(--copy-button-bg);
        margin-top: 20px;
    }
    #copyBtn:hover, #exportWordBtn:hover, #exportPdfBtn:hover {
        background: var(--copy-button-hover);
    }
    table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
        table-layout: fixed;
    }
    th, td {
        padding: 8px;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .customization {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .customization-column {
        width: 48%;
    }
    .customization label {
        display: block;
        margin-bottom: 5px;
    }
    .customization input {
        margin-bottom: 10px;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--text-color);
        border: 1px solid var(--input-border);
        border-radius: 4px;
        padding: 5px;
    }
    h2 {
        margin-top: 0;
    }
    #toast {
        visibility: hidden;
        min-width: 250px;
        background-color: var(--toast-bg);
        color: var(--toast-color);
        text-align: center;
        border-radius: 4px;
        padding: 16px;
        position: fixed;
        z-index: 2;
        left: 50%;
        transform: translateX(-50%);
        bottom: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2);
    }
    #toast.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }
    #toast .success-icon {
        margin-right: 10px;
    }
    @-webkit-keyframes fadein {
        from {bottom: 0; opacity: 0;} 
        to {bottom: 30px; opacity: 1;}
    }
    @keyframes fadein {
        from {bottom: 0; opacity: 0;}
        to {bottom: 30px; opacity: 1;}
    }
    @-webkit-keyframes fadeout {
        from {bottom: 30px; opacity: 1;} 
        to {bottom: 0; opacity: 0;}
    }
    @keyframes fadeout {
        from {bottom: 30px; opacity: 1;}
        to {bottom: 0; opacity: 0;}
    }
    .theme-switch-wrapper {
        display: flex;
        align-items: center;
        position: absolute;
        top: 20px;
        right: 20px;
        margin: 10px;
        z-index: 2;
    }
    .theme-switch {
        display: inline-block;
        height: 34px;
        position: relative;
        width: 60px;
    }
    .theme-switch input {
        display: none;
    }
    .slider {
        background-color: rgba(255, 255, 255, 0.3);
        bottom: 0;
        cursor: pointer;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
        transition: .4s;
    }
    .slider:before {
        background-color: #fff;
        bottom: 4px;
        content: "";
        height: 26px;
        left: 4px;
        position: absolute;
        transition: .4s;
        width: 26px;
    }
    input:checked + .slider {
        background: var(--switch-bg);
    }
    input:checked + .slider:before {
        transform: translateX(26px);
    }
    .slider.round {
        border-radius: 34px;
    }
    .slider.round:before {
        border-radius: 50%;
    }
    .wave {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, #3498db, #8e44ad, #3498db);
        opacity: 0.3;
        z-index: -1;
    }
    .wave:nth-child(2) {
        animation: wave 8s linear infinite;
    }
    .wave:nth-child(3) {
        animation: wave 10s linear infinite;
    }
    @keyframes wave {
        0% {
            transform: translateX(0) translateZ(0) scaleY(1);
        }
        50% {
            transform: translateX(-25%) translateZ(0) scaleY(0.55);
        }
        100% {
            transform: translateX(-50%) translateZ(0) scaleY(1);
        }
    }
    .gradient-heading {
        font-size: 2em;
        text-align: center;
        background: var(--gradient-text);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 10px;
    }
    .sub-heading {
        font-size: 1em;
        text-align: center;
        margin-top: 0;
        margin-bottom: 20px;
        background: var(--gradient-text);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .ad-banner {
        width: 100%;
        max-width: 728px;
        height: 90px;
        margin: 20px auto;
        background-color: rgba(241, 241, 241, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        color: #666;
        border: 1px solid rgba(221, 221, 221, 0.5);
        border-radius: 8px;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    .footer {
        background-color: var(--footer-bg);
        color: var(--footer-text);
        text-align: center;
        padding: 10px 0;
        font-size: 14px;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    .footer a {
        color: var(--footer-text);
        text-decoration: none;
        margin: 0 10px;
    }
    .footer a:hover {
        text-decoration: underline;
    }
    header {
        background-color: var(--header-bg);
        padding: 20px;
        text-align: center;
        position: relative;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    @media (min-width: 768px) {
        .container {
            flex-direction: row;
        }
        .column {
            width: 30%;
        }
        .gradient-heading {
            font-size: 2.5em;
        }
        .sub-heading {
            font-size: 1.2em;
        }
    }

    @media (max-width: 767px) {
        .customization-column {
            width: 100%;
        }
        .theme-switch-wrapper {
            top: 10px;
            right: 10px;
        }
        .footer a {
            display: block;
            margin: 5px 0;
        }
        .column {
            min-height: 450px;
        }
        .theme-switch {
            height: 28px;
            width: 50px;
        }
        .slider:before {
            height: 20px;
            width: 20px;
        }
        input:checked + .slider:before {
            transform: translateX(22px);
        }
        .gradient-heading {
            font-size: 1.8em;
        }
        .sub-heading {
            font-size: 0.9em;
        }
    }