/* Book a Private Appointment
   Matches existing theme palette: #1a334d headings, #e74c3c accent, Rubik font.
   Container widths inherit the theme .container rule. */

/* Hero */
.private-appointment {
    padding: 0;
}

.appointment-hero {
    background: #1a334d;
    color: #fff;
    padding: 56px 0;
    text-align: center;
}

.appointment-title {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    margin: 0 0 10px;
    color: #fff;
    line-height: 1.15;
}

.appointment-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

/* Body grid */
.appointment-body {
    padding: 50px 0 80px;
}

.appointment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 50px;
    align-items: start;
}

@media (max-width: 900px) {
    .appointment-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* Calendar column */
.appointment-calendar-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.appointment-calendar {
    background: #fff;
    border: 1px solid #e3e7ec;
    border-radius: 10px;
    padding: 20px 22px 22px;
    box-shadow: 0 6px 20px rgba(20, 40, 70, 0.05);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.calendar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a334d;
    text-transform: capitalize;
}

.calendar-nav {
    background: #f4f6f9;
    border: 1px solid #dde3ea;
    color: #1a334d;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.calendar-nav:hover {
    background: #1a334d;
    color: #fff;
}

.calendar-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 8px;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7785;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.cal-day {
    aspect-ratio: 1.6 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3e7ec;
    border-radius: 8px;
    background: #fff;
    color: #1a334d;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    padding: 0;
}

.cal-day:hover:not(:disabled) {
    border-color: #1a334d;
    background: #f4f6f9;
}

.cal-day.is-selected {
    background: #1a334d;
    color: #fff;
    border-color: #1a334d;
}

.cal-day.is-today {
    font-weight: 700;
}

.cal-day:disabled,
.cal-day.is-disabled {
    color: #c4cad3;
    background: #f8fafc;
    border-color: #eef1f5;
    cursor: not-allowed;
}

.cal-day.is-empty {
    border: none;
    background: transparent;
    cursor: default;
}

.calendar-footnote {
    margin: 14px 0 0;
    font-size: 0.85rem;
    color: #6b7785;
}

/* Time slots */
.appointment-times {
    background: #fff;
    border: 1px solid #e3e7ec;
    border-radius: 10px;
    padding: 20px 22px;
    box-shadow: 0 6px 20px rgba(20, 40, 70, 0.05);
}

.times-heading {
    margin: 0 0 14px;
    font-size: 1.1rem;
    color: #1a334d;
}

.times-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.time-slot {
    padding: 14px 10px;
    border: 1px solid #d7dde6;
    border-radius: 8px;
    background: #fff;
    color: #1a334d;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.time-slot:hover:not(:disabled) {
    border-color: #1a334d;
    background: #f4f6f9;
}

.time-slot.is-selected {
    background: #1a334d;
    color: #fff;
    border-color: #1a334d;
}

.time-slot:disabled,
.time-slot.is-booked {
    color: #adb4c0;
    background: #f4f6f9;
    border-color: #e8ecf1;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Form */
.appointment-form-wrap {
    background: #fff;
    border: 1px solid #e3e7ec;
    border-radius: 10px;
    padding: 20px 22px 24px;
    box-shadow: 0 6px 20px rgba(20, 40, 70, 0.05);
}

.form-heading {
    margin: 0 0 14px;
    font-size: 1.1rem;
    color: #1a334d;
}

.appointment-form .form-row {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
}

.appointment-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a334d;
    margin-bottom: 5px;
}

.appointment-form input {
    padding: 11px 13px;
    border: 1px solid #d7dde6;
    border-radius: 7px;
    font-size: 1rem;
    color: #1a334d;
    background: #fff;
    font-family: inherit;
}

.appointment-form input:focus {
    outline: none;
    border-color: #1a334d;
    box-shadow: 0 0 0 3px rgba(26, 51, 77, 0.12);
}

.form-summary {
    margin: 4px 0 12px;
    padding: 11px 13px;
    background: #f4f6f9;
    border-radius: 7px;
    font-size: 0.95rem;
    color: #1a334d;
}

.form-error {
    margin: 0 0 10px;
    color: #e74c3c;
    font-size: 0.9rem;
    min-height: 1em;
}

.appointment-submit {
    width: 100%;
    background: #1a334d;
    color: #fff;
    padding: 15px 24px;
    border-radius: 7px;
    text-transform: none;
    letter-spacing: 0.3px;
    font-size: 0.95rem;
    backdrop-filter: none;
}

.appointment-submit:hover,
.appointment-submit:focus {
    background: #244266;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(20, 40, 70, 0.18);
}

.appointment-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Confirmation */
.appointment-confirmation {
    background: #f4faf6;
    border: 1px solid #cfe7d8;
    border-radius: 10px;
    padding: 22px;
    color: #1f5a37;
}

.appointment-confirmation h3 {
    margin: 0 0 8px;
    color: #1f5a37;
    font-size: 1.25rem;
}

.appointment-confirmation p {
    margin: 0 0 8px;
    line-height: 1.6;
}

.confirmation-note {
    color: #4a6b59;
    font-size: 0.92rem;
}

/* Marketing copy column */
.appointment-copy-col {
    padding-top: 6px;
}

.appointment-copy-col .copy-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #1a334d;
    font-weight: 500;
    margin: 0 0 18px;
}

.appointment-copy-col p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #3a4658;
    margin: 0 0 16px;
}

@media (max-width: 900px) {
    .appointment-copy-col {
        padding-top: 0;
    }
}
