/* Modal Container */
.modal-container {
    width: 600px;
    background-color: #ffffff;
    overflow: hidden;
}

/* Header Section */
.modal-header {
    background-color: #203a9b;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 1.5rem;
    position: relative;
}

.modal-header img {
    width: 92px;
}

/* Alert Section */
.modal-alert {
    background-color: #ffea00;
    color: #c70000;
    font-weight: bold;
    text-align: center;
    padding: 10px 15px;
    font-size: 1rem;
}

/* Modal Content */
.modal-content {
    padding: 20px;
    text-align: left;
}

.modal-content h2 {
    font-family: var(--e-global-typography-beba9b6-font-family), Sans-serif;
    font-size: var(--e-global-typography-beba9b6-font-size);
    font-weight: var(--e-global-typography-beba9b6-font-weight);
    line-height: var(--e-global-typography-beba9b6-line-height);
    color: var(--e-global-color-text);
}

.modal-content p {
    font-family: "Open Sans", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--e-global-color-text);
}

/* Input Section */
.input-group {
    margin: 20px 0;
    text-align: left;
}

.input-group label {
    font-family: "Open Sans", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin-bottom: 12px;

}

.input-group input {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Open Sans;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    padding: 16px 12px;

}

/* Button */
.continue-button {
    display: block;
    width: 100%;
    background-color: #1d1f7d;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    padding: 12px;
    cursor: pointer;
    font-size: 1.1rem;
}

.continue-button:hover {
    background-color: #142060;
}

/* Footer Text */
.modal-footer {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: #000000;
    text-align: left;
    padding: 10px 20px 20px;
}

.modal-footer .content a {
    text-decoration: underline;
    color: #000000;
}

.modal-footer a:hover {
    text-decoration: underline;
}

.custom-model-main {
    text-align: center;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0; /* z-index: 1050; */
    -webkit-overflow-scrolling: touch;
    outline: 0;
    opacity: 0;
    -webkit-transition: opacity 0.15s linear, z-index 0.15;
    -o-transition: opacity 0.15s linear, z-index 0.15;
    transition: opacity 0.15s linear, z-index 0.15;
    z-index: -1;
    overflow-x: hidden;
    overflow-y: auto;
}

.model-open {
    z-index: 99999;
    opacity: 1;
    overflow: hidden;
}

.custom-model-inner {
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    transform: translate(0, -25%);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    -o-transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    display: inline-block;
    vertical-align: middle;
    width: 600px;
    margin: 30px auto;
    max-width: 97%;
}

.model-open .elementor-button-icon svg {
    fill: white;
    width: 12px;
}

.model-open .custom-model-inner {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    position: relative;
    z-index: 999;
}

.model-open .bg-overlay {
    background: rgba(0, 0, 0, 0.6);
    z-index: 99;
}

.bg-overlay {
    background: #060716CC;
    backdrop-filter: blur(10px);
    height: 100vh;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    -webkit-transition: background 0.15s linear;
    -o-transition: background 0.15s linear;
    transition: background 0.15s linear;
}

.continue-button {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    font-family: Open Sans;
    font-size: 20px;
    font-weight: 700;
    line-height: 22.5px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    text-transform: capitalize;
}
/*==== Gravity Form ======*/
.about-you-form-wy .gform-body {
    box-shadow: -4px 18px 50px 8px #00000026;
    border: 1px solid #00000014;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 16px;
}
.about-you-form-wy .post-code-gravity {
    grid-column: span 10 !important;
}
.about-you-form-wy .search-btn-gravity {
    grid-column: span 2 !important;
    margin-left: -34px;
}
.about-you-form-wy button#search-postalcode {
    width: 100%;
    background: #000000;
    border-radius: 0px 10px 10px 0px;
	height: 56px;
	opacity: 1;
}

.about-you-form-wy .gfield input, 
.about-you-form-wy .gfield .gfield_select,
.about-you-form-wy .ginput_container_date select {
   height: 56px !important;
   border-radius: 10px !important;
}
.about-you-form-wy .gfield .gfield_select,
.about-you-form-wy .ginput_container_date select {
    padding-top: 8px;
    padding-bottom: 8px;
}
.about-you-form-wy .ginput_container_date {
    width: 33% !important;
}
.about-you-form-wy .gfield input:focus, 
.about-you-form-wy .gfield .gfield_select:focus,
.about-you-form-wy .ginput_container_date select:focus {
   outline: 0 !important;
}
.form-step-title {
    position: absolute !important;
    top: -100px !important;
    left: 0 !important;
}
.gform_fields {
    gap: 24px !important;
}
.about-you-form-wy .gform-body {
    margin-top: 120px;
    position: relative;
}
.form-step-title h3 {
    font-size: 29px !important;
    font-weight: 800;
    line-height: 1.5 !important;
    margin: 0;
}
.form-step-title span {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

/*============multi steps claim forms===============*/
.form-steps {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.form-steps.active {
    display: block;
    opacity: 1;
}

.claim-form-body {
    box-shadow: -4px 18px 50px 8px #00000026;
    border: 1px solid #00000014;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 16px;
}
.form-container-claim {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.claim-form-wrapper input {
    border: 1px solid #00000080;
    border-radius: 8px;
    height: 56px;
    color: #00000080;
    font-weight: 700;
    padding: 10px;
}
.claim-form-wrapper .form-field label {
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 5px;
}
.claim-form-wrapper .form-field select {
    border: 1px solid #00000080;
    border-radius: 8px;
    height: 56px;
    color: #00000080;
    font-weight: 700;
    padding: 10px;
}
.claim-form-wrapper .form-field select:focus-visible,
.claim-form-wrapper input {
    outline: 0;
}
.claim-form-wrapper .dob-group {
    display: flex;
    gap: 10px;
}
.claim-form-wrapper button.btn-next {
    margin-top: 24px;
    width: 100%;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.form-title-wy h3 {
    font-size: 29px !important;
    font-weight: 800;
    line-height: 1.5 !important;
    margin: 0;
}
.form-title-wy {
     padding-bottom: 20px;
 }
.form-title-wy span {
    font-size: 18px;
    line-height: 1.5;
}
.form-field.postal-search-wrapper {
    display: flex;
}
.postal-code-input {
    width: 80%;
}
.postal-code-input input {
    border-radius: 8px 0px 0px 8px;
}
.postal-button-search {
    background-color: #000000 !important;
    border-radius: 0px 10px 10px 0px !important;
    height: 56px !important;
    opacity: 1;
    padding: 10px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    width: 20%;
}
/*agreement check*/
.agreement-check-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.agreement-check .inner-wrapper {
    align-items: center;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    padding: 12px;
    width: 100%;
    background: #24287D;
    color: #fff;
}
.agreement-check .group-button {
    padding: 0px !important;
    background: none;
    border: none;
    color: #fff;
    font-size: 12px !important;
    display: flex;
    align-items: center;
    gap: 5px;
}
.agreement-check .name-wrapper {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 15px;
    font-weight: 700;
    gap: 10px;
}

.agreement-check .input-wrapper {
    background-image: url(/wp-content/uploads/2024/12/Empty-Checkbox.svg);
    background-size: contain;
    min-height: 25px;
    min-width: 25px;
    background-repeat: no-repeat;
    background-position: center;
    line-height: 1;
}
.agreement-check .input-wrapper.checked {
    background-image: url(/wp-content/uploads/2024/12/check-mark.svg);
}
.agreement-check .input-wrapper.checked.hoverable:hover {
    background-image: url(/wp-content/uploads/2024/12/cross-icon.svg);
}
.agreement-check .checkbox-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}
.agreement-check .checkbox-wrapper input[type=checkbox] {
    height: 26px;
    opacity: 0;
    pointer-events: none;
    width: 26px;
}

.agreement-check .group-body {
    background: #F4F3F2;
    padding: 16px;
    border-radius: 0px 0px 8px 8px;
    display: none;
}
.agreement-check .group-body p {
    margin-bottom: 0px;
}
.agreement-check .group-body p:not(:last-child) {
    margin-bottom: 5px;
}
.agreement-check .group-button img {
    transition: 0.5s all ease;
}
.agreement-check .group-button.active-button img {
    transform: rotate(180deg);
}
.vertical-line-box {
    border: 2px solid #24287D33;
    border-radius: 8px;
    padding: 16px;
    background: #24287D05;
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 25px 0;
}
.form-simple-box p {
    margin-bottom: 4px;
}
.form-simple-box span {
    font-size: 14px;
}
.vertical-line-box p {
    margin-bottom: 5px;
}
.vertical-line-box p:last-child {
    margin-bottom: 0px;
}
.vertical-line-box span {
    font-size: 14px;
}
.vertical-line {
    background: #24287D;
    width: 8px;
    min-width: 8px;
    min-height: 100%;
    border-radius: 5px;
}
/*signatue steps*/
ul.signature-list {
    list-style: none;
    padding-left: 15px;
}
ul.signature-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.8;

}
ul.signature-list li:before {
    background-image: url("/wp-content/uploads/2024/12/tick-check-mark.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    content: "";
    height: 16px;
    left: -15px;
    position: absolute;
    top: 3px;
    width: 16px;
}
.signature-list .bullet-point {
    display: inline-block;
    margin-bottom: 5px;
    margin-left: 15px;
    margin-top: 6px;
    position: relative;
}
.signature-list .bullet-point:before {
    background: #000000;
    background-size: 100% 100%;
    border-radius: 50%;
    content: "";
    height: 5px;
    left: -12px;
    position: absolute;
    top: 10px;
    width: 5px;
}

.regular-check-box .check-input--group-label {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: flex-start;
}
.regular-check-box .check-input--hidden-checkbox {
    height: 0;
    opacity: 0;
    position: absolute;
    width: 0;
}
.regular-check-box .check-input--checkbox {
    background-color: #fff;
    background-image: url(/wp-content/uploads/2024/12/white-checkmark.svg);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 0;
    border: 3px solid #24287D;
    border-radius: 4px;
    display: block;
    flex: 0 0 auto;
    height: 22px;
    position: relative;
    transition: background-size .1s ease-in-out;
    width: 22px;
}
.regular-check-box input:checked~.check-input--checkbox {
    background-color: #24287D;
    background-size: 16px;
}
.regular-check-box span.check-input--checkbox-label {
    font-size: 14px;
    line-height: 1.5;
}

.signature-col {
    background: #24287D;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 20px;
}
div#signature-form {
    background-color: #fff;
    margin-top: 10px;
}
.signature-col h4 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    margin-bottom: 5px;
}
.signature-col span {
    font-size: 12px;
    line-height: 1.5;
    color: #fff;
}

.signature-col .clear-btn {
    width: fit-content;
    display: flex;
    padding: 0 !important;
    border: 0 !important;
    justify-content: center;
    font-size: 14px !important;
    line-height: 1 !important;
    height: auto !important;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}
.signature-col canvas {
    max-width: 100%;
}
.form-desclaimer {
     font-size: 10px;
     line-height: 1.2 !important;
     text-align: center;
     display: inline-block;
     margin-top: 10px;
 }
.form-desclaimer img {
    margin-right: 4px;
}
.text-italic-wy {
    font-style: italic;
}
.form-radio-btn-group p {
    font-size: 18px !important;
    font-weight: 700;
    color: #000;
}
.form-radio-btn-group label {
    background: #F4F3F2;
    padding: 16px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px !important;
    font-weight: 400 !important;
    margin-bottom: 10px !important;
    transition: 0.5s all ease-in-out;
    cursor: pointer;
}
.form-radio-btn-group  input[type=radio]{
    appearance: none;
    width: 20px !important;
    height: 20px !important;
    padding: 0;
    border-radius: 50%;
    background-clip: content-box;
    border: 2px solid rgb(0 0 0);
    background-color: rgba(255,252,229,1);
    background-color: #fff;
}
.form-radio-btn-group input[type="radio"]:checked {
    background-color: #000;
    padding: 4px;
    border: 2px solid #000;
}
.form-radio-btn-group label:last-child {
    margin-bottom: 0;
}

.form-radio-btn-group input[type="radio"] {
    height: auto;
}
.form-radio-btn-group label:has(input:checked) {
    background-color: #2c2c9f;
    color: #fff;
}
.empty-file-list-wrapper {
    background: #F4F3F2;
    color: #00000080;
    font-size: 12px;
    padding: 12px 16px;
    border-radius: 8px;
}
.driving-license .regular-check-box {
    margin: 20px 0;
}
.warning-hint {
    font-size: 12px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin: 10px 0;
}
.upload-container {
    background: #fff;
    border: 1px dashed rgba(0, 33, 134, .502);
    border-radius: 8px;
}
.custom-file-upload {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: #122338;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 120px;
    justify-content: center;
    place-items: center;
    position: relative;
    text-align: center;
}
.upload-container .custom-file-upload input[type=file] {
    display: none;
}
#file-uploader-loader {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}
.claim-file-list-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5px 0;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.claim-file-list-wrapper .file {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
.claim-file-list-wrapper .file-preview-name {
    display: flex;
    align-items: center;
    gap: 10px;
}
.claim-file-list-wrapper .file-name {
    margin: 0;
}
.claim-file-list-wrapper .delete-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}
.claim-file-list-wrapper .delete-button img {
    width: 16px;
    height: 16px;
}
.claim-file-list-wrapper .uploaded-file-preview {
    height: 30px;
    width: 30px;
    object-fit: cover;
}
.uploading-progress{
    display: none;
}
.uploading-progress-inner {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    height: 120px;
}
.uploading-progress .spinner-icon {
    width: 30px;
    height: 30px;
    animation: rotation 2s linear infinite;
}
@keyframes rotation{
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(359deg);
    }
}

.uploading-progress .progress-wrapper {
    width: 100px;
    line-height: 1;
}

.uploading-progress  progress {
    width: 100%;
    height: 10px;
}
.thankyou-message {
    color: #24287D;
}
.claim-error-message {
    color: #990000;
    border: 2px solid #FF000033;
    background: #FF000005;
}
.claim-error-message  .vertical-line {
    background: #FF0000;
}
.vertical-line-box .inner-vertical-box h3 {
    margin: 0;
}
.claim-error-message .inner-vertical-box,
.thankyou-message .inner-vertical-box {
    max-width: 258px;
}
.thankyou-content h2 {
    font-size: 56px !important;
    line-height: 1.2 !important;
    color:  #24287D;
    text-align: center;
}
/*==================== Gravity Form ===================*/
@media screen and (min-width: 800px) {
    .custom-model-main:before {
        content: "";
        display: inline-block;
        height: auto;
        vertical-align: middle;
        margin-right: -0px;
        height: 100%;
    }
}

@media screen and (max-width: 799px) {
    .custom-model-inner {
        margin-top: 45px;
    }
}
