/* #add_spouse_button,
#add_child_button {
    background-color: transparent;
}

.btn-confirm {
    background-color: #8b7bc6;
}

.dependent-modal-overlay,
.remove-confirmation-overlay,
.limit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.dependent-modal,
.remove-confirmation-modal,
.limit-modal {  
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    outline: transparent solid 2px;
    outline-offset: 2px;
    border-radius: 0.375rem;
    color: inherit;
    margin-top: 4rem;
    margin-bottom: 4rem;
    z-index: 1400;
    --modal-bg: #fff;
    --modal-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-width: 28rem;
}

.remove-confirmation-modal {
    max-width: 400px;
    padding: 24px;
    text-align: center;
}

.remove-confirmation-modal h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.remove-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.limit-modal {
    max-width: 400px;
    padding: 24px;
    text-align: center;
}

.limit-modal h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.limit-modal p {
    margin: 0 0 20px 0;
    color: #6b7280;
    font-size: 14px;
}

.limit-modal-footer {
    display: flex;
    justify-content: center;
}

.btn-remove {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #dc2626;
    color: white;
}

.btn-remove:hover {
    background-color: #b91c1c;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 1 0%;
    padding-inline-start: 1.5rem;
    padding-inline-end: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;    
}

.modal-header h3 {
    margin: 0;
    font-weight: 600;
    color: #283891;
    font-size: 1.25rem;
    line-height: 1.5;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
    outline-offset: 2px;
    width: 2rem;
    height: 3rem;
    border-radius: 0.375rem;
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    --close-button-size: 2rem;
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    color: #6f6d6e;
    font-weight: 400;
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.06);
    color: #1f2937;
}

.modal-body {
    padding-inline-start: 1.5rem;
    padding-inline-end: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    flex: 1 1 0%;
    gap: 1.5rem;
    display: flex;
    flex-direction: column;

}

.modal-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #000000;
    font-size: 14px;
}

.modal-field .required {
    color: #dc2626;
}

.modal-field input.date-input {
    width: 100%;
    padding: 10px 12px;
    padding-right: 40px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.modal-field input.date-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.date-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.calendar-icon {
    position: absolute;
    right: 12px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    width: 14px;
}

.gender-buttons,
.smoker-buttons {
    display: flex;
}
.gender-buttons .gender-btn,
.smoker-buttons .smoker-btn{
    width: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    border-radius: 0;
    font-weight: 400;
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
    font-size: 0.875rem;
    padding-inline: 1.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    color: #A0AEC0;
    border: 1px solid #A0AEC0;
    flex: 1 1 0%;
    cursor: pointer;
    font-family: inherit;
    background-color: transparent;
}

.gender-buttons .gender-btn:first-of-type,
.smoker-buttons .smoker-btn:first-of-type{
     border-right: 0;   
}

.gender-buttons .gender-btn:hover,
.smoker-buttons .smoker-btn:hover{
    color: #000000;
}

.gender-buttons .gender-btn.active,
.smoker-buttons .smoker-btn.active{
    color: #ffffff;
    background-color: #F26329;
}

.modal-footer {
    padding: 8px 24px 16px;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.btn-cancel {
    display: inline-flex;    
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    border-radius: 0.375rem;
    font-weight: 400;
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    font-size: 0.875rem;
    padding-inline-start: 0.75rem;
    padding-inline-end: 0.75rem;
    text-transform: uppercase;
    text-decoration: none;
    height: 2rem;
    min-width: 2rem;
    background: #EDF2F7;
    color: #1A202C;
}

.btn-cancel:hover {
    background-color: #E2E8F0;
}

.btn-confirm {
    display: inline-flex;
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    border-radius: 0.375rem;
    font-weight: 400;
    transition-duration: 200ms;
    font-size: 0.875rem;
    padding-inline-start: 0.75rem;
    padding-inline-end: 0.75rem;
    text-transform: uppercase;
    text-decoration: none;
    height: 2rem;
    min-width: 2rem;
    background: #283891;
    color: #ffffff;
}
.btn-confirm:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.dependents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.spouse-column,
.children-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dependent-card {
    border: none;
    border-radius: 4px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    flex-direction: column;
    gap: 0.5rem;

    font-size: 0.875rem;
    background: #EDF2F7;
    padding: 1rem;
    color: #000000;
}

.dependent-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dependent-info p {
    margin: 0;
    font-size: 14px;
    color: #000000;
    line-height: 1.6;    
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.dependent-info p strong {
    color: #000000;
    font-weight: 700;
    margin-right: 4px;
}
.dependent-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: end;
}

.icon-btn {
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-dependent {
    background-color: transparent;
    color: #6f6d6e;
}

.edit-dependent:hover {
    background-color: #E2E8F0;    
}

.edit-dependent svg {
    stroke: #6f6d6e;
}

.remove-dependent {
    background-color: #E53E3E;
    color: white;
}

.remove-dependent:hover {
    background-color: #C53030;
}

.remove-dependent svg {
    stroke: #6f6d6e;
}

@media (max-width: 768px) {
    .dependents-grid {
        grid-template-columns: 1fr;
    }

    .dependent-modal {
        max-width: 100%;
        margin: 0 10px;
    }

    .modal-header {
        padding: 20px 16px 12px;
    }

    .modal-header h3 {
        font-size: 18px;
    }

    .modal-body {
        padding: 20px 16px;
    }

    .modal-footer {
        padding: 12px 16px 20px;
        flex-direction: column-reverse;
    }

    .btn-cancel,
    .btn-confirm {
        width: 100%;
    }

    .gender-buttons,
    .smoker-buttons {
        flex-direction: column;
    }
}

#add_spouse_button,
#add_child_button {
        display: block;
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    border-radius: 0.375rem;
    font-weight: 400;
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    font-size: 18px;
    padding-inline: 0px;
    text-transform: none;
    text-decoration: none;
    height: 2.5rem;
    min-width: 2.5rem;
    color: #F26329;
    width: 100%;
    border-width: 1px;
    border-color: #F26329;
    border-style: solid;
    margin: 0;
    font-family: inherit;
    padding-block: 0;
}

#add_spouse_button:hover,
#add_child_button:hover {
    border-color: rgba(0, 0, 0, 0.80);
    color: rgba(0, 0, 0, 0.80);
}
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body form.health-quote-form .gform-body .gfield.gfield_visibility_hidden {
    display: none !important;
} */