body {
    background-color: #05141f;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-family: "KiaSignature", Arial, sans-serif;
}

.kiabc-logo {
    margin: 1rem auto 1.5rem auto;
}

p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: justify;
}

form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 2rem 0;
}

label {
    display: block;
    margin-bottom: 0.25rem;
}

input[type="email"],
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem;
    border: 1px solid #ffffff;
    border-radius: 4px;
    background-color: #05141f;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="number"]:focus {
    outline: 2px solid #ffffff;
}

input[type="submit"],
.error-action-btn,
a.error-action-btn {
    width: 100%;
    display: inline-block;
    text-align: center;
    padding: 0.75rem;
    background-color: #fff;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: 0;
    font-size: 1.25rem;
    font-weight: bold;
    transition: background-color 0.15s ease, color 0.15s ease;
    text-decoration: none;
    margin: 1rem 0 0 0;
}

input[type="submit"]:hover,
.error-action-btn:hover,
a.error-action-btn:hover {
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    text-decoration: none;
}

a.error-action-btn:visited {
    color: #000;
}

form small {
    color: #9ea1a2;
    font-size: 0.9rem;
}

.errorMsg {
    background-color: #ea0029;
    color: #fff;
    margin: 1rem 0;
    padding: 0.75rem;
    font-weight: bold;
    text-align: center;
}

.kiaGreen {
    color: #5d7d2b;
}

/* Media query for screens smaller than 390px */
@media (max-width: 390px) {
    #kia-logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh; /* Ensure the container takes full viewport height */
        margin-top: 0; /* Remove any margin to center properly */
    }

    .kiabc-logo {
        max-width: 90%;
    }

    .kia-logo {
        width: 150px;
        height: auto;
    }

    #content {
        max-width: 98%;
        padding: 1rem;
        border-left: none;
        border-right: none;
        color: #ffffff;
    }
}

/* Media query for screens larger than 390px */
@media (min-width: 391px) {
    #kia-logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh; /* Ensure the container takes full viewport height */
        margin-top: 0; /* Remove any margin to center properly */
    }

    .kia-logo {
        width: 150px;
        height: auto;
    }

    #content {
        max-width: 500px;
        margin: 0 auto;
        padding: 1.5rem;
    }
}
