/*
Theme Name: Theme betting
Text Domain: screenshot-theme
Version: 0.1
Author: Bahrii developers
*/


/*TODO*/
.langSwitcherBox__popup li:first-child {
    border-radius: 24px 0 0 0;
}

.contentMobile__info620 .info620__listItem p span{
	display: block;
font-weight: 400;
}

.small{
font-weight: 300;
}

.formSection .formSection__headerText {
    font-size: 7.63vw;
}

.contentContainer.formSection {
    padding: 120px 0 24px 64px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    height: auto;
    max-height: unset;
    scroll-snap-align: start;
    min-height: 100vh;
}

.formSection__wrapper {
    position: relative;
    background-size: 100% 100%;
    padding: 90px 172px 72px 0;
    display: flex;
    gap: 182px;
    align-items: center;
}

.formSection .formSection__title {
    transform: rotate(-90deg);
}

.text-wrapper-14 {
    font-family: var(--paragraphs-secondary-text-bold-font-family), sans-serif;
    font-weight: var(--paragraphs-secondary-text-bold-font-weight);
    color: var(--textreverse);
    font-size: var(--paragraphs-small-main-text-16-font-size);
    letter-spacing: var(--paragraphs-secondary-text-bold-letter-spacing);
    line-height: var(--paragraphs-secondary-text-bold-line-height);
    white-space: nowrap;
    font-style: var(--paragraphs-secondary-text-bold-font-style);
}

.formSection .formSection__details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 37px;
}

.formSection .formSection__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.formSection .formSection__headerText {
    position: relative;
    align-self: stretch;
    font-family: var(--headline-desktop-2-font-family), sans-serif;
    font-weight: var(--headline-desktop-2-font-weight);
    color: var(--textreverse);
    font-size: var(--headline-desktop-2-font-size);
    letter-spacing: var(--headline-desktop-2-letter-spacing);
    line-height: var(--headline-desktop-2-line-height);
    font-style: var(--headline-desktop-2-font-style);
}


.formSection .formSection__headerEmail {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    position: relative;
    flex: 0 0 auto;
}

.formSection .formSection__emailIcon {
    position: relative;
    width: 50px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("/media/btnBg.webp") no-repeat center;
}

.formSection .emailIcon {
    width: 20px;
    height: 16px;
}

.formSection .formSection__emailIconText {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    font-family: var(--paragraphs-secondary-text-regular-font-family), sans-serif;
    font-weight: var(--paragraphs-secondary-text-regular-font-weight);
    color: var(--textreverse);
    font-size: var(--paragraphs-secondary-text-regular-font-size);
    letter-spacing: var(--paragraphs-secondary-text-regular-letter-spacing);
    line-height: var(--paragraphs-secondary-text-regular-line-height);
    white-space: nowrap;
    font-style: var(--paragraphs-secondary-text-regular-font-style);
}

.formSection .contactFormWrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    background-color: #ffffff80;
    border-radius: 32px;
    border: none;
    backdrop-filter: blur(10.77px) brightness(100%);
    -webkit-backdrop-filter: blur(10.77px) brightness(100%);
}

.formSection .contactFormWrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 0.38px;
    border-radius: 32px;
    background: linear-gradient(105deg, rgba(255, 255, 255, 1) 30%, rgba(208, 208, 208, 1) 91%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

.formSection .contactForm {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    transition: all 0.5s ease;
}

.formSection .contactForm__row {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.formSection .input {
    display: flex;
    flex-direction: column;
    width: 20.74vw;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    position: relative;
}

.formSection .label {
    position: relative;
    display: flex;
    font-family: var(--paragraphs-secondary-text-regular-font-family), sans-serif;
    font-weight: var(--paragraphs-secondary-text-regular-font-weight);
    color: var(--b-1);
    font-size: var(--paragraphs-secondary-text-regular-font-size);
    letter-spacing: var(--paragraphs-secondary-text-regular-letter-spacing);
    line-height: var(--paragraphs-secondary-text-regular-line-height);
    font-style: var(--paragraphs-secondary-text-regular-font-style);
}

.formSection .placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    background-color: var(--b-0);
    border-radius: 12px;
    border: 1px solid var(--b-7);
    font-family: var(--paragraphs-main-text-regular-font-family), sans-serif;
    font-weight: var(--paragraphs-main-text-regular-font-weight);
    color: var(--b-5);
    font-size: var(--paragraphs-main-text-regular-font-size);
    letter-spacing: var(--paragraphs-main-text-regular-letter-spacing);
    line-height: var(--paragraphs-main-text-regular-line-height);
    font-style: var(--paragraphs-main-text-regular-font-style);
}

.input input:focus,
.placeholder:focus,
.input-2:focus {
    outline: none;
    border: 1px solid transparent;
    background:
            linear-gradient(white, white) padding-box,
            var(--primary-gradient) border-box;
}

.placeholder:not(:placeholder-shown),
.input-2:not(:placeholder-shown),
.input-3:not(:placeholder-shown) {
    color: var(--textreverse);
}

.placeholder:not(:placeholder-shown) {
    background-color: var(--b-0);
}

.formSection .input-2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    position: relative;
    width: 100%;
}

.formSection .input-3 {
    align-self: stretch;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    position: relative;
}

.input__hint {
    align-items: center;
    gap: 7px;
    display: none;
    position: absolute;
    bottom: -21px;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.input__hint span {
    color: var(--textreverse);
    font-family: var(--paragraphs-main-text-bold-font-family), sans-serif;
    font-weight: var(--paragraphs-main-text-bold-font-weight);
    font-size: var(--paragraphs-small-text-bold-font-size);
    text-decoration: underline;
    line-height: 90%;
    width: 100%;
}

.input__hint.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

/* Error state for inputs */
.input.error input,
.input-2.error input,
.input-3.error textarea {
    border: 1px solid var(--red);
}

/* Hide browser validation tooltips */
input:invalid {
    box-shadow: none;
}

input::-webkit-validation-bubble {
    display: none;
}

input::-webkit-validation-bubble-message {
    display: none;
}

input::-webkit-validation-bubble-arrow {
    display: none;
}

input::-moz-validation-bubble {
    display: none;
}

/* Remove focus outline on invalid inputs */
input:invalid:focus {
    outline: none;
}

/* Remove autofill background color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--textreverse) !important;
    background-color: var(--b-0) !important;
}

.wpcf7-not-valid-tip {
    color: var(--textreverse);
    font-family: var(--paragraphs-main-text-bold-font-family), sans-serif;
    font-weight: var(--paragraphs-main-text-bold-font-weight);
    font-size: var(--paragraphs-small-text-bold-font-size);
    text-decoration: underline;
    line-height: 90%;
    width: 100%;
    margin-left: 10px;
    display: flex;
    align-items: flex-end;
    margin-top: 5px;
}

.wpcf7-not-valid-tip::before {
    content: url("./assets/public/icons/attention.svg");
    margin-right: 8px;
    width: 16px;
    height: 16px;
    display: flex;
}

textarea {
    resize: none;
}

.formSection .contactForm__btn {
    align-self: stretch;
    width: 100%;
    background-color: var(--textreverse);
    position: relative;
    border-radius: 30px;
    padding: 4px;
    height: 56px;
}

.formSection .contactForm__btnText {
    text-align: center;
    font-family: var(--buttons-desk-big-font-family), sans-serif;
    font-weight: var(--buttons-desk-big-font-weight);
    color: var(--textheader);
    font-size: var(--buttons-desk-big-font-size);
    letter-spacing: var(--buttons-desk-big-letter-spacing);
    line-height: var(--buttons-desk-big-line-height);
    white-space: nowrap;
    font-style: var(--buttons-desk-big-font-style);
}

.formSection .contactForm__iconEmail {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-100);
    border-radius: 50%;
}

.formSection .emailIcon {
    width: 20px;
    height: 16px;
}

.contactForm__row {
    margin-bottom: 16px;
}

.contactForm__row p {
    width: 100%;
}

/* Success popup styles */
.successPopup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    display: flex;
}

.successPopup.show {
    opacity: 1;
    visibility: visible;
    display: flex;
}

.successPopup__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    height: 100%;
}

.successPopup.show .successPopup__content {
    transform: translateY(0);
}

.successPopup__icon {
    width: 56px;
    height: 56px;
    background: var(--white-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.successPopup__title {
    font-family: var(--headline-desktop-1-font-family), sans-serif;
    font-weight: var(--headline-desktop-5-font-weight);
    font-size: var(--headline-desktop-5-font-size);
    color: var(--textreverse);
    text-transform: uppercase;
}

.successPopup__message {
    font-family: var(--buttons-desk-small-font-family), sans-serif;
    font-weight: var(--paragraphs-secondary-text-regular-font-weight);
    font-size: var(--paragraphs-secondary-text-regular-font-size);
    color: var(--textreverse);
}


@media (max-width: 1024px) {
    .formSection .formSection__title {
        transform: rotate(0deg);
    }

    .contentContainer.formSection {
        padding: 0;
    }



    .text-wrapper-14 {
        font-size: 1.92vw;
    }

    .formSection .formSection__details {
        gap: 24px;
        width: 100%;
    }

    .formSection .formSection__header {
        align-items: center;
        gap: 24px;
        text-align: center;
    }

    .formSection .formSection__headerText {
        font-size: 3.60vw;
    }



    .formSection .formSection__emailIconText {
        font-size: 1.92vw;
    }

    .formSection .contactFormWrapper {
        padding: 24px 16px;
    }

    .formSection .input {
        width: 100%;
    }

    .formSection .label {
        font-size: 1.92vw;
    }

    .formSection .placeholder {
        font-size: 1.92vw;
    }

    .input__hint {
        align-items: center;
        gap: 7px;
        display: none;
        position: absolute;
        bottom: -21px;
        left: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        width: 100%;
    }

    .contactFormWrapper {
        width: 100%;
    }

    .input__hint span,
    .wpcf7-not-valid-tip {
        font-size: 1.62vw;
    }


    .contactForm__row {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .formSection .contactForm__btnText {
        font-size: 1.92vw;
    }

}

@media (max-width: 600px) {

    .text-wrapper-14,
    .formSection .formSection__emailIconText,
    .formSection .label,
    .formSection .placeholder,
    .formSection .contactForm__btnText {
        font-size: 4.07vw;
    }


    .formSection .formSection__headerText {
        font-size: 7.63vw;
    }

    .input__hint {
        align-items: center;
        gap: 7px;
        display: none;
        position: absolute;
        bottom: -21px;
        left: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        width: 100%;
    }

    .contactFormWrapper {
        width: 100%;
    }

    .input__hint span,
    .wpcf7-not-valid-tip {
        font-size: 3.8vw;
    }

    .successPopup__title {
        font-size: 6.11vw;
    }

    .successPopup__message {
        font-size: 4.58vw;
    }
}