/* === Exam Lead Capture — Public Form === */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Open+Sans:wght@400;600;700&display=swap');

.elc-wrap {
    margin: 36px auto;
    max-width: 500px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
}

/* Dashed alternating border — exactly like the screenshot */
.elc-box {
    background: #f0f4f0;
    padding: 26px 30px 20px;
    box-sizing: border-box;
    /* border-image trick for dashed two-color border */
    border: 4px dashed transparent;
    border-image-source: repeating-linear-gradient(
        90deg,
        var(--elc-ba)  0px,
        var(--elc-ba) 14px,
        var(--elc-bb) 14px,
        var(--elc-bb) 28px
    );
    border-image-slice: 4;
}

/* Headline block */
.elc-headline {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    line-height: 1.65;
    text-align: center;
    margin-bottom: 12px;
}

.elc-phone-top {
    color: var(--elc-color);
    font-weight: 700;
    text-decoration: underline;
    white-space: nowrap;
}
.elc-phone-top:hover { opacity: .8; }

/* Divider */
.elc-hr {
    border: none;
    border-top: 1px solid #c8c8c8;
    margin: 10px 0 12px;
}

/* "Do you want us to call" label */
.elc-sublabel {
    font-size: 13px;
    color: #222;
    margin: 0 0 12px;
    font-weight: 600;
}

/* Form fields */
.elc-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.elc-form input[type="text"],
.elc-form input[type="email"],
.elc-form input[type="tel"],
.elc-form select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #bbb;
    border-radius: 2px;
    background: #fff;
    font-size: 13.5px;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #333;
    box-sizing: border-box;
    outline: none;
    transition: border-color .18s;
    -webkit-appearance: none;
    appearance: none;
}
.elc-form input::placeholder { color: #aaa; }
.elc-form input:focus,
.elc-form select:focus { border-color: var(--elc-color); }
.elc-form select { color: #666; cursor: pointer; }
.elc-form select option { color: #333; }

/* Submit button */
.elc-btn {
    width: 100%;
    padding: 11px;
    background: var(--elc-btn);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 3px;
    letter-spacing: .3px;
    transition: opacity .18s;
}
.elc-btn:hover   { opacity: .87; }
.elc-btn:active  { opacity: .72; }
.elc-btn:disabled { opacity: .55; cursor: not-allowed; }

/* Success */
.elc-success {
    background: #eafaf1;
    border: 1px solid #a9dfbf;
    border-radius: 2px;
    padding: 12px 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #1e8449;
    margin-top: 10px;
}

/* Error */
.elc-error {
    background: #fdedec;
    border: 1px solid #f5b7b1;
    border-radius: 2px;
    color: #922b21;
    font-size: 13px;
    padding: 9px 12px;
    margin-top: 8px;
}

/* Footer phone */
.elc-phone-footer {
    text-align: center;
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--elc-color);
}

/* Responsive */
@media (max-width: 540px) {
    .elc-box        { padding: 18px 14px 14px; }
    .elc-headline   { font-size: 14px; }
}
