/* Page Background */
@font-face {
    font-family: 'AlmoniTzarBold';
    src: url('/app/fonts/almoni-tzar-aaa-bold.otf') format('opentype'),
    url('/app/fonts/almoni-tzar-aaa-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'AlmoniTzarRegular';
    src: url('/app/fonts/almoni-tzar-aaa-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AlmoniTzarThin';
    src: url('/app/fonts/almoni-tzar-aaa-light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SimpleProBold';
    src: url('/app/fonts/SimplerPro_H-Regular.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

body {
    font-family: 'AlmoniTzarRegular', sans-serif !important;
    background: #F6F7F9;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

.page {
    width: 100%;
    max-width: 900px;
}

/* Form Container */
#container2 {
    border-radius: 10px;
    width: 100%;
    margin: 100px auto 0;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    background: #F6F7F9;
    box-shadow: 0 4px 14px 0 rgba(198, 198, 198, 0.25);
}

#lead-form {
    display: flex;
    padding: 24px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    background: #FFF;
}

.lead-form-caption {
    color: #282A37;
    width: 100%;
    text-align: center;
    font-family: 'AlmoniTzarBold', sans-serif !important;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.4px;
}

.form-group {
    margin-bottom: 0;
    width: 100%;
}

/* Style the error messages */
.lead-form-errors {
    font-size: 13px;
    margin-bottom: 0;
    text-align: right;
    font-family: 'AlmoniTzarThin', sans-serif !important;
    color: rgba(229, 139, 20) !important;
}


.form-group label {
    color: #282A37;
    font-family: 'AlmoniTzarThin', sans-serif !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.form-group span {
    color: #29ABA6;
    font-family: 'AlmoniTzarThin', sans-serif !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

input::placeholder, select::placeholder, textarea::placeholder {
    color: #515978;
    text-align: right;
    font-family: 'AlmoniTzarThin', sans-serif !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.caption {
    font-family: 'AlmoniTzarThin', sans-serif !important;
    font-size: 18px;
    text-align: center;
}

.modal-dialog {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    margin: 0 auto; /* Center horizontally */
}

.modal-content {
    background: #FFF;
    box-shadow: 0 0 24px 0 rgba(255, 255, 255, 0.45);
    display: flex;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
    align-self: center;
}

.modal-content img {
    width: 136px;
    height: 136px;
    flex-shrink: 0;
}

.modal-content h3 {
    color: #170F49;
    font-family: 'AlmoniTzarRegular', sans-serif !important;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.modal-content p {
    color: #6F6C90;
    font-family: "AlmoniTzarThin", sans-serif !important;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}


input, textarea, select {
    width: 100%;
    display: flex;
    height: 40px !important;
    padding: 10px;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
    align-self: stretch;
    border: 1px solid #D5D8E2;
    background: #FFF;
    border-radius: 0 !important;
    resize: none;
    overflow: hidden;
}

input:focus, form input:focus-visible, input:active,
textarea:focus, textarea:focus-visible, textarea:active,
select:focus, select:focus-visible, select:active {
    border: 1px solid #29ABA6 !important;
    outline: none;
}

button {
    display: flex;
    padding: 12px 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: #29ABA6;
    border: 0;
    color: #FFF;
    text-align: center;
    font-family: 'AlmoniTzarBold', sans-serif !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    align-self: center;
}

button:hover {
    background: #1E8C87;
}

.logo {
    display: flex;
    height: 100px;
    padding: 20px 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    background: #FFF;
}

.logo a img {
    margin-top: 32px;
    max-width: 232px;
    max-height: 47px;
    flex-shrink: 0;
}

.form-inline {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.form-inline .checkbox2 {
    width: 20px;
    height: 20px;
    border: 1px solid #D5D8E2;
    accent-color: #29ABA6;
    content: '✔'; /* Unicode character for check mark */
    position: relative; /* Position relative */
    top: 0; /* Adjust top position */
    left: 3px; /* Adjust left position */
    font-size: 16px; /* Set font size */
    color: #FFF; /* Set tick color to white */
}

.form-inline .checkbox2[type="checkbox"]:checked::after {
    content: '✔'; /* Unicode character for check mark */
    position: absolute; /* Position absolute */
    top: 0; /* Adjust top position */
    left: 3px; /* Adjust left position */
    font-size: 16px; /* Set font size */
    color: #FFF; /* Set tick color to white */
}


.control-label {
    padding-top: 5px;
    width: 90%;
    margin: 0;
}

#footer {
    display: flex;
    padding: 16px;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-top: 43px;
}

#footer span {
    padding-top: 10px;
    color: #000;
    text-align: right;
    font-family: 'AlmoniTzarBold', sans-serif !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 125% */
}

#approve-terms label {
    color: #515978;
    text-align: right;
    font-family: 'AlmoniTzarBold', sans-serif !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#footer-logo {
    width: 91px;
    height: 32px;
    flex-shrink: 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

.fa-mail-reply-all:before, .fa-reply-all:before {
    line-height: 22px;
}

@media (max-width: 768px) {
    #container2 {
        width: 95%;
        margin-top: 0;
        box-shadow: 0 0 0 0;
    }

    #lead-form {
        box-shadow: 0 4px 14px 0 rgba(198, 198, 198, 0.25);
    }

    .lead-form-caption {
        color: #282A37;
        text-align: right;
        font-family: 'AlmoniTzarBold', sans-serif !important;
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        letter-spacing: 0.2px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    #footer {
        margin-top: 0;
    }

    .logo a img {
        margin-top: 0;
        max-width: 162px;
        max-height: 33px;
        flex-shrink: 0;
    }

    .modal-content {
        background: #FFF;
        display: flex;
        width: 342px;
        height: 400px;
        margin: 0 auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        flex-shrink: 0;
        align-self: center;
    }

    .logo {
        height: 80px;
        margin-bottom: 16px;
        border-bottom: 1px solid #ECEDF2;
        box-shadow: 0 4px 14px 0 rgba(198, 198, 198, 0.25);
    }

    button {
        font-size: 14px;
        padding: 8px 15px;
    }

    .caption {
        font-family: 'AlmoniTzarThin', sans-serif !important;
        font-size: 14px;
        text-align: center;
    }
}