.appointment-page { --booking-ink: #28465f; --booking-muted: #718494; --booking-accent: #21859b; max-width: 1180px; margin: 0 auto; color: var(--booking-ink); font-size: 15px; line-height: 1.8; }
.appointment-page h1, .appointment-page h2 { color: var(--booking-ink); font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -.035em; }
.appointment-page a { text-decoration: none; }
.appointment-page a:focus-visible, .booking-submit:focus-visible { outline: 3px solid #278fa5; outline-offset: 5px; }
.booking-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; color: #8295a4; font-size: 12px; }
.booking-breadcrumbs a { color: #238297; }
.booking-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-bottom: 30px; padding: 31px 35px; border: 1px solid #deebf0; border-radius: 21px; background: linear-gradient(110deg, #fff 10%, #eaf6fa); }
.booking-page-heading > div { max-width: 760px; }
.booking-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #31879a; font-size: 9px; font-weight: 700; line-height: 1.6; letter-spacing: .12em; }
.booking-eyebrow > span { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #51b5c4; box-shadow: 0 0 0 4px #e2f3f6; }
.booking-page-heading h1 { margin: 14px 0; font-size: clamp(30px, 3.3vw, 42px); line-height: 1.2; }
.booking-page-heading p { margin: 0; color: var(--booking-muted); font-size: 14px; line-height: 1.85; }
.booking-heading-icon { display: grid; width: 76px; height: 76px; flex-shrink: 0; place-items: center; border: 1px solid #cde6ee; border-radius: 22px; background: linear-gradient(135deg, #fff, #deeff5); color: #378da2; font-size: 32px; box-shadow: 0 8px 23px #27586e08; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 335px; align-items: start; gap: 27px; }
.booking-form-card { min-width: 0; overflow: hidden; padding: 32px; border: 1px solid #e0eaf0; border-radius: 20px; background: #fff; box-shadow: 0 12px 35px #26475f05; }
.booking-form-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 28px; }
.booking-form-heading h2 { margin: 0; font-size: 23px; line-height: 1.4; }
.booking-form-heading > p { flex-shrink: 0; margin: 0; color: #7d919f; font-size: 10px; }
.booking-form-heading > p > span { color: #ad5a65; }
.appointment-form { margin: 0; padding: 0; background: transparent; }
.appointment-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.appointment-form fieldset + fieldset { margin-top: 29px; padding-top: 27px; border-top: 1px solid #e8eff3; }
.appointment-form legend { display: flex; float: none; width: 100%; align-items: center; gap: 11px; margin: 0 0 20px; padding: 0; color: #36566e; font-size: 15px; font-weight: 700; line-height: 1.5; }
.booking-section-number { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid #d9eaf0; border-radius: 9px; background: #eff7fa; color: #458b9f; font-size: 10px; font-weight: 700; }
.booking-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 20px; }
.booking-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.booking-field-wide { grid-column: 1 / -1; }
.appointment-form .booking-field > label { display: block; margin: 0; color: #49647a; font-family: "DM Sans", sans-serif; font-size: 12px; font-weight: 700; line-height: 1.6; text-transform: none; }
.booking-field > label > span { margin-left: 2px; color: #ad5a65; }
.booking-field > label > small { margin-left: 5px; color: #8c9da8; font-size: 10px; font-weight: 400; }
.appointment-form input:not([type="hidden"]), .appointment-form select, .appointment-form textarea { display: block; width: 100%; min-width: 0; height: 48px; margin: 0; padding: 12px 14px; border: 1px solid #dbe5ec; border-radius: 9px; background-color: #fbfdfe; color: #36516a; font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.5; box-shadow: none; transition: border-color .18s, box-shadow .18s, background-color .18s; }
.appointment-form input::placeholder, .appointment-form textarea::placeholder { color: #93a2ae; opacity: 1; }
.appointment-form select { padding-right: 34px; text-overflow: ellipsis; }
.appointment-form textarea { height: auto; min-height: 86px; resize: vertical; }
.appointment-form #booking-message { min-height: 112px; }
.appointment-form input:focus, .appointment-form select:focus, .appointment-form textarea:focus { outline: none; border-color: #67a8bc; background-color: #fff; box-shadow: 0 0 0 3px #3892ad16; }
.appointment-form [aria-invalid="true"] { border-color: #d99591; background-color: #fffbfa; }
.booking-field-error { display: block; margin: 0; color: #b35552; font-size: 11px; line-height: 1.6; }
.booking-error-summary { margin-bottom: 25px; padding: 17px 19px; border: 1px solid #efd6d3; border-radius: 11px; background: #fff7f5; color: #a35650; font-size: 12px; line-height: 1.75; }
.booking-error-summary strong { font-weight: 700; }
.booking-error-summary ul { margin: 7px 0 0; padding-left: 17px; }
.booking-error-summary a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.booking-field [id] { scroll-margin-top: 30px; }
.booking-submit-area { margin-top: 24px; }
.booking-confirmation-note { display: flex; align-items: start; gap: 10px; margin-bottom: 21px; padding: 13px 15px; border: 1px solid #e0ecf1; border-radius: 9px; background: #f2f8fb; color: #6a8494; }
.booking-confirmation-note > i { margin-top: 4px; color: #408a9e; font-size: 15px; }
.booking-confirmation-note > p { margin: 0; color: inherit; font-size: 11px; line-height: 1.8; }
.booking-submit { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 24px; padding: 13px 23px; border: 0; border-radius: 10px; background: linear-gradient(110deg, #2a5874, #238a9d); color: #fff; font-family: "DM Sans", sans-serif; font-size: 13px; font-weight: 700; line-height: 1.6; box-shadow: 0 8px 20px #2b6d8214; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.booking-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 24px #2b6d822a; }
.booking-form-note { margin: 13px 0 0; color: #8c9ca8; font-size: 10px; line-height: 1.7; }
.booking-sidebar { display: grid; gap: 19px; }
.booking-sidebar > section { min-width: 0; padding: 25px 23px; border: 1px solid #e0eaf0; border-radius: 18px; background: #fff; }
.booking-sidebar h2 { margin: 0; font-size: 17px; line-height: 1.5; letter-spacing: -.025em; }
.booking-sidebar .booking-doctor-card { background: linear-gradient(135deg, #fff, #e9f5f9); }
.booking-doctor-profile { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.booking-doctor-profile img { width: 72px; height: 72px; flex-shrink: 0; border: 1px solid #fff; border-radius: 50%; background: #fff; object-fit: contain; }
.booking-doctor-profile h2 { font-size: 16px; line-height: 1.5; }
.booking-doctor-profile p { margin: 5px 0 0; color: #7590a0; font-size: 11px; line-height: 1.7; }
.booking-doctor-intro { margin: 20px 0 0; padding-top: 17px; border-top: 1px solid #dceaf0; color: #708998; font-size: 12px; line-height: 1.85; }
.booking-next-steps ol { display: grid; gap: 21px; margin: 23px 0 0; padding: 0; list-style: none; }
.booking-next-steps li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.booking-next-steps li:not(:last-child)::before { position: absolute; top: 36px; bottom: -13px; left: 13px; border-left: 1px dashed #c7dfe8; content: ""; }
.booking-next-steps li > span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #d8e8ee; border-radius: 50%; background: #f4f9fb; color: #578c9f; font-size: 10px; font-weight: 700; }
.booking-next-steps strong { display: block; margin: 2px 0 4px; color: #48687e; font-size: 12px; font-weight: 700; line-height: 1.6; }
.booking-next-steps p { margin: 0; color: #80929f; font-size: 11px; line-height: 1.75; }
.booking-help-card > p { margin: 9px 0 20px; color: #7a8e9c; font-size: 12px; line-height: 1.8; }
.booking-phone { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; color: #3d6d84; font-size: 17px; font-weight: 700; }
.booking-phone > i { color: #599aac; font-size: 14px; }
.booking-whatsapp { display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 10px; padding: 10px; border: 1px solid #dbece4; border-radius: 9px; background: #f3faf6; color: #387e63; font-size: 11px; font-weight: 700; line-height: 1.7; }
.booking-whatsapp i { font-size: 16px; }
.booking-whatsapp:hover { background: #eaf6ef; color: #2b6a51; }
.booking-opening-hours { display: flex; align-items: start; gap: 11px; margin: 21px 0 20px; padding-top: 20px; border-top: 1px solid #e8eff3; color: #7090a1; }
.booking-opening-hours > i { margin-top: 4px; font-size: 16px; }
.booking-opening-hours strong, .booking-opening-hours span { display: block; }
.booking-opening-hours strong { margin-bottom: 5px; color: #527489; font-size: 11px; }
.booking-opening-hours span { color: #7f95a4; font-size: 11px; line-height: 1.8; white-space: pre-line; }
.booking-contact-link { display: flex; align-items: center; gap: 10px; color: #418398; font-size: 11px; font-weight: 700; }
.clinic-public-main > .notice-success { max-width: 1180px; margin: 0 auto 24px; padding: 18px 22px; border: 1px solid #cfe6db; border-radius: 12px; background: #eff9f3; color: #367b5c; font-size: 14px; line-height: 1.8; }
@media (max-width: 1050px) {
    .booking-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 20px; }
    .booking-form-card { padding: 27px; }
    .booking-form-heading { flex-direction: column; gap: 7px; }
    .booking-sidebar > section { padding: 23px 20px; }
    .booking-doctor-profile { flex-direction: column; align-items: start; }
}
@media (max-width: 800px) {
    .booking-layout { grid-template-columns: 1fr; }
    .booking-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .booking-help-card { grid-column: 1 / -1; }
    .booking-form-heading { flex-direction: row; align-items: baseline; }
    .booking-page-heading { gap: 20px; padding: 28px; }
    .booking-heading-icon { width: 62px; height: 62px; border-radius: 18px; font-size: 27px; }
}
@media (max-width: 560px) {
    .booking-page-heading { padding: 25px 21px; border-radius: 17px; }
    .booking-page-heading h1 { font-size: 31px; }
    .booking-page-heading p { font-size: 13px; }
    .booking-heading-icon { display: none; }
    .booking-eyebrow { font-size: 8px; letter-spacing: .1em; }
    .booking-form-card { padding: 25px 20px; border-radius: 17px; }
    .booking-form-heading { flex-direction: column; gap: 8px; }
    .booking-form-heading h2 { font-size: 22px; }
    .booking-fields { grid-template-columns: 1fr; gap: 18px; }
    .appointment-form input:not([type="hidden"]), .appointment-form select, .appointment-form textarea { font-size: 16px; }
    .booking-field > label > small { font-size: 10px; }
    .booking-submit { width: 100%; gap: 14px; padding-right: 14px; padding-left: 14px; font-size: 12px; }
    .booking-sidebar { grid-template-columns: 1fr; }
    .booking-help-card { grid-column: auto; }
    .booking-doctor-profile { flex-direction: row; align-items: center; }
    .clinic-public-main > .notice-success { padding: 16px 18px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .appointment-form input, .appointment-form select, .appointment-form textarea, .booking-submit { transition: none; } }
