#formWrapper {
    font-family: Arial, sans-serif;
    background-color: #F5F5F5;
    color: #0C2340;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1.5;
    width: 100%;
    min-height: 100vh;
}

#formWrapper h1 {
    color: #E87722;
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

#formWrapper .form-container {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 500px;
    box-sizing: border-box;
    border-left: 8px solid #E87722;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: auto;
}

#formWrapper .form-container:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#formWrapper label {
    display: block;
    margin: 10px 0 6px;
    font-weight: 500;
    color: #0C2340;
    font-size: 0.9em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#formWrapper input[type="text"],
#formWrapper input[type="tel"],
#formWrapper input[type="date"],
#formWrapper input[type="email"],
#formWrapper select {
    width: calc(100% - 16px);
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #D1D1D1;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

#formWrapper input[type="text"]:focus,
#formWrapper input[type="tel"]:focus,
#formWrapper input[type="date"]:focus,
#formWrapper input[type="email"]:focus,
#formWrapper select:focus {
    border-color: #E87722;
    box-shadow: 0 0 4px rgba(232, 119, 34, 0.3);
    outline: none;
}

#formWrapper input[type="submit"] {
    background-color: #0C2340;
    color: #FFFFFF;
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

#formWrapper input[type="submit"]:hover {
    background-color: #E87722;
}

#formWrapper #otherDeviceType {
    display: none;
    margin-top: -10px;
}

#formWrapper input[type="submit"]::after {
    content: attr(data-tooltip);
    position: absolute;
    opacity: 0;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0C2340;
    color: #FFFFFF;
    padding: 5px 10px;
    font-size: 0.85em;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#formWrapper input[type="submit"]:hover::after {
    opacity: 1;
}

/* DARK MODE STYLES */
body.dark-mode #formWrapper,
#formWrapper.dark-mode {
    background-color: #1E1E1E;
    color: #FFFFFF;
}

body.dark-mode h1,
#formWrapper.dark-mode h1 {
    color: #FFA500;
}

body.dark-mode .form-container,
#formWrapper.dark-mode .form-container {
    background-color: #1E1E1E;
    border-left: 8px solid #FFA500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

body.dark-mode label,
#formWrapper.dark-mode label {
    color: #FFA500;
}

body.dark-mode input[type="text"],
body.dark-mode input[type="tel"],
body.dark-mode input[type="date"],
body.dark-mode input[type="email"],
body.dark-mode select,
#formWrapper.dark-mode input[type="text"],
#formWrapper.dark-mode input[type="tel"],
#formWrapper.dark-mode input[type="date"],
#formWrapper.dark-mode input[type="email"],
#formWrapper.dark-mode select {
    background-color: #333333;
    color: #FFFFFF;
    border: 1px solid #555555;
}

body.dark-mode input[type="submit"],
#formWrapper.dark-mode input[type="submit"] {
    background-color: #FFA500;
    color: #1E1E1E;
}

body.dark-mode input[type="submit"]:hover,
#formWrapper.dark-mode input[type="submit"]:hover {
    background-color: #FF8C00;
    color: #FFFFFF;
}

body.dark-mode input[type="submit"]::after,
#formWrapper.dark-mode input[type="submit"]::after {
    background-color: #333333;
    color: #FFA500;
}

@media (max-width: 768px) {
    .form-container {
        width: 95%;
    }

    #formWrapper input[type="submit"] {
        font-size: 16px;
    }

    .form-container input,
    .form-container select {
        font-size: 14px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .form-container {
        width: 100%;
        padding: 15px;
    }

    #formWrapper h1 {
        font-size: 1.5em;
    }
}
