/* Анкета водителя — визуально сестра формы квоты (/__components/requests/requests.css). */

#apply {
    background-image: url("/equipment.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    position: relative;
    isolation: isolate;
}
#apply::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #000000cc;
    z-index: -2;
}
#apply::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 5rem;
    background: linear-gradient(to bottom, transparent, #000);
    z-index: -2;
}

#apply aside {
    position: absolute;
    top: 50%; left: 0;
    transform: translateY(-40%);
    z-index: -1;
}
#apply aside img {
    margin-block: -15%;
    display: block;
}

#apply .apply-inner {
    margin-inline: auto;
    padding-block: 7.5rem;

    width: min(136rem, 95%);

    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

#apply h2 {
    font-family: "Druk", "Roboto", system-ui, sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 4rem;
    line-height: 1;
    text-transform: uppercase;
    color: var(--accent-yellow);

    text-shadow: #000 1px 2px 3px;
    margin-bottom: 2.5rem;
}
#apply .apply-copy p {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.5;
    color: #ccc;
}

#apply form {
    display: grid;
    gap: 2.4rem;

    position: relative;
    isolation: isolate;
}

#apply form label {
    display: block;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 3px;
}
#apply form input,
#apply form select,
#apply form textarea {
    width: 100%;
    padding: 2rem 2.2rem;

    font: inherit;
    font-size: 1.8rem;
    color: #fff;

    background-color: transparent;
    border: 1px solid #fff;
}
#apply form textarea {
    resize: vertical;
    min-height: 9rem;
}
#apply form select option {
    font-size: 1.8rem;
    color: #fff;
    background-color: #000;
}
#apply form input::placeholder,
#apply form textarea::placeholder {
    color: #bbb;
}

#apply form .contact-box,
#apply form .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
}
#apply form .three-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem 3rem;
}

#apply form .hp {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    opacity: 0;
}

#apply form .consent {
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    align-items: start;
    gap: 1.2rem;

    font-size: 1.4rem;
    text-transform: none;
    color: #ddd;
}
#apply form .consent input {
    width: 2.4rem; height: 2.4rem;
    padding: 0;
    margin-top: 2px;
    accent-color: var(--accent-yellow);
}

#apply form button[type="submit"] {
    max-width: 22rem;
    cursor: pointer;
}

#apply form p.error {
    font-size: 2rem;
    color: #f5acac;
}

@media (max-width: 1250px) {
    #apply aside { opacity: 0.15; }
    #apply .apply-inner {
        grid-template-columns: 1fr;
        gap: 4.5rem;
    }
    #apply h2 {
        margin-inline: auto;
        max-width: 70rem;
        text-align: center;
    }
    #apply .apply-copy p { text-align: center; }
}
@media (max-width: 650px) {
    #apply h2 { font-size: 2.5rem; }
    #apply form .contact-box,
    #apply form .two-col,
    #apply form .three-col {
        grid-template-columns: 1fr;
    }
}

#apply .apply-title { margin-bottom: 0; }
