/* V2 PATIENT FORM V1 */

.v2-patient-form {
    border-top: 1px solid var(--color-border);
    margin-top: 30px;
    padding-top: 30px;
}

.v2-patient-title,
.v2-phone-heading,
.v2-patient-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.v2-patient-title {
    margin-bottom: 20px;
}

.v2-patient-title h3 {
    margin: 4px 0 0;
    font-size: 1.2rem;
}

.v2-patient-title > span,
.v2-phone-heading > span {
    font-family: var(--font-en);
    font-size: .76rem;
    color: var(--color-muted);
}

.v2-patient-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}

.v2-patient-control {
    min-width: 0;
}

.v2-patient-control label {
    display: block;
    margin-bottom: 9px;
    font-size: .85rem;
    font-weight: 600;
}

.v2-patient-control small {
    color: var(--color-muted);
    font-weight: 400;
}

.v2-patient-control input,
.v2-patient-control textarea {
    display: block;
    width: 100%;
    min-height: 53px;
    padding: 13px 16px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    outline: none;
    background: var(--color-surface-alt);
    color: var(--color-text);
    transition: border-color .2s,box-shadow .2s;
}

.v2-patient-control input:focus,
.v2-patient-control textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.v2-patient-control input::placeholder,
.v2-patient-control textarea::placeholder {
    color: var(--color-muted);
    opacity: .7;
}

.v2-patient-control textarea {
    resize: vertical;
}

.v2-patient-notes {
    margin-top: 18px;
}

.v2-patient-footer {
    margin-top: 24px;
}

#v2-patient-result {
    flex: 1;
    margin: 0;
    font-size: .85rem;
    color: var(--color-muted);
}

#v2-patient-result[data-state="error"] {
    color: var(--color-danger);
}

#v2-patient-result[data-state="success"] {
    color: var(--color-success);
}

.v2-patient-submit {
    border: 0;
    min-width: 170px;
}

.v2-patient-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

@media(max-width:680px) {
    .v2-patient-grid {
        grid-template-columns: 1fr;
    }

    .v2-patient-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .v2-patient-submit {
        width: 100%;
        min-height: 54px;
    }
}
/* Inline, label-free live review shown immediately before confirmation. */
.v2-patient-form { padding-top: 20px; }
.clinic-booking-review {
    display: flex; flex-direction: column; align-items: stretch; gap: 7px;
    margin-top: 24px; margin-bottom: 18px; padding: 15px 18px;
    text-align: start; overflow-wrap: anywhere;
}
.clinic-booking-review #v2-booking-selection { font-weight: 700; }
.clinic-booking-review .clinic-review-value { font-size: .84rem; line-height: 1.65; color: var(--color-text); }
.clinic-booking-review #clinic-review-phone { unicode-bidi: isolate; text-align: start; }
.clinic-booking-review [hidden] { display: none !important; }
.v2-patient-footer { margin-top: 0; }
@media (max-width: 760px) { .clinic-booking-review { padding: 14px; gap: 6px; } }
