@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    font-family: 'Lato', sans-serif;
    overflow: hidden;
}

.form-content-wrapper {
    background-color: #fff;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    padding: 0px 100px 0px 100px;
    justify-content: center;
}

.form-content-wrapper.fade-out-active {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.logo-container {
    margin-bottom: 0px;
}

.logo-container img {
    height: 37px;
}

.main-title {
    color: var(--Base-Dark, #171717);
    text-align: center;
    font-family: Lato;
    font-size: 56px;
    font-style: normal;
    font-weight: 500;
    line-height: 135%;
    margin: 0;
}

.subtitle-text {
    color: var(--Gray-8---Main, #383838);
    text-align: center;
    font-family: Lato;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin: 0;
    margin-bottom: 32px;
}

.form-fields-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 10px;
    max-width: 540px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row>.form-field-placeholder {
    flex: 1;
}

.form-field-placeholder {
    background-color: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    height: 48px;
    width: 100%;
    box-sizing: border-box;
}

.code-row {
    align-items: center;
}

.get-code-btn {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #8B1C1C;
    background-color: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    white-space: nowrap;
}

.consent-checkbox-area {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #555;
    text-align: left;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.consent-checkbox-area input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.consent-checkbox-area label a {
    color: #8B1C1C;
    text-decoration: underline;
}

.get-started-main-btn {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #FFF;
    background-color: #8B1C1C;
    border: none;
    border-radius: 8px;
    padding: 16px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    text-transform: uppercase;
    margin-top: 10px;
}

.get-started-main-btn:hover {
    background-color: #770E16;
}

.thank-you-screen {
    height: 100vh;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.thank-you-screen.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.thank-you-logo img {
    height: 37px;
    margin-bottom: 50px;
}

.thank-you-title {
    color: var(--Base-Dark, #171717);
    text-align: center;
    font-family: Lato;
    font-size: 56px;
    font-style: normal;
    font-weight: 500;
    line-height: 135%;
    margin-top: 0px;
    margin-bottom: 20px;
}

.thank-you-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    color: var(--Base-Dark, #171717);
    text-align: center;
    font-family: Lato;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin-top: 0px;
    margin-bottom: 44px;
}

.thank-you-join-text {
    ont-size: 16px;
    line-height: 1.6;
    color: #333;
    color: var(--Base-Dark, #171717);
    text-align: center;
    font-family: Lato;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin-top: 0px;
    margin-bottom: 32px;
}

.thank-you-join-text strong {
    color: #1E1E1E;
    font-weight: bold;
}

.prizes-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 0px;
}

.prize-item {
    text-align: center;
    width: calc(33.333% - 10px);
    padding-top: 13.48px;
}

.prize-item img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    margin-bottom: 10px;
}

.prize-item p {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.finish-btn {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #FFF;
    background-color: #8B1C1C;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
    max-width: 230px;
    box-sizing: border-box;
    text-transform: uppercase;
    margin-top: 34px;
}

.finish-btn:hover {
    background-color: #770E16;
}

.hidden {
    display: none !important;
}

.prize-item-second {
    border-right: 0.6px solid #D1D1D2;
}

.prize-item-first {
    border-right: 0.6px solid #D1D1D2;
    padding-right: 7px;
}

.prize-item p {
    color: var(--Gray-8---Main, #383838);
    text-align: center;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}

.prize-item-first p {
    color: var(--Dark-wine-1, #92111C);
    text-align: center;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}

.left-side {
    width: 58%;
    padding-left: 40px;
    padding-right: 40px;
}

.right-side {
    background-image: url('img/containerrightIMG.jpg');
    background-size: cover;
    background-position: center;
    width: 42%;
    height: 100vh;
}

#custom-fine-spirits-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--Gray-4, #D1D1D2);
    border-radius: 12px;
    color: var(--Gray-7, #7A7A85);
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    /* 22.4px */
    letter-spacing: 0.16px;
    box-sizing: border-box;
    background-color: #FAFAFA;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
    border-color: #8B1C1C;
    outline: none;
    background-color: #fff;
}

.checkbox-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

#form-consent {
    margin-top: 7px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #8B1C1C;
    margin: 0;
    flex-shrink: 0;
}

.checkbox-group label {
    color: var(--Gray-7, #7A7A85);
    font-family: "Instrument Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    /* 171.429% */
}

.checkbox-group label a,
.checkbox-group label .privacy-policy-text {
    text-decoration: underline;
    color: inherit;
}

.submit-btn {
    margin-top: 44px;
    gap: 8px;
    width: 100%;
    height: 52px;
    background: var(--Dark-wine-2, #770E16);
    border: none;
    border-radius: 12px;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    color: var(--Base-White, #FFF);
    letter-spacing: 0.42px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #770E16;
}

form.form-attempted-submit input:required:invalid,
form.form-attempted-submit textarea:required:invalid,
form.form-attempted-submit select:required:invalid {
    border-color: #ffb3b3;
    background-color: #fff0f0;
}

form.form-attempted-submit .checkbox-wrapper input[type="checkbox"]:required:invalid+label {
    color: #cc0000;
}

form.form-attempted-submit .checkbox-wrapper input[type="checkbox"]:required:invalid {
    outline: 1px solid #ffb3b3;
}

.iti {
    width: 100%;
}

form.form-attempted-submit input#form-phone.invalid-phone,
input#form-phone.invalid-phone {
    border-color: #ffb3b3 !important;
    background-color: #fff0f0 !important;
}

form.form-attempted-submit input#form-phone:required:invalid,
input#form-phone:required:invalid {
    border: 1px solid var(--Gray-4, #D1D1D2);
    background-color: #FAFAFA;
    color: var(--Gray-7, #7A7A85);
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    /* 22.4px */
    letter-spacing: 0.16px;
    border-radius: 12px;
}

input#form-phone:focus.invalid-phone {
    border-color: #ffb3b3 !important;
}

form.form-attempted-submit input:not(#form-phone):required:invalid,
form.form-attempted-submit textarea:required:invalid,
form.form-attempted-submit select:required:invalid {
    border-color: #ffb3b3;
    background-color: #fff0f0;
}