.request-form-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.request-form {
    margin-top: 2.5vh;
    z-index: 6;
    width: 100%;
    max-width: 808px;
    height: 95vh;
    max-height: 950px;
    position: fixed;
    background-color: #fff;
    border-radius: 40px;

    display: none;
    flex-direction: column;
    align-items: center;
    overflow: auto;

    animation: fade 0.4s ease;
}


.request-form-content {
    position: relative;
    padding: 25px 104px 25px 104px;

    width: 100%;
    height: 100%;
}

/* Close btn */

.request-form-close-btn {
    display: flex;
    justify-content: center;
    align-items: center;

    position: absolute;
    right: 104px;
    z-index: 2;
    width: 50px;
    height: 50px;

    transition: 0.35s;
}

.request-form-close-btn:hover {
    cursor: pointer;
    transform: rotate(180deg);
}

/* Heading */

.request-form-title {
    font-weight: 700;
    display: flex;
    text-align: center;
    justify-content: center;
}

.request-form-subtitle {
    font-weight: 600;
    display: flex;
    text-align: center;
    justify-content: center;
}

.request-form-heading {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    row-gap: 15px;
}

/* Errors */

.request-form-error {
    top: 20px;
    position: relative;
    font-size: 1.33rem;
    font-weight: 500;
    left: 25%;
}

.field-errors, .request-form-error {
    color: #c61811;
}

.field-errors {
    font-weight: 500;
}

/* Form */

.request-form-form {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    row-gap: 25px;
}

.request-form-example {
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.request-form-required {
    color: #FF7000;
}

.request-form-label {
    font-weight: 500;
}

/* Form Input */

.request-form-input {
    resize: vertical;
    height: 55px;
    border-radius: 30px;
    border: 2px solid #2929294d;
    font-size: 1rem;
    font-weight: 500;
    padding-left: 31px;
    transition: border-color 0.25s ease;
}

.request-form-input:focus {
    border-color: #292929; /* Измените цвет на нужный */
    outline: none; /* Убирает стандартное синее выделение */
}

.request-form-input:valid:not(:placeholder-shown) {
    border-color: #FF7000;
}

.request-form-input:-webkit-autofill {
    background-color: #fff !important;
    color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.request-form-checkmark {
    position: absolute;
    top: 52.5%;
    right: 31px;
    width: 28px;
    color: #FF7000;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.request-form-checkmark.active {
    opacity: 1; /* Делает checkmark видимым */
}

.request-form-textarea {
    padding-top: 15px;
}

/* Button submit */

.request-form-submit-btn {
    height: 60px;
    border-radius: 30px;
    border: 2px solid #FF7000;
    background-color: #fff;
    color: #FF7000;
    font-size: 1.78rem;
    font-weight: 400;
    transition: all 0.25s ease;
    cursor: not-allowed;
}

.request-form-submit-btn.active {
    background-color: #FF7000;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    border: none;
}

.request-form-submit-btn.active:hover {
    background-color: #292929;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный черный фон */
    z-index: 5; /* Под request-form, но над остальными элементами */
    transition: all 0.25s ease;
    animation: fade 0.4s ease;
}

/* Succes section */

.success-content {
    transition: all 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 44px;
    height: 100%;
}

.success-checkmark {
    width: 160px;
}

.success-message {
    display: flex;
    text-align: center;
    flex-direction: column;
    max-width: 55%;
    row-gap: 14px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}