*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Assistant", sans-serif;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 73px;
    color: #16385D;
    /* min-height: 100vh; */
}

.container {
    position: relative;
    background: white;
    border: 2px solid #16385D;
    border-radius: 10px;
    max-width: 640px;
    width: 100%;
    padding: 45px 57px;
    box-shadow: 0 0 0 0.3px #16385D;

}

.card {
    border: 1px solid #16385D;
    box-shadow: 0 0 0 0.3px #16385D;
    border-radius: 20px;
    padding: 20px 25px;
    line-height: 150%;
    font-size: 20px;
    margin-bottom: 15px;
}

.card li {
    /* list-style-position: inside; */
    margin-inline-start: 30px;

}

.logo {
    /* text-align: left; */
    position: absolute;
    left: 12px;
    top: 0px;
        background-color: #16385D;
    padding: 10px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 45px 7px rgb(0 0 0 / .07);

}

.logo>img {
    width: 70px;
}

.header {
    margin-bottom: 15px;
}

.header h1 {
text-align: center;
    font-weight: 700;
    font-style: Bold;
    font-size: 25px;
    /* line-height: 120%; */
    letter-spacing: 0%;

}

.center {
    text-align: center;
}

.description {
    font-weight: 600;
    font-style: SemiBold;
    font-size: 22px;
    /* line-height: 100%; */
    letter-spacing: 0%;
    text-align: right;

    margin-bottom: 30px;
}

.small {
    font-size: 16px;
    font-weight: 400;
    width: 105%;
}

.flex-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.form-group label:not(.checkbox-label) {
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 9px;
    white-space: nowrap;
}

.form-group label.checkbox-label {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    gap: 5px;
    margin-inline-end: 15px;
}

.form-group.gray-boder input:not(.checkbox-label) {
    border-color: #D9D9D9;
    box-shadow: unset;
}

label.checkbox-label.med {
    font-size: 16px;
}


.form-group input:not([type=checkbox]),
.form-group select,
.form-group textarea {
    /* border: 1px solid #d5d5d5; */
    border: 1px solid #16385D;
    box-shadow: 0 0 0 0.3px #16385D;
    border-radius: 12px;
    font-size: 13px;

    background: white;
    padding: 10px;
    padding-inline-start: 20px;
    padding-inline-end: 30px;
    font-size: 20px;
    font-family: 'Assistant';
    font-weight: 400;
    outline-color: #16385D;
    /* width:-webkit-fill-available ; */
    width: 100%;
}

.form-group textarea {
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
select:has(option:disabled:checked) {
    color: #A19D9D;
}

.form-group option:not(:disabled) {
    color: #050505;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,<svg width='25' height='30' viewBox='0 0 56 56' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M18.6667 35L28 44.3333' stroke='black' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/><path d='M37.3335 35L28.0002 44.3333' stroke='black' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/><path d='M37.3335 35L28.0002 44.3333' stroke='black' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    padding-block: 12px;
    background-position: left 10px top 5px;
    /* padding-inline-start: 20px; */
    /* padding-left: 35px; */
    cursor: pointer;
    min-width: max-content;
}


.helper-links {
    display: flex;
    gap: 15px;
    font-size: 12px;
    margin-top: 8px;
}

.helper-links a {
    color: #0066cc;
    text-decoration: none;
}

.helper-links a:hover {
    text-decoration: underline;
}

.sub-checkbox-wrapper {
    margin-top: 12px;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #A19D9D;
    flex-shrink: 0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    outline-color: #16385D;
}

input[type="checkbox"]:hover {
    border-color: #333;
}

input[type="checkbox"]:checked {
    background-color: #007bff;
    border-color: #007bff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}


.buttons-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.back-btn,
.base-btn {
    all: unset;
    font-weight: 700;
}

.next-btn,
.submit-btn {
    padding: 12px 30px;
    background: #F8960F;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}


.next-btn:hover,
.submit-btn:hover {
    background: #e67e00;
}

.field-btn {
    padding-block: 10px;
}

.back-to-main-btn {
    padding: 6px 30px 7px 30px;
    background: #FFFFFF;
    border: 1px solid #16385D;
    box-shadow: 0 0 0 0.3px #16385D;
    border-radius: 12px;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-inline: auto;
    text-align: center;
    max-width: 340px;
}

.back-to-main-btn:hover {
    box-shadow: 0 0 0 1px #16385D;
}

.horizontal-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.form-group label.regular {
    font-weight: 400;
}

.date-toggle-label {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    display: block;
}

.date-toggle-wrapper {
    display: flex;
    background: #e9edf2;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.date-toggle-btn {
    flex: 1;
    padding: 10px 20px;
    font-size: 18px;
    font-family: 'Assistant';
    font-weight: 600;
    border: none;
    background: transparent;
    color: #16385D;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s;
}

.date-toggle-btn.active {
    background: #16385D;
    color: white;
    box-shadow: 0 2px 6px rgba(22, 56, 93, 0.3);
}

.date-sync-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #16385D;
    font-weight: 600;
}

.date-sync-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid #e9edf2;
    border-top-color: #16385D;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.mb2 {
    margin-bottom: 20px;
}

.al-center {
    text-align: center;
}

.field-button-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.thankyou-header h1 {
    margin-top: 20px;
    color: #F8960F;
    text-align: center;
    margin-bottom: 20px;
    font-size: 30px;
}

.thankyou-container {
    max-width: 700px;
}

.thankyou-description {
    text-align: center;
    font-size: 27px;
}

.thankyou-form-group {
    margin-bottom: 12px;
}

.thankyou-form-group label {
    font-size: 22px !important;
    font-weight: 600 !important;
}

.bold {
    font-weight: 700;
}

.thankyou-small {
    font-weight: 700;
    margin-bottom: 12px;
}

a {
    color: inherit;
    /* blue colors for links too */
    text-decoration: inherit;
    /* no underline */
}

.success-msg {
    display: none;
    margin-top: 6px;
    font-size: 13px;
    color: #319224;
    font-weight: 600;
    /* display: inline-flex; */
    gap: 0.25rem;
}

.error-msg {
    display: none;
    /* margin-top: 6px; */
    font-size: 13px;
    color: #d7481e;
    font-weight: 700;
    /* display: inline-flex; */
    gap: 0.25rem;
}

.success-msg img {
    width: 10px;
}

.spinner {
    margin-inline: auto;
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.pci{
    border: 1px solid #16385D;
    box-shadow: 0 0 0 0.3px #16385D;
    border-radius: 12px;
    font-size: 13px;
    background: white;
    padding: 10px;
    font-size: 18px;
    font-family: 'Assistant';
    font-weight: 700;
    width: 100%;
    text-align: center;
}

.gold{
    color:#c29562
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media screen and (max-width:660px) {
    body {
        padding: unset;
    }

    .horizontal-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .buttons-wrapper {
        flex-direction: column-reverse;
    }

    .mobile-hide {
        display: none;
    }

    .container {
        padding: 54px 30px 35px 30px;
    }

    .logo {
        left: 6px;
    }

    .header h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 1.4rem;
    }

    .description {
        margin-bottom: 22px;
    }

    .description:not(.small) {
        font-size: 19px;
    }

    .card {
        font-size: 18px;
        padding: 14px 19px;
    }

    .form-group label:not(.checkbox-label) {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .flex-wrapper {
        gap: 10px;
    }
label.checkbox-label.med {
    font-size: 14px;
}

.form-group input:not([type=checkbox]),
.form-group select,
.form-group textarea {
padding-block: 8px;
max-width: 100%;
}

.form-group select {
min-width: 0;
}

.thankyou-form-group label {
    font-size: 20px !important;
}

}