﻿.health-lead-dialog {
    max-width: 520px;
    width: 100%;
    margin: 1.75rem auto;
}

@media (max-width: 599px) {
    .health-lead-dialog {
        max-width: 100%;
        margin: 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
    }
}

.health-lead-content {
    border-radius: 12px;
    border: none;
    padding: 40px 36px 32px;
    position: relative;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

@media (max-width: 599px) {
    .health-lead-content {
        border-radius: 16px 16px 0 0;
        padding: 28px 20px 32px;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}


.health-lead-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: 1px solid #C7CAD1;
    width: 30px !important;
    font-size: 26px;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    z-index: 10;
    transition: color 0.2s ease;
    border-radius: 100%;
}

    .health-lead-close:hover {
        color: #333;
    }


.health-lead-body {
    text-align: center;
    padding: 50px 0 32px 0;
}

.health-lead-title {
    font-size: 30px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 8px;
    font-family: 'Publico Headline Web', Georgia, serif;
}

@media (max-width: 599px) {
    .health-lead-title {
        font-size: 22px;
    }
}

.health-lead-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #888;
    margin: 0 0 28px;
}

@media (max-width: 599px) {
    .health-lead-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
}


.health-lead-field {
    margin-bottom: 18px;
    text-align: left;
}

.health-lead-label {
    display: block;
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 6px;
}

.health-lead-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    color: #ABAFBA;
    background: #fafafa;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

    .health-lead-input:focus {
        border-color: #00008f;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(0, 0, 143, 0.08);
    }

    .health-lead-input.is-invalid {
        border-color: #e74c3c;
        background: #fff8f8;
    }

    .health-lead-input.is-valid {
        border-color: #27ae60;
    }

@media (max-width: 599px) {
    .health-lead-input {
        height: 44px;
        font-size: 14px;
    }
}


.health-lead-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 499px) {
    .health-lead-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


.health-lead-error {
    display: block;
    font-size: 11px;
    color: #e74c3c;
    margin-top: 4px;
    min-height: 14px;
    font-weight: 500;
}


.health-lead-terms {
    margin: 0 0 24px 0;
    text-align: left;
}

.health-lead-check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 400;
    color: #555;
    cursor: pointer;
    user-select: none;
}

    .health-lead-check-label input[type="checkbox"] {
        display: none;
    }

    .health-lead-check-label a {
        color: #00008F;
    }

.health-lead-check-box {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.health-lead-check-label input[type="checkbox"]:checked + .health-lead-check-box {
    background: #00008f;
    border-color: #00008f;
}

    .health-lead-check-label input[type="checkbox"]:checked + .health-lead-check-box::after {
        content: "";
        width: 5px;
        height: 9px;
        border: 2px solid #fff;
        border-top: none;
        border-left: none;
        transform: rotate(45deg) translateY(-1px);
        display: block;
    }

.health-lead-terms a {
    color: #00008f;
    text-decoration: underline;
    font-weight: 600;
}

    .health-lead-terms a:hover {
        color: #0000c5;
    }


.health-lead-submit {
    width: 100% !important;
    height: 52px !important;
    padding: 16px 12px;
    background: #00008f;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .health-lead-submit:disabled {
        background: #b0b0c8;
        cursor: not-allowed;
        opacity: 0.75;
    }

    .health-lead-submit:not(:disabled):hover {
        background: #0000c5;
    }

@media (max-width: 599px) {
    .health-lead-submit {
        height: 48px;
        font-size: 15px;
    }
}


.health-lead-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: hlSpin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes hlSpin {
    to {
        transform: rotate(360deg);
    }
}

.health-lead-spinner.hide {
    display: none !important;
}
