/* ==========================================================
   HICAP MEDICARE COUNSELING APPOINTMENT FORM
========================================================== */

.hicap-appointment-form {
    width: 100%;
    max-width: 850px;
    margin: 30px auto 50px;
    padding: 36px;
    background: #ffffff;
    border: 1px solid #dce7ed;
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(18, 59, 93, .08);
    box-sizing: border-box;
}

.hicap-appointment-form *,
.hicap-appointment-form *::before,
.hicap-appointment-form *::after {
    box-sizing: border-box;
}

.hicap-appointment-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.hicap-appointment-fields > label {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #173c56;
}

.hicap-appointment-fields input,
.hicap-appointment-fields select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 11px 14px;
    margin: 0;
    border: 1px solid #c8d7df;
    border-radius: 9px;
    background: #ffffff;
    color: #233f50;
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: none;
}

.hicap-appointment-fields input:focus,
.hicap-appointment-fields select:focus {
    outline: 3px solid rgba(8, 127, 140, .18);
    outline-offset: 1px;
    border-color: #087f8c;
}

.hicap-appointment-notice {
    margin: 30px 0 24px;
    padding: 17px 20px;
    background: #eef7f8;
    border-left: 4px solid #087f8c;
    border-radius: 0 9px 9px 0;
    color: #365465;
    font-size: 15px;
    line-height: 1.7;
}

.hicap-appointment-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 28px;
    border: 0;
    border-radius: 9px;
    background: #087f8c;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.hicap-appointment-form button[type="submit"]:hover {
    background: #066b76;
    transform: translateY(-1px);
}

.hicap-appointment-form button[type="submit"]:focus-visible {
    outline: 3px solid #123b5d;
    outline-offset: 3px;
}

.hicap-appointment-success {
    max-width: 850px;
    margin: 30px auto;
    padding: 28px 32px;
    background: #eef8f5;
    border: 1px solid #b8ded2;
    border-radius: 14px;
    color: #194d43;
}

.hicap-appointment-success h3 {
    margin: 0 0 12px;
    color: #194d43;
}

.hicap-appointment-success p {
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .hicap-appointment-form {
        padding: 24px 20px;
        margin: 20px auto 35px;
    }

    .hicap-appointment-fields {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hicap-appointment-form button[type="submit"] {
        width: 100%;
    }
}
