/* OktatóFoglaló – 4. Arculati Rendszer: „Barackvirág & Homok” (Papírhatású Szemkímélő UI) */
:root {
    --bg-cream: #FDFBF7;
    --bg-sand: #F5EFE6;
    --bg-sand-light: #FAF6F0;
    --bg-card: #FFFFFF;
    --border-sand: #EBD9C8;
    --border-sand-subtle: #F0E5D8;
    
    --peach-light: #FADCD4;
    --peach-accent: #F7D6C8;
    --terracotta: #C86D55;
    --terracotta-hover: #B55C45;
    --terracotta-dark: #91412D;

    --matcha-bg: #E2F0E6;
    --matcha-accent: #C8E3D0;
    --matcha-border: #94B49F;
    --matcha-text: #235338;

    --espresso: #332924;
    --espresso-soft: #443731;
    --coffee-muted: #5C493F;
    --coffee-light: #7C665A;
    --coffee-border: rgba(51, 41, 36, 0.15);

    --card-radius: 20px;
    --card-radius-sm: 12px;
    --card-shadow: 0 8px 24px rgba(51, 41, 36, 0.04);
    --card-shadow-hover: 0 14px 30px rgba(51, 41, 36, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-cream);
    color: var(--espresso);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand-font, .btn-brand {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: var(--espresso);
}

/* Navbar */
.app-navbar {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1.5px solid var(--border-sand);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.25s ease;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-title {
    font-size: 23px;
    font-weight: 700;
    color: var(--espresso);
    letter-spacing: -0.4px;
    line-height: 1.1;
}

.brand-title span {
    color: var(--terracotta);
}

.brand-subtitle {
    font-size: 10px;
    font-weight: 700;
    color: var(--coffee-light);
    letter-spacing: 0.8px;
}

.nav-link-custom {
    color: var(--coffee-muted);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 16px !important;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-link-custom:hover {
    color: var(--espresso);
    background-color: var(--bg-sand);
}

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--terracotta);
    color: #FFFFFF !important;
    border: 2px solid var(--espresso);
    border-radius: 12px;
    padding: 10px 22px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 2px 2px 0px var(--espresso);
    transition: all 0.15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary-custom:hover {
    background-color: var(--terracotta-hover);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px var(--espresso);
}

.btn-primary-custom:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px var(--espresso);
}

.btn-secondary-custom {
    background-color: var(--bg-sand);
    color: var(--espresso) !important;
    border: 2px solid var(--espresso);
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 2px 2px 0px var(--espresso);
    transition: all 0.15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary-custom:hover {
    background-color: var(--peach-accent);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px var(--espresso);
}

.btn-secondary-custom:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px var(--espresso);
}

.btn-dark-custom,
.btn-dark-custom.active,
.btn.btn-dark-custom,
.btn.btn-dark-custom.active,
.btn.btn-dark-custom:active,
.btn.btn-dark-custom:focus,
.btn-group > .btn.btn-dark-custom,
.btn-group > .btn.btn-dark-custom.active,
.btn-group > .btn.btn-dark-custom:active,
.btn-group > .btn.btn-dark-custom:focus {
    background: var(--espresso) !important;
    background-color: var(--espresso) !important;
    color: #FFFFFF !important;
    border: 2px solid var(--espresso) !important;
    border-color: var(--espresso) !important;
    border-radius: 12px;
    padding: 10px 22px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    --bs-btn-color: #FFFFFF !important;
    --bs-btn-bg: var(--espresso) !important;
    --bs-btn-border-color: var(--espresso) !important;
    --bs-btn-hover-color: #FFFFFF !important;
    --bs-btn-hover-bg: var(--espresso-soft) !important;
    --bs-btn-hover-border-color: var(--espresso-soft) !important;
    --bs-btn-active-color: #FFFFFF !important;
    --bs-btn-active-bg: var(--espresso) !important;
    --bs-btn-active-border-color: var(--espresso) !important;
}

.btn-dark-custom:hover {
    background: var(--espresso-soft) !important;
    background-color: var(--espresso-soft) !important;
    border-color: var(--espresso-soft) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 41, 36, 0.2);
}

/* Gombcsoportok inaktív és aktív állapotai */
.btn-group > .btn.btn-outline-secondary,
.btn-group > .btn.btn-outline-secondary:not(.active) {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: var(--espresso) !important;
    border: 1.5px solid var(--border-sand) !important;
    border-color: var(--border-sand) !important;
    font-weight: 600;
    --bs-btn-color: var(--espresso) !important;
    --bs-btn-bg: #FFFFFF !important;
    --bs-btn-border-color: var(--border-sand) !important;
    --bs-btn-hover-color: var(--espresso) !important;
    --bs-btn-hover-bg: var(--bg-sand) !important;
    --bs-btn-hover-border-color: var(--border-sand) !important;
}

.btn-group > .btn.btn-outline-secondary:hover {
    background: var(--bg-sand) !important;
    background-color: var(--bg-sand) !important;
    color: var(--espresso) !important;
    border-color: var(--border-sand) !important;
}

/* Badges & Chips */
.badge-pill-custom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--border-sand);
    background-color: var(--bg-sand);
    color: var(--espresso);
}

.badge-matcha {
    background-color: var(--matcha-bg);
    color: var(--matcha-text);
    border: 1.5px solid var(--matcha-border);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.badge-peach {
    background-color: var(--peach-light);
    color: var(--terracotta-dark);
    border: 1.5px solid var(--terracotta);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

/* Cards */
.paper-card {
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-sand);
    border-radius: var(--card-radius);
    padding: 28px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.paper-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.sand-card {
    background-color: var(--bg-sand);
    border: 1.5px solid var(--border-sand);
    border-radius: var(--card-radius);
    padding: 28px;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 40px;
    position: relative;
}

.hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--coffee-muted);
    margin-bottom: 32px;
    max-width: 620px;
}

/* Phone Mockup Frame (Design 4) */
.phone-mockup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 100%;
    max-width: 380px;
    background: #FDFBF7;
    border: 4px solid var(--espresso);
    border-radius: 40px;
    padding: 16px;
    box-shadow: 8px 12px 0px var(--espresso), 0 20px 40px rgba(51, 41, 36, 0.15);
    overflow: hidden;
}

.phone-notch {
    width: 130px;
    height: 18px;
    background-color: var(--espresso);
    border-radius: 0 0 12px 12px;
    margin: -16px auto 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.phone-speaker {
    width: 40px;
    height: 4px;
    background-color: #5C493F;
    border-radius: 999px;
}

.phone-cam {
    width: 6px;
    height: 6px;
    background-color: #5C493F;
    border-radius: 50%;
}

.phone-statusbar {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: var(--coffee-light);
    margin-bottom: 12px;
    padding: 0 6px;
}

/* Timeline Agenda inside Mockup */
.timeline-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 10px;
    align-items: start;
    margin-bottom: 12px;
}

.timeline-time {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--coffee-light);
    padding-top: 8px;
    text-align: right;
}

.timeline-slot-card {
    border-radius: 14px;
    padding: 12px;
    position: relative;
    border: 1.5px solid transparent;
}

.slot-attended {
    background-color: var(--matcha-bg);
    border-color: var(--matcha-border);
}

.slot-pending {
    background-color: var(--peach-light);
    border-color: var(--terracotta);
}

.slot-open {
    background-color: var(--bg-sand);
    border: 1.5px dashed #B8A69A;
}

/* Pricing Toggle & Referral Slider */
.pricing-switch-wrapper {
    display: inline-flex;
    align-items: center;
    background: var(--bg-sand);
    border: 1.5px solid var(--border-sand);
    padding: 5px;
    border-radius: 16px;
    gap: 6px;
}

.pricing-switch-btn {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    color: var(--coffee-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pricing-switch-btn.active {
    background: var(--bg-card);
    color: var(--espresso);
    box-shadow: 0 2px 8px rgba(51, 41, 36, 0.08);
}

.referral-slider-box {
    background: var(--bg-sand-light);
    border: 2px dashed var(--border-sand);
    border-radius: var(--card-radius);
    padding: 24px;
    margin-top: 24px;
}

/* FAQ Accordion */
.custom-accordion .accordion-item {
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-sand);
    border-radius: 16px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.custom-accordion .accordion-button {
    background-color: var(--bg-card);
    color: var(--espresso);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 17px;
    padding: 18px 24px;
    box-shadow: none !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--bg-sand);
    color: var(--terracotta-dark);
}

.custom-accordion .accordion-body {
    padding: 20px 24px;
    color: var(--coffee-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Footer */
.app-footer {
    background-color: var(--bg-sand);
    border-top: 1.5px solid var(--border-sand);
    padding: 50px 0 30px;
    color: var(--coffee-muted);
    font-size: 14px;
}

.app-footer a {
    color: var(--espresso);
    text-decoration: none;
    transition: color 0.2s;
}

.app-footer a:hover {
    color: var(--terracotta);
}

/* Custom Range Slider */
input[type=range].custom-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range].custom-slider:focus {
    outline: none;
}

input[type=range].custom-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px;
    cursor: pointer;
    background: #E0D3C5;
    border-radius: 5px;
    border: 1px solid var(--border-sand);
}

input[type=range].custom-slider::-webkit-slider-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--terracotta);
    border: 2px solid var(--espresso);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px;
    box-shadow: 1px 1px 0px var(--espresso);
}

/* Demo Toast Notification */
.demo-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--espresso);
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(51, 41, 36, 0.25);
    border: 1.5px solid var(--border-sand);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.25s ease;
}

.demo-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.selected-plan {
    border: 2.5px solid var(--terracotta) !important;
    position: relative;
}

/* ======================================================== */
/* OKTATÓI VEZÉRLŐPULT (DASHBOARD) DESIGN 4 STÍLUSOK       */
/* ======================================================== */

/* Tab Navigációs Sáv (Mobil- és Tablet-barát) */
.dash-tabs-bar {
    display: flex;
    gap: 8px;
    background: var(--bg-sand);
    padding: 6px;
    border-radius: 16px;
    border: 1.5px solid var(--border-sand);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.dash-tabs-bar::-webkit-scrollbar {
    display: none;
}

.dash-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--coffee-muted);
    text-decoration: none;
    white-space: nowrap;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
    min-height: 44px;
}

.dash-tab-btn:hover {
    color: var(--espresso);
    background: rgba(255, 255, 255, 0.6);
}

.dash-tab-btn.active {
    background: #FFFFFF;
    color: var(--espresso);
    box-shadow: 0 4px 12px rgba(51, 41, 36, 0.08);
    border: 1px solid var(--border-sand);
}

.dash-tab-badge {
    background: var(--terracotta);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 20px;
    line-height: 1;
}

.dash-tab-badge-matcha {
    background: var(--matcha-border);
    color: var(--matcha-text);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 20px;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .dash-tabs-bar {
        gap: 4px;
        padding: 4px;
        border-radius: 14px;
        display: flex;
        width: 100%;
    }
    .dash-tab-btn {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        padding: 8px 3px;
        font-size: 12.5px;
        gap: 4px;
        border-radius: 10px;
        min-height: 38px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .dash-tab-badge, .dash-tab-badge-matcha {
        padding: 2px 4px;
        font-size: 10px;
    }
}

/* Heti Napválasztó Szalag */
.week-strip-container {
    background: #FFFDF9;
    border: 1.5px solid var(--border-sand);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 4px 16px rgba(51, 41, 36, 0.03);
}

.week-strip {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}

@media (max-width: 768px) {
    .week-strip-container {
        padding: 10px 6px;
        border-radius: 14px;
    }
    .week-strip {
        grid-template-columns: repeat(7, 1fr) !important;
        gap: 3px;
        overflow-x: visible;
        padding-bottom: 0;
    }
    .week-day-card {
        padding: 6px 1px !important;
        border-radius: 10px;
        min-height: 64px;
        min-width: 0;
    }
    .week-day-card .week-day-name {
        font-size: 11px;
    }
    .week-day-card .week-day-num {
        font-size: 14px;
        margin: 1px 0;
    }
    .week-day-card .week-day-meta {
        font-size: 9.5px;
    }
    .week-day-card.today::after {
        display: none !important;
    }
    .week-day-card.today {
        border-color: var(--terracotta) !important;
        background: #FFF9F7;
    }
}

.week-day-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 6px;
    background: var(--bg-cream);
    border: 1.5px solid var(--border-sand);
    border-radius: 14px;
    text-decoration: none;
    color: var(--espresso);
    transition: all 0.2s ease;
    min-height: 80px;
    position: relative;
}

.week-day-card:hover {
    background: var(--bg-sand);
    color: var(--espresso);
    transform: translateY(-2px);
}

.week-day-card.active {
    background: #FFFFFF;
    border: 2px solid var(--espresso);
    box-shadow: 0 6px 16px rgba(51, 41, 36, 0.12);
}

.week-day-card.today::after {
    content: "MA";
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 8.5px;
    font-weight: 800;
    background: var(--terracotta);
    color: #FFFFFF;
    padding: 1px 4px;
    border-radius: 6px;
    line-height: 1.2;
}

.week-day-name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--coffee-light);
}

.week-day-card.active .week-day-name {
    color: var(--terracotta);
}

.week-day-num {
    font-size: 16px;
    font-weight: 800;
    font-family: 'Quicksand', sans-serif;
    margin: 2px 0;
}

.week-day-meta {
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

/* Idősáv Kártyák (Agenda / Timeline V2) */
.slot-card-v2 {
    background: #FFFDF9;
    border: 1.5px solid var(--border-sand);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(51, 41, 36, 0.03);
}

.slot-card-v2.booked {
    border: 2px solid var(--espresso);
    background: #FFFFFF;
}

.slot-card-v2.pending-alert {
    border: 2px solid var(--terracotta);
    background: #FFF9F7;
}

.slot-card-v2.completed {
    border: 1.5px solid var(--matcha-border);
    background: var(--matcha-bg);
}

.slot-card-v2.noshow {
    border: 1.5px solid #D6CBC4;
    background: #F5EFEA;
    opacity: 0.85;
}

.slot-time-badge {
    font-size: 17px;
    font-weight: 800;
    font-family: 'Quicksand', sans-serif;
    color: var(--espresso);
    letter-spacing: -0.3px;
}

/* Várólista Doboz a Beosztott kártya alján */
.waitlist-box {
    background: var(--bg-sand);
    border: 1.5px dashed var(--border-sand);
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 14px;
}

/* Tanulói Kártyák & Progress Bar */
.student-card-v2 {
    background: #FFFDF9;
    border: 1.5px solid var(--border-sand);
    border-radius: 16px;
    padding: 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.student-card-v2:hover {
    border-color: var(--espresso);
    box-shadow: 0 6px 18px rgba(51, 41, 36, 0.06);
}

.progress-bar-custom {
    height: 10px;
    background: #EBE3D8;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar-custom-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--matcha-border) 0%, var(--matcha-text) 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.progress-bar-custom-fill.complete {
    background: linear-gradient(90deg, #489366 0%, #205835 100%);
}

/* Időtartam és Perc Választó Chip Gombok */
.duration-chip, .minute-chip {
    background: #FFFDF9;
    border: 1.5px solid var(--border-sand);
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--espresso);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.minute-chip {
    flex: 1 1 0px;
    padding: 3px 2px;
}

.duration-chip:hover, .minute-chip:hover {
    border-color: var(--espresso);
    background: var(--bg-sand);
    color: var(--espresso);
}

.duration-chip.active, .minute-chip.active {
    background: var(--espresso) !important;
    border-color: var(--espresso) !important;
    color: #FFFFFF !important;
    font-weight: 700;
}

/* Kattintható órasávok a naptárban */
.cal-hour-cell {
    cursor: pointer;
    transition: background-color 0.15s ease;
    vertical-align: top;
    height: 72px;
    padding: 4px;
    position: relative;
}

.cal-hour-cell:hover {
    background-color: rgba(223, 235, 227, 0.45) !important;
}

.mobile-hour-card {
    transition: all 0.15s ease;
}

.mobile-hour-card:hover {
    border-color: var(--espresso) !important;
}

/* Mobil nézetváltó gombcsoport (Napi / Heti) */
.mobile-view-toggle {
    max-width: 380px;
    width: 100%;
    background: #FFFDF9;
    border: 1.5px solid var(--border-sand);
    border-radius: 12px;
    padding: 3px;
    display: flex;
    gap: 4px;
}

.mobile-view-toggle-btn {
    flex: 1 1 0px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 9px;
    border: none;
    background: transparent;
    color: var(--coffee-muted);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mobile-view-toggle-btn:hover {
    color: var(--espresso);
    background: rgba(51, 41, 36, 0.05);
}

.mobile-view-toggle-btn.active {
    background: var(--espresso) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 6px rgba(51, 41, 36, 0.2);
}

/* Asztali vs Mobil naptár nézetek szigorú elválasztása */
@media (max-width: 767.98px) {
    #desktopWeekViewWrapper {
        display: none !important;
    }
}

@media (min-width: 768px) {
    #desktopWeekViewWrapper {
        display: block !important;
    }
    #mobileDayPagerWrapper,
    #mobileDayViewWrapper,
    #mobileWeekOverviewWrapper,
    #mobileViewSwitcherWrapper {
        display: none !important;
    }
}

/* Dátum- és hétválasztó felugró naptár (Modal) */
#calendarJumpModal .modal-dialog {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 400px;
    width: calc(100% - 24px);
}

.jump-cal-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 3px;
    text-align: center;
}
.jump-cal-table th {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--coffee-muted);
    padding: 6px 2px;
}
.jump-cal-week-btn {
    font-size: 11px;
    font-weight: 700;
    color: var(--espresso);
    background: var(--bg-sand);
    border: 1px solid var(--border-sand);
    border-radius: 8px;
    padding: 6px 2px;
    width: 100%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    line-height: 1.2;
}
.jump-cal-week-btn:hover {
    background: var(--espresso) !important;
    color: #FFFFFF !important;
    border-color: var(--espresso) !important;
}
.jump-cal-day-btn {
    font-size: 13.5px;
    font-weight: 600;
    width: 36px;
    height: 36px;
    line-height: 34px;
    margin: 0 auto;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.15s ease;
    color: var(--espresso);
    background: transparent;
    text-decoration: none;
}
.jump-cal-day-btn:hover {
    background: var(--bg-sand);
    border-color: var(--border-sand);
}
.jump-cal-day-btn.other-month {
    opacity: 0.3;
    color: var(--coffee-muted);
}
.jump-cal-day-btn.today {
    border-color: var(--matcha-border);
    font-weight: 800;
}
.jump-cal-day-btn.selected {
    background: var(--espresso) !important;
    color: #FFFFFF !important;
    font-weight: 800;
    border-color: var(--espresso) !important;
    box-shadow: 0 3px 8px rgba(51, 41, 36, 0.2);
}

/* ======================================================== */
/* 10 PERCES BONTÁSÚ NAPTÁR ÉS LAPOZÓ STÍLUSOK             */
/* ======================================================== */

/* Lapozó Csík (Mobile & Desktop) */
.calendar-pager-bar {
    background: #FFFDF9;
    border: 1.5px solid var(--border-sand);
    border-radius: 16px;
    padding: 10px 16px;
    box-shadow: var(--card-shadow);
}

.pager-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-sand);
    border: 1.5px solid var(--border-sand);
    color: var(--espresso);
    font-weight: 700;
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pager-nav-btn:hover {
    background: var(--peach-light);
    border-color: var(--terracotta);
    color: var(--espresso);
}

/* 10 perces rábökő gomb (chip) */
.btn-ten-chip {
    background: #FFFDF9;
    border: 1.5px dashed var(--border-sand);
    color: var(--coffee-muted);
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-ten-chip:hover {
    background: var(--peach-light);
    border-color: var(--terracotta);
    color: var(--terracotta-dark);
    transform: scale(1.05);
}

.btn-ten-chip:active {
    transform: scale(0.95);
}

/* Mobil 10 perces gomb méretezés (érintésbarát touch target) */
.btn-ten-chip-mobile {
    background: #FFFDF9;
    border: 1.5px dashed var(--border-sand);
    color: var(--espresso);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    min-height: 44px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    flex: 1 1 auto;
}

.btn-ten-chip-mobile:hover, .btn-ten-chip-mobile:focus {
    background: var(--peach-light);
    border-color: var(--terracotta);
    color: var(--terracotta-dark);
}

.btn-ten-chip-mobile:active {
    background: var(--terracotta);
    color: #FFFFFF;
}

/* Mobil Napi Órasor Kártya */
.mobile-hour-card {
    background: #FFFDF9;
    border: 1.5px solid var(--border-sand);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.mobile-hour-label {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--espresso);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mini idősáv kártya a naptárrácsban */
.slot-grid-mini-card {
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 11.5px;
    margin-bottom: 6px;
    box-shadow: 0 2px 6px rgba(51, 41, 36, 0.05);
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.slot-grid-mini-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(51, 41, 36, 0.1);
}

.slot-grid-mini-card.open {
    background: var(--matcha-bg);
    border: 1.5px solid var(--matcha-border);
    color: var(--matcha-text);
}

.slot-grid-mini-card.booked {
    background: var(--espresso);
    border: 1.5px solid var(--espresso);
    color: #FFFFFF;
}

.slot-grid-mini-card.pending {
    background: #FFF5F2;
    border: 1.5px solid var(--terracotta);
    color: var(--terracotta-dark);
}

.slot-grid-mini-card.completed {
    background: #E8F1EC;
    border: 1.5px solid #A4C2AE;
    color: #2F593E;
}

.slot-grid-mini-card.noshow {
    background: #F3EFEA;
    border: 1.5px solid #D6CBC4;
    color: var(--espresso);
    opacity: 0.85;
}

/* 7 Napos Asztali Heti Naptárrács */
.week-grid-container {
    overflow-x: auto;
    border: 1.5px solid var(--border-sand);
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: var(--card-shadow);
}

.week-grid-table {
    width: 100%;
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
}

.week-grid-table th {
    background: var(--bg-sand);
    border-bottom: 2px solid var(--border-sand);
    border-right: 1px solid var(--border-sand);
    padding: 10px 8px;
    text-align: center;
    vertical-align: middle;
}

.week-grid-table th:last-child {
    border-right: none;
}

.week-grid-table th.today-col {
    background: #FFF0EB;
    border-bottom: 2px solid var(--terracotta);
}

.week-grid-table td {
    border-bottom: 1px solid var(--border-sand-subtle);
    border-right: 1px solid var(--border-sand-subtle);
    padding: 6px;
    vertical-align: top;
    min-height: 80px;
    position: relative;
}

.week-grid-table td:last-child {
    border-right: none;
}

.week-grid-table td.time-col {
    width: 65px;
    background: var(--bg-sand-light);
    border-right: 1.5px solid var(--border-sand);
    text-align: center;
    font-weight: 800;
    font-size: 13px;
    color: var(--coffee-muted);
    vertical-align: middle;
}

.week-grid-table tr:hover td:not(.time-col) {
    background-color: rgba(250, 246, 240, 0.4);
}

/* Helyszín Kapszulák (Gyakori/korábbi helyszínek gyorsbeillesztéséhez) */
.badge-capsule {
    background-color: var(--bg-sand);
    border: 1px solid var(--border-sand);
    color: var(--espresso);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.badge-capsule:hover {
    background-color: var(--terracotta);
    border-color: var(--terracotta);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(200, 109, 85, 0.25);
}

.badge-capsule:active {
    transform: translateY(0);
}

/* Színkód címke választó (Color Swatches) */
.color-swatch-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.color-swatch-item {
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.color-swatch-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.color-swatch-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.color-swatch-circle.empty {
    background: #EAE3DC;
    color: #7A6E65;
    font-size: 11px;
    font-weight: 700;
}

.color-swatch-item:hover .color-swatch-circle {
    transform: scale(1.15);
}

.color-swatch-item input:checked + .color-swatch-circle {
    transform: scale(1.18);
    box-shadow: 0 0 0 2.5px var(--espresso), 0 3px 6px rgba(0,0,0,0.25);
}

/* Mobil Heti Áttekintő Kártyák és Chipek */
.mobile-week-day-card {
    background: #FFFDF9;
    border: 1.5px solid var(--border-sand);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(51, 41, 36, 0.03);
    transition: all 0.15s ease;
}

.mobile-week-day-card.today {
    border-color: var(--terracotta);
    background: #FFF9F7;
}

.mobile-week-slot-chip {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 6px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.mobile-week-slot-chip:last-child {
    margin-bottom: 0;
}

.mobile-week-slot-chip:hover, .mobile-week-slot-chip:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.mobile-week-slot-chip.open {
    background: var(--matcha-bg);
    border: 1.5px solid var(--matcha-border);
    color: var(--matcha-text);
}

.mobile-week-slot-chip.pending {
    background: #FFF0EB;
    border: 1.5px solid var(--terracotta);
    color: var(--terracotta-dark);
}

.mobile-week-slot-chip.booked {
    background: var(--espresso);
    border: 1.5px solid var(--espresso);
    color: #FFFFFF;
}

.mobile-week-slot-chip.completed {
    background: #E8F1EC;
    border: 1.5px solid #A4C2AE;
    color: #2F593E;
}

/* Naptárrács és mobil sávok törlés / levétel ikonjai */
.btn-slot-delete-mini {
    background: transparent;
    border: none;
    color: inherit;
    opacity: 0.65;
    font-size: 11.5px;
    line-height: 1;
    padding: 1px 4px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-slot-delete-mini:hover {
    opacity: 1;
    background: rgba(200, 109, 85, 0.25);
    color: #C86D55 !important;
    transform: scale(1.2);
}

.mobile-slot-row {
    border-radius: 12px;
    padding: 9px 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(51, 41, 36, 0.05);
}

.mobile-slot-row:hover {
    box-shadow: 0 3px 8px rgba(51, 41, 36, 0.1);
}

.mobile-slot-delete-btn {
    background: transparent;
    border: none;
    color: inherit;
    opacity: 0.75;
    font-size: 16px;
    padding: 4px 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1;
}

.mobile-slot-delete-btn:hover {
    opacity: 1;
    background: rgba(200, 109, 85, 0.25);
    transform: scale(1.15);
}



