:root {
    /* Default to Dark Mode */
    --bg-body: radial-gradient(circle at 90% 10%, rgba(234, 88, 12, 0.15) 0%, transparent 40%), radial-gradient(circle at 10% 90%, rgba(245, 158, 11, 0.08) 0%, transparent 40%), linear-gradient(135deg, #0f172a 0%, #334155 100%);
    /* Lighter card background (Slate 800) with subtle orange accent */
    --bg-card: radial-gradient(circle at 0% 0%, rgba(234, 88, 12, 0.08) 0%, transparent 35%), #1e293b;
    --border-card: 1px solid rgba(255, 255, 255, 0.05);
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    /* Inputs darker than card for contrast */
    --bg-input: #0f172a;
    --border-input: #334155;
    --border-input-hover: #475569;
    --input-text: #ffffff;
    --input-placeholder: #64748b;
    --icon-color: #64748b;
    --icon-focus: #f59e0b;
    --bg-autofill: #0f172a;
    --text-autofill: #ffffff;
    --bg-option: #0f172a;
    --concave-color: #1e293b;
    --bg-form-accent: radial-gradient(circle at 0% 0%, rgba(234, 88, 12, 0.08) 0%, transparent 35%); /* Dark mode accent */

    --link-color: #f59e0b;
    --link-hover: #ea580c;
    --bg-bubble: #ffffff;
    --text-bubble: #0f172a;
    --arrow-bubble: #ffffff;
    --bg-error: #fee2e2;
    --border-error: #ef4444;
    --text-error: #b91c1c;
    --shadow-focus: rgba(245, 158, 11, 0.2);
    --version-bg: rgba(255, 255, 255, 0.1);
    /* Toggle Switch Colors */
    --toggle-bg: #334155;
    --toggle-handle: #ffffff;
}

[data-theme="light"] {
    --bg-body: linear-gradient(135deg, #ffeecd 0%, #ffe4b3 100%);
    /* White Card with warm orange accents matching eiRIS theme */
    --bg-card: radial-gradient(circle at 0% 0%, rgba(250, 174, 66, 0.08) 0%, transparent 55%), radial-gradient(circle at 10% 90%, rgba(255, 193, 7, 0.05) 0%, transparent 45%), #ffffff;
    --border-card: 1px solid #f5e6d3;
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-input: #fffbf5;
    --border-input: #e8d5bb;
    --border-input-hover: #d4b896;
    --input-text: #334155;
    --input-placeholder: #94a3b8;
    --icon-color: #94a3b8;
    --icon-focus: #faae42;
    --bg-autofill: #fffbf5;
    --text-autofill: #334155;
    --bg-option: #ffffff;
    --concave-color: #ffffff;
    --bg-form-accent: radial-gradient(circle at 0% 0%, rgba(250, 174, 66, 0.12) 0%, transparent 60%), radial-gradient(circle at 10% 90%, rgba(255, 193, 7, 0.08) 0%, transparent 50%); /* Light mode accent with warm tones */

    --link-color: #faae42;
    --link-hover: #e69a2e;
    --bg-bubble: #1e293b;
    --text-bubble: #ffffff;
    --arrow-bubble: #1e293b;
    --bg-error: #fef2f2;
    --border-error: #fecaca;
    --text-error: #991b1b;
    --shadow-focus: rgba(250, 174, 66, 0.25);
    --version-bg: rgba(0, 0, 0, 0.05);
    --toggle-bg: #e8d5bb;
    --toggle-handle: #ffffff;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-body);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.5s ease;
}

/* =====================================================
   Theme Switcher
   ===================================================== */
.theme-switch-wrapper {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
}

.theme-switch-label {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--toggle-bg);
    transition: .4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: var(--toggle-handle);
        transition: .4s;
        border-radius: 50%;
        z-index: 2;
    }

.fa-sun, .fa-moon {
    font-size: 14px;
    z-index: 1;
}

.fa-sun {
    color: #ffeecd;
}

.fa-moon {
    color: #ffffff;
}

input:checked + .slider {
    background-color: #faae42; /* Warm gold when active */
}
/* When Customizing for dark/light specifically */
[data-theme="light"] .slider {
    background-color: #e8d5bb;
}

[data-theme="dark"] .slider {
    background-color: #334155;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* =====================================================
   Main Card Container
   ===================================================== */
.login-card {
    display: flex;
    width: 1000px;
    max-width: 100%;
    height: 750px;
    background: var(--bg-card);
    border: var(--border-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: relative;
    transition: background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

/* =====================================================
   Error Box
   ===================================================== */
.error-box {
    background-color: var(--bg-error);
    border: 1px solid var(--border-error);
    color: var(--text-error);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    animation: slideDown 0.3s ease-out;
}

.error-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message {
    font-size: 14px;
    font-weight: 500;
}

.close-error {
    background: none;
    border: none;
    color: var(--text-error);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

    .close-error:hover {
        opacity: 1;
    }

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =====================================================
   Left Side - Form Section
   ===================================================== */
.form-section {
    width: 50%;
    min-width: 380px;
    padding: 50px 60px 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: transparent;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

    /* Concave Edge Effect */
    .form-section::after {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        left: 93%;
        transform: translateY(-50%);
        width: 1500px;
        height: 1500px;
        border-radius: 50%;
        background: transparent;
        box-shadow: inset 20px 0 80px 10px var(--concave-color), 0 0 0 5000px var(--concave-color);
        z-index: -2;
        pointer-events: none;
        transition: box-shadow 0.3s ease;
    }

    /* Gradient Overlay for Form Section Background */
    .form-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 113%;
        height: 100%;
        background: var(--bg-form-accent);
        z-index: -1;
        pointer-events: none;
        transition: background 0.3s ease;
    }

/* =====================================================
   Logo Area
   ===================================================== */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 25px;
    position: relative;
    z-index: 3;
    animation: fadeIn 0.5s ease forwards 0.1s;
    opacity: 0;
}

.client-logo {
    width: auto;
    height: 70px;
    max-width: 250px;
}

/* =====================================================
   Typography
   ===================================================== */
.title {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 3;
    animation: fadeIn 0.5s ease forwards 0.15s;
    opacity: 0;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 35px;
    font-weight: 400;
    position: relative;
    z-index: 3;
    animation: fadeIn 0.5s ease forwards 0.2s;
    opacity: 0;
}

/* =====================================================
   Form Styling
   ===================================================== */
.login-form {
    position: relative;
    z-index: 10; /* Higher than footer and other elements to allow dropdown to overlap */
}

.input-group {
    margin-bottom: 18px;
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

    .input-group:nth-child(1) {
        animation-delay: 0.25s;
    }

    .input-group:nth-child(2) {
        animation-delay: 0.3s;
    }

    .input-group:nth-child(3) {
        animation-delay: 0.35s;
    }

.input-wrapper {
    background-color: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    height: 50px;
    transition: all 0.25s ease;
    position: relative;
}

    .input-wrapper:hover {
        border-color: var(--border-input-hover);
    }

    .input-wrapper:focus-within {
        border-color: #f59e0b;
        box-shadow: 0 0 0 3px var(--shadow-focus);
    }

[data-theme="light"] .input-wrapper:focus-within {
    background-color: #fff;
}

.input-wrapper input {
    background: transparent;
    border: none;
    color: var(--input-text);
    width: 100%;
    height: 100%;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}

    .input-wrapper input::placeholder {
        color: var(--input-placeholder);
        font-weight: 400;
    }

    .input-wrapper input:-webkit-autofill,
    .input-wrapper input:-webkit-autofill:hover,
    .input-wrapper input:-webkit-autofill:focus {
        -webkit-box-shadow: 0 0 0 1000px var(--bg-autofill) inset;
        -webkit-text-fill-color: var(--text-autofill);
        caret-color: var(--text-autofill);
        transition: background-color 5000s ease-in-out 0s;
    }

.input-icon {
    color: var(--icon-color);
    font-size: 1.1rem;
    margin-left: 12px;
    transition: color 0.25s ease;
}

.input-wrapper:focus-within .input-icon {
    color: var(--icon-focus);
}

.password-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .password-toggle:hover .input-icon {
        color: #f59e0b;
    }

/* Company Select */
.company-wrapper {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 8px 18px;
    height: 60px;
    cursor: pointer;
}

.company-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company-label {
    font-size: 0.7rem;
    color: var(--icon-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-select {
    background: transparent;
    border: none;
    color: var(--input-text);
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding-right: 30px;
}

/* Custom Dropdown Styling */
.select-hidden {
    display: none;
}

.select-selected {
    background-color: transparent;
    color: var(--input-text);
    padding: 0;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    user-select: none;
    width: 100%;
    height: 100%;
    display: flex; /* Flex to align text vertically */
    align-items: center;
}

.select-items {
    position: absolute;
    background-color: var(--bg-option); /* Solid background color */
    border: 1px solid var(--border-input);
    border-radius: 10px;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Stronger shadow */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    /* Transition only visual properties, not position (top/left) to prevent flying effect */
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    /* Scrollbar Styling */
    scrollbar-width: thin;
    scrollbar-color: var(--thumb-bg, #ea580c) transparent;
}

    .select-items.select-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.select-option {
    padding: 12px 18px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-card);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

    .select-option:last-child {
        border-bottom: none;
    }

    .select-option:hover {
        background-color: rgba(245, 158, 11, 0.1);
        color: #f59e0b; /* Orange accent */
    }

    .select-option.same-as-selected {
        background-color: rgba(245, 158, 11, 0.15); /* Slightly stronger bg */
        color: var(--input-text);
        font-weight: 600;
    }

    .select-option.active {
        background-color: rgba(245, 158, 11, 0.1);
        color: #f59e0b;
    }

/* Custom Scrollbar for Webkit */
.select-items::-webkit-scrollbar {
    width: 6px;
}

.select-items::-webkit-scrollbar-track {
    background: transparent;
}

.select-items::-webkit-scrollbar-thumb {
    background-color: #ea580c;
    border-radius: 3px;
}

[data-theme="light"] .select-items::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
}

/* Rotation class for icon */
.dropdown-icon.rotate {
    transform: translateY(-50%) rotate(180deg);
    color: #f59e0b; /* Active color */
}

.company-select option {
    background-color: var(--bg-option);
    color: var(--input-text);
    padding: 10px;
}

.dropdown-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--icon-color);
    font-size: 0.85rem;
    pointer-events: none;
    transition: transform 0.25s ease, color 0.25s ease;
}

.company-wrapper:focus-within .dropdown-icon {
    color: #f59e0b;
}

/* =====================================================
   Form Options (Remember Me & Forgot Pass)
   ===================================================== */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: -5px;
    animation: fadeIn 0.5s ease forwards 0.4s;
    opacity: 0;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    user-select: none;
    position: relative;
    padding-left: 28px;
}

    .remember-me input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkmark {
    position: absolute;
    top: -1px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.remember-me:hover input ~ .checkmark {
    border-color: var(--border-input-hover);
}

.remember-me input:checked ~ .checkmark {
    background-color: #f59e0b; /* Orange Accent */
    border-color: #f59e0b;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.remember-me input:checked ~ .checkmark:after {
    display: block;
}

.remember-me .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password-link {
    font-size: 0.9rem;
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

    .forgot-password-link:hover {
        color: var(--link-hover);
        text-decoration: underline;
    }

/* =====================================================
   Login Button
   ===================================================== */
.login-btn {
    width: 100%;
    padding: 18px 24px;
    margin-top: 12px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #ffc26d 0%, #faae42 100%);
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(250, 174, 66, 0.3), 0 2px 4px rgba(250, 174, 66, 0.2);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease forwards 0.4s;
    opacity: 0;
    z-index: 3;
}

    .login-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s ease;
    }

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(250, 174, 66, 0.4), 0 4px 8px rgba(250, 174, 66, 0.25);
    }

        .login-btn:hover::before {
            left: 100%;
        }

    .login-btn:active {
        transform: translateY(0) scale(0.98);
    }

    .login-btn.loading .btn-text {
        opacity: 1;
    }

    .login-btn.loading::after {
        /* hide legacy pseudo-element spinner when using inline .btn-spinner */
        display: none;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Inline spinner and text for buttons */
.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.55);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-right: 8px; /* space between spinner and text */
    vertical-align: middle;
}

.btn-text {
    display: inline-block;
    vertical-align: middle;
    font-weight: 700;
    opacity: 1;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    margin-top: auto;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 3;
    animation: fadeIn 0.5s ease forwards 0.45s;
    opacity: 0;
}

    .footer p {
        font-size: 0.8rem;
        color: var(--text-secondary);
    }

    .footer a {
        color: var(--link-color);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.25s ease;
    }

        .footer a:hover {
            color: var(--link-hover);
            text-decoration: underline;
        }

.version {
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 4px 10px;
    background: var(--version-bg);
    border-radius: 12px;
}

.footer-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
}

/* =====================================================
   Right Side - Image Section
   ===================================================== */
.image-section {
    width: 60%;
    margin-left: -10%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #f1f5f9;
}

.illustration-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% 35%;
}

.image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(90deg, var(--concave-color) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
    transition: background 0.3s ease;
}

/* =====================================================
   Employee Portal Compact Layout
   ===================================================== */
.login-card.employee-login-card {
    height: 620px;
}

.login-card.employee-login-card .form-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 34px 54px 28px 36px;
}

.login-card.employee-login-card .form-main {
    margin-top: auto;
    margin-bottom: auto;
}

.login-card.employee-login-card .logo {
    margin-bottom: 0;
}

.login-card.employee-login-card .title {
    margin-bottom: 6px;
}

.login-card.employee-login-card .subtitle {
    margin-bottom: 18px;
}

.login-card.employee-login-card .input-group {
    margin-bottom: 12px;
}

.login-card.employee-login-card .login-btn {
    margin-top: 4px;
}

.login-card.employee-login-card .footer {
    margin-top: 0;
    padding-top: 0;
}

.login-card.employee-login-card .image-section {
    width: 62%;
    margin-left: -12%;
}

.login-card.employee-login-card .illustration-img {
    object-position: 86% 38%;
}

/* =====================================================
   Mascot
   ===================================================== */
.help-bubble {
    position: fixed;
    bottom: 0px;
    right: 20px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    z-index: 100;
}

.bubble-text {
    background: var(--bg-bubble);
    color: var(--text-bubble);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    margin-bottom: 50px;
    position: relative;
    animation: bounce 2s infinite;
    transition: opacity 0.2s ease; /* Smooth text change */
}

    .bubble-text::after {
        content: '';
        position: absolute;
        right: -8px;
        bottom: 12px;
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 12px solid var(--arrow-bubble);
    }

.mascot-img {
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .mascot-img:hover {
        transform: translateY(-5px) scale(1.05);
    }

    .mascot-img.clicked {
        transform: scale(0.95);
    }

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.bubble-text {
    background: var(--bg-bubble);
    color: var(--text-bubble);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    margin-bottom: 50px;
    position: relative;
    animation: bounce 2s infinite;
    transition: opacity 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 900px) {
    .login-card {
        flex-direction: column;
        height: auto;
        max-width: 450px;
    }

    .login-card.employee-login-card {
        height: auto;
    }

    .form-section {
        width: 100%;
        min-width: unset;
        padding: 40px 35px 35px;
        order: 2;
    }

    .login-card.employee-login-card .form-section {
        display: flex;
        padding: 40px 35px 35px;
    }

    .login-card.employee-login-card .form-main {
        margin-top: 0;
        margin-bottom: 0;
        align-self: auto;
    }

        .form-section::after {
            display: none !important;
        }

    .image-section {
        width: 100%;
        margin-left: 0;
        height: 250px;
        order: 1;
    }

        .image-section::before {
            width: 100%;
            height: 60px;
            background: linear-gradient(180deg, transparent 0%, var(--bg-card) 100%);
            top: auto;
            bottom: 0;
            left: 0;
        }

    .title {
        font-size: 2rem;
    }

    .footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .help-bubble {
        display: none;
    }

    .theme-switch-wrapper {
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .form-section {
        padding: 30px 25px 25px;
    }

    .title {
        font-size: 1.8rem;
    }
}