/* Shared base styling for the Appointments booking panel component.
   Structural layout plus motif-token theming with safe fallbacks; microsites
   override or extend it through the component "css" parameter. */

.appointments-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    padding: 2rem;
    border: 1px solid var(--motif-border-default, rgba(0, 0, 0, 0.14));
    border-radius: var(--motif-radius-card, 14px);
    background: var(--motif-color-surface-card, transparent);
    color: var(--motif-color-text-primary, inherit);
    font-family: var(--motif-font-ui, system-ui, sans-serif);
}

.appointments-panel__content {
    display: grid;
    flex: 1 1 24rem;
    gap: 0.5rem;
    min-width: 0;
}

.appointments-panel__kicker {
    margin: 0;
    color: var(--motif-color-accent-primary, inherit);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.appointments-panel h2 {
    margin: 0;
    color: var(--motif-color-heading, inherit);
}

.appointments-panel__content > p:last-child {
    margin: 0;
}

.appointments-panel__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--motif-radius-control, 999px);
    background: var(--motif-control-solid-background, #1f2937);
    color: var(--motif-control-solid-text, #ffffff);
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s var(--motif-motion-ease-standard, ease),
        background 0.2s var(--motif-motion-ease-standard, ease);
}

.appointments-panel__button:hover {
    background: var(--motif-control-solid-background-hover, #111827);
    transform: translateY(-2px);
}

.appointments-panel__button:focus-visible {
    outline: 2px solid var(--motif-color-focus, #ff8000);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .appointments-panel__button {
        width: 100%;
    }
}
