/* "Запазване на час за лекар" → e-lekar.bg (27.11.2026) at the bottom of the login,
   results, portal and information pages — not embedded (App\Http\AppointmentLink).
   In the v2 look: a white card link with the blue of the login button, a calendar
   icon in a light-blue circle and a small "opens elsewhere" arrow. */

.appointment {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5rem 1rem 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.3;
}
.appointment-link {
    display: inline-flex; align-items: center; gap: 0.75rem;
    max-width: 100%;
    padding: 0.625rem 1.125rem 0.625rem 0.625rem;
    background: white;
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 6px 16px -6px rgba(30,64,175,0.18);
    transition: background 0.12s, border-color 0.12s, box-shadow 0.12s;
}
/* The light-blue circle (36px at 16px) with the calendar centred inside it. Not
   padding on the <svg> itself — Chromium then clipped the icon's bottom edge. */
.appointment-icon {
    flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.25rem; height: 2.25rem;
    border-radius: 50%;
    background: #eef2ff;
    color: #2563eb;
}
.appointment-icon svg { width: 1.125rem; height: 1.125rem; }
.appointment-text { min-width: 0; }
.appointment-out { flex: none; width: 0.875rem; height: 0.875rem; color: #2563eb; }
.appointment-link:hover {
    background: #eff6ff;
    border-color: #2563eb;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 20px -6px rgba(30,64,175,0.28);
}
.appointment-link:hover .appointment-icon { background: #2563eb; color: white; }
.appointment-link:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
/* Windows contrast themes drop the background and the shadow: a real frame. */
@media (forced-colors: active) {
    .appointment-link { border: 1px solid LinkText; }
}

/* The login page: above "Помощ · Достъпност · Контакти" in the footer. */
.page-footer .appointment { padding: 0 0 1rem; }
.page-footer .appointment-link { color: #1e40af; }
/* The information pages: above the three page links. */
.info-links .appointment { padding: 0 0 0.875rem; }
.info-links .appointment-link { color: #1e40af; }

@media (max-width: 600px) {
    .appointment { font-size: 0.875rem; }
    .appointment-link { gap: 0.625rem; padding: 0.5rem 1rem 0.5rem 0.5rem; }
}
