/* „Időpontot foglalok” felugró ablak (callback.js építi fel) */
html.callback-open {
    overflow: hidden;
}
.callback-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 30, 32, 0.45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.25s ease;
    font-family: 'Inter', sans-serif;
}
.callback-backdrop.visible {
    opacity: 1;
}
/* a display: grid/flex szabályok ne írják felül a hidden attribútumot */
.callback-dialog [hidden] {
    display: none !important;
}
.callback-dialog {
    position: relative;
    width: min(460px, 100%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: #fff;
    border-radius: 24px;
    padding: 30px 28px 26px;
    box-shadow: 0 24px 70px rgba(0, 60, 64, 0.25);
    color: #000;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s ease;
}
.callback-backdrop.visible .callback-dialog {
    transform: none;
}
.callback-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #f1f5f5;
    color: #333;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.callback-close:hover {
    background: #e3eded;
}
.callback-kicker {
    margin: 0 0 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #008a91;
}
.callback-title {
    margin: 0 0 18px;
    font-family: 'Host Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.7rem;
    line-height: 1.1;
}
.callback-subtitle {
    margin: 0 0 14px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}
.callback-call {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 16px;
    border-radius: 16px;
    background: #00adb5;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
}
.callback-call:hover {
    background: #008a91;
}
.callback-call-label {
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.9;
}
.callback-call-number {
    font-family: 'Host Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: 0.01em;
}
.callback-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
    color: #888;
    font-size: 0.85rem;
}
.callback-divider::before,
.callback-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}
.callback-form {
    display: grid;
    gap: 12px;
}
.callback-field {
    display: grid;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}
.callback-field input {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #d5dfe0;
    border-radius: 12px;
    background: #fff;
    color: #000;
    font: 400 1rem 'Inter', sans-serif;
}
.callback-field input:focus {
    outline: 2px solid #00adb5;
    outline-offset: 0;
    border-color: #00adb5;
}
.callback-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0 0;
    padding: 0;
    border: none;
}
.callback-slots legend {
    width: 100%;
    margin-bottom: 6px;
    padding: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}
.callback-slot input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.callback-slot span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #cfe3e4;
    border-radius: 999px;
    font-size: 0.88rem;
    color: #008a91;
    cursor: pointer;
}
.callback-slot input:checked + span {
    background: #00adb5;
    border-color: #00adb5;
    color: #fff;
}
.callback-slot input:focus-visible + span {
    outline: 2px solid #008a91;
    outline-offset: 2px;
}
.callback-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.callback-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #555;
    cursor: pointer;
}
.callback-consent input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #00adb5;
}
.callback-consent a {
    color: #008a91;
}
.callback-error {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fdecea;
    color: #a3261a;
    font-size: 0.85rem;
}
.callback-submit {
    width: 100%;
    margin: 4px 0 0;
    padding: 14px;
    border: none;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font: 600 1rem 'Inter', sans-serif;
    cursor: pointer;
}
.callback-submit:hover {
    background: #222;
}
.callback-submit:disabled {
    opacity: 0.6;
    cursor: default;
}
.callback-success {
    padding-top: 8px;
}
@media (max-width: 480px) {
    .callback-backdrop {
        align-items: flex-end;
        padding: 0;
    }
    .callback-dialog {
        width: 100%;
        border-radius: 24px 24px 0 0;
        padding: 26px 20px 22px;
        max-height: 92vh;
    }
}
