/**
 * vig1-massage.css – [vig1_masszazs_foglalo] felület (2026-10-06).
 * A közös megjelenést a teremfoglaló CSS-ek adják (#vig1-fm-app inline CSS,
 * vig1-calendar*.css, vig1-auth-popup.css, vig1-profile-popup.css); itt csak a
 * masszázs-specifikus kiegészítések vannak.
 */

/* Auth popup overlay – a teremfoglaló popup (#vig1-auth-popup-overlay)
   minden oldalon létrejön, ezért a masszázs popup saját ID-t kap. */
#vig1-mauth-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10300;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.vig1-mauth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 14px;
    font-size: 14px;
    color: #1f2937;
    cursor: pointer;
    user-select: none;
}

.vig1-mauth-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #2563eb;
}

.vig1-mauth-hint {
    margin: -6px 0 12px;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.vig1-mauth-optional {
    font-weight: 400;
    color: #6b7280;
}

/* Szerepkör jelölés a fejlécben */
.vig1-massage-role-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    vertical-align: middle;
    background: #e0f2fe;
    color: #075985;
}

.vig1-massage-role-badge.is-therapist {
    background: #dcfce7;
    color: #166534;
}

.vig1-massage-role-badge:empty {
    display: none;
}

/* Tájékoztató (üres helyszín- / teremlista, válassz termet) */
#vig1-fm-app .vig1-massage-notice {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
}

/* Csak olvasható naptár: nincs kijelölés-kurzor */
.vig1-massage-app #vig1-calendar .fc-timegrid-slot,
.vig1-massage-app #vig1-calendar .fc-timegrid-col {
    cursor: default;
}

/* Profil keret – üres menü állapot */
.vig1-massage-profile-empty {
    padding: 8px 4px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.vig1-massage-profile-role {
    margin-bottom: 10px;
    font-weight: 600;
    color: #1f2937;
}

/* Mobil profil popup: a menü a tartalom fölé nyíló sáv (nem szűkíti a
   tartalmat), összecsukva 34 px széles. Csak a masszázs profil popupra
   (.vig1-massage-profile), a teremfoglaló profil popup változatlan. */
@media (max-width: 600px) {
    #vig1-profile-overlay.vig1-massage-profile {
        padding: 8px;
    }
    .vig1-massage-profile #vig1-profile-popup {
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
    }
    .vig1-massage-profile #vig1-profile-popup-header {
        padding: 10px 12px 10px 14px;
    }
    .vig1-massage-profile #vig1-profile-popup-body {
        position: relative;
    }
    .vig1-massage-profile #vig1-profile-popup-nav {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 2;
        width: min(220px, 80%);
        box-shadow: 6px 0 18px rgba(15, 23, 42, 0.14);
    }
    .vig1-massage-profile #vig1-profile-popup-nav.collapsed {
        width: 34px;
        box-shadow: none;
    }
    .vig1-massage-profile .vig1-profile-nav-item {
        font-size: 13.5px;
        padding: 12px 16px;
        white-space: normal;
    }
    .vig1-massage-profile #vig1-profile-popup-content {
        margin-left: 34px;
        padding: 14px 12px;
    }
}

/* ════════════════════════════════════════════════════════════════════════
   Masszőr profil menüpontok (vig1-massage-profile-popup.js): Profil adatok,
   Heti nyitvatartás, Nyitvatartás módosítások. A gombok és mezők a profil
   popup osztályait használják (vig1-profile-*), itt csak az elrendezés van.
   Lásd vig1fm: dokumentacio/update/2026-10-12/01_wp_masszor_profil_es_nyitvatartas.md.
   ════════════════════════════════════════════════════════════════════════ */
.vig1-massage-profile .vig1-mtp-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px 2px;
    margin-bottom: 14px;
    background: #fff;
}

.vig1-massage-profile .vig1-mtp-card-muted {
    background: #f9fafb;
    padding-bottom: 12px;
}

.vig1-massage-profile .vig1-mtp-card-title,
.vig1-massage-profile .vig1-mtp-list-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #111827;
    text-transform: none;
    letter-spacing: 0;
}

.vig1-massage-profile .vig1-mtp-list-title {
    margin: 18px 0 10px;
}

.vig1-massage-profile .vig1-mtp-hint {
    margin: 5px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #6b7280;
}

.vig1-massage-profile .vig1-mtp-card-hint {
    margin: -4px 0 12px;
}

.vig1-massage-profile .vig1-mtp-section-hint {
    margin: 0 0 12px;
}

.vig1-massage-profile .vig1-mtp-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
}

.vig1-massage-profile .vig1-mtp-span2 {
    grid-column: 1 / -1;
    margin: -6px 0 12px;
}

.vig1-massage-profile .vig1-mtp-textarea {
    display: block;
    min-height: 84px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.45;
}

.vig1-massage-profile .vig1-mtp-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
}

.vig1-massage-profile .vig1-mtp-lead {
    width: 110px;
}

.vig1-massage-profile input.vig1-mtp-color {
    width: 46px;
    height: 36px;
    padding: 2px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
}

.vig1-massage-profile .vig1-mtp-color-hex {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    color: #4b5563;
}

/* Helyszín választó */
.vig1-massage-profile .vig1-mtp-place {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 14px;
    color: #374151;
}

.vig1-massage-profile .vig1-mtp-place-label {
    font-size: 12.5px;
    font-weight: 600;
    margin: 0;
}

.vig1-massage-profile .vig1-mtp-place-select {
    width: auto;
    max-width: 100%;
    flex: 1 1 180px;
}

.vig1-massage-profile .vig1-mtp-notice {
    margin-bottom: 12px;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid #fcd34d;
    background: #fffbeb;
    color: #92400e;
    font-size: 13px;
}

/* Időpont mezők: keskeny kijelzőn is összehúzhatók. */
.vig1-massage-profile .vig1-mtp-time {
    min-width: 0;
    padding: 7px 8px;
    font-variant-numeric: tabular-nums;
}

/* iOS Safari: a dátum / idő mező üresen se essen össze, és ne lógjon ki a rácsból. */
.vig1-massage-profile input[type="date"].vig1-profile-input,
.vig1-massage-profile input[type="time"].vig1-profile-input {
    display: block;
    min-width: 0;
    min-height: 36px;
}

/* Heti nyitvatartás: egy nap = egy sor (név | tól – ig | törlés) */
.vig1-massage-profile .vig1-mtp-week {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vig1-massage-profile .vig1-mtp-day {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto minmax(0, 1fr) 32px;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #f8fbff;
    transition: background 0.15s, border-color 0.15s;
}

.vig1-massage-profile .vig1-mtp-day.is-off {
    border-color: #e5e7eb;
    background: #fff;
}

.vig1-massage-profile .vig1-mtp-day.is-invalid {
    border-color: #fca5a5;
    background: #fef2f2;
}

.vig1-massage-profile .vig1-mtp-day-name {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.vig1-massage-profile .vig1-mtp-day-state {
    display: none;
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
}

.vig1-massage-profile .vig1-mtp-day.is-off .vig1-mtp-day-state {
    display: block;
}

.vig1-massage-profile .vig1-mtp-dash {
    color: #9ca3af;
}

/* A téma gomb-stílusait felülírjuk (mint a Számláim ikon gomboknál). */
.vig1-massage-profile .vig1-mtp-clear {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #9ca3af !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-transform: none !important;
    cursor: pointer;
}

.vig1-massage-profile .vig1-mtp-clear:hover,
.vig1-massage-profile .vig1-mtp-clear:focus-visible {
    border-color: #fecaca !important;
    background: #fef2f2 !important;
    color: #dc2626 !important;
    outline: none;
}

/* Heti összegzés a módosítások menüpontban */
.vig1-massage-profile .vig1-mtp-week-summary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 2px 18px;
    font-size: 12.5px;
    color: #374151;
}

.vig1-massage-profile .vig1-mtp-week-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 3px 0;
    border-bottom: 1px dashed #e5e7eb;
    font-variant-numeric: tabular-nums;
}

.vig1-massage-profile .vig1-mtp-week-summary-row.is-off span:last-child {
    color: #9ca3af;
}

/* Új / szerkesztett módosítás */
.vig1-massage-profile .vig1-mtp-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 10px;
}

.vig1-massage-profile .vig1-mtp-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.vig1-massage-profile .vig1-mtp-seg {
    display: inline-flex;
    gap: 3px;
    padding: 3px;
    border-radius: 10px;
    background: #f3f4f6;
}

.vig1-massage-profile .vig1-mtp-seg-btn {
    margin: 0 !important;
    padding: 6px 14px !important;
    min-height: 0 !important;
    border: none !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #6b7280 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.vig1-massage-profile .vig1-mtp-seg-btn.is-active {
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
    font-weight: 700 !important;
}

.vig1-massage-profile .vig1-mtp-seg-btn.is-open.is-active { color: #16a34a !important; }
.vig1-massage-profile .vig1-mtp-seg-btn.is-closed.is-active { color: #dc2626 !important; }

/* Módosítások listája: kártyák (mobilon sincs táblázat / vízszintes görgetés) */
.vig1-massage-profile .vig1-mtp-item {
    margin-bottom: 8px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #16a34a;
    border-radius: 8px;
    background: #fff;
}

.vig1-massage-profile .vig1-mtp-item.is-closed {
    border-left-color: #dc2626;
}

.vig1-massage-profile .vig1-mtp-item.is-past {
    background: #f9fafb;
    opacity: 0.8;
}

.vig1-massage-profile .vig1-mtp-item.is-editing {
    border-left-color: #2563eb;
    background: #f8fbff;
    padding-bottom: 0;
}

.vig1-massage-profile .vig1-mtp-item.is-editing .vig1-mtp-item-actions {
    margin-top: 0;
}

.vig1-massage-profile .vig1-mtp-item-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 8px;
}

.vig1-massage-profile .vig1-mtp-item-date {
    font-weight: 700;
    color: #111827;
    font-variant-numeric: tabular-nums;
}

.vig1-massage-profile .vig1-mtp-item-weekday {
    margin-left: 4px;
    font-weight: 500;
    color: #6b7280;
}

.vig1-massage-profile .vig1-mtp-badge-open {
    background: #dcfce7;
    color: #15803d;
}

.vig1-massage-profile .vig1-mtp-badge-closed {
    background: #fee2e2;
    color: #b91c1c;
}

.vig1-massage-profile .vig1-mtp-item-time {
    margin-top: 4px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    font-variant-numeric: tabular-nums;
}

.vig1-massage-profile .vig1-mtp-item-final {
    margin-top: 2px;
    font-size: 12px;
    color: #6b7280;
}

.vig1-massage-profile .vig1-mtp-item-final strong {
    color: #374151;
    font-weight: 600;
}

.vig1-massage-profile .vig1-mtp-item-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.vig1-massage-profile .vig1-mtp-btn-sm {
    padding: 5px 12px;
    font-size: 12.5px;
}

.vig1-massage-profile .vig1-mtp-btn-danger-ghost {
    color: #dc2626;
    border-color: #fca5a5;
}

.vig1-massage-profile .vig1-mtp-btn-danger-ghost:hover:not(:disabled) {
    background: #fef2f2;
}

.vig1-massage-profile .vig1-mtp-confirm-text {
    flex-basis: 100%;
    font-size: 12.5px;
    font-weight: 600;
    color: #b91c1c;
}

.vig1-massage-profile .vig1-mtp-empty {
    margin: 0 0 8px;
}

.vig1-massage-profile .vig1-mtp-past {
    margin-top: 8px;
}

@media (max-width: 600px) {
    .vig1-massage-profile .vig1-mtp-card {
        padding: 12px 12px 2px;
    }
    .vig1-massage-profile .vig1-mtp-grid2 {
        grid-template-columns: minmax(0, 1fr);
    }
    .vig1-massage-profile .vig1-mtp-span2 {
        margin-top: -8px;
    }
    /* Nap neve külön sorban, alatta tól – ig és a törlés gomb. */
    .vig1-massage-profile .vig1-mtp-day {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 32px;
        gap: 6px;
        padding: 8px;
    }
    .vig1-massage-profile .vig1-mtp-day-name {
        grid-column: 1 / -1;
        display: flex;
        align-items: baseline;
        gap: 8px;
    }
    .vig1-massage-profile .vig1-mtp-day.is-off .vig1-mtp-day-state {
        display: inline;
    }
    /* Dátum teljes szélességben, alatta tól / ig két oszlopban. */
    .vig1-massage-profile .vig1-mtp-form-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .vig1-massage-profile .vig1-mtp-form-date {
        grid-column: 1 / -1;
    }
    .vig1-massage-profile .vig1-mtp-week-summary {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Nagyon keskeny kijelző (pl. 320 px): az időpont mezők kisebb belső térrel,
   hogy a "09:00" ne vágódjon le. */
@media (max-width: 360px) {
    .vig1-massage-profile .vig1-mtp-day {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 26px;
        gap: 4px;
        padding: 8px 6px;
    }
    .vig1-massage-profile .vig1-mtp-time {
        padding: 6px 4px;
        font-size: 13px;
    }
    .vig1-massage-profile .vig1-mtp-time::-webkit-calendar-picker-indicator {
        margin-left: 0;
        padding: 0;
    }
    .vig1-massage-profile .vig1-mtp-clear {
        width: 26px !important;
    }
}

/* ════════════════════════════════════════════════════════════════════════
   Új masszázs foglalás popup (vig1-massage-booking.js) – a foglalómotor
   "Foglalás" popupjának színeivel. A belépő popup (10300) e fölött nyílik,
   a "Módosítom" ablak (10400) is.
   Lásd vig1fm: dokumentacio/update/2026-10-07/06_wp_masszazs_vendeg_foglalas.md.
   ════════════════════════════════════════════════════════════════════════ */
.vig1-mbook-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10250;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.vig1-mbook-modal {
    background: #fff;
    border-radius: 14px;
    width: min(720px, 100%);
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
    font-family: inherit;
    color: #1f2937;
}

.vig1-mbook-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.vig1-mbook-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #235787;
}

.vig1-mbook-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
    padding: 0 4px;
}

.vig1-mbook-close:hover { color: #374151; }

.vig1-mbook-body {
    padding: 18px 24px;
    overflow-y: auto;
}

.vig1-mbook-slot {
    background: #eff6ff;
    border-left: 4px solid #235787;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vig1-mbook-slot p {
    margin: 0;
    font-weight: 600;
    color: #1e3a8a;
}

.vig1-mbook-login {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 14px;
    text-align: center;
}

.vig1-mbook-login p {
    margin: 0 0 10px;
    font-weight: 600;
    color: #1e3a8a;
}

.vig1-mbook-login-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.vig1-mbook-notice {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 14px;
}

.vig1-mbook-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.vig1-mbook-span2 { grid-column: 1 / -1; }

.vig1-mbook-field label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.vig1-mbook-req { color: #dc2626; }

.vig1-mbook-field input,
.vig1-mbook-field select,
.vig1-mbook-field textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: inherit;
    background: #fff;
    color: #1f2937;
}

.vig1-mbook-field input[readonly] {
    background: #f3f4f6;
    color: #4b5563;
}

.vig1-mbook-field select:disabled,
.vig1-mbook-field input:disabled,
.vig1-mbook-field textarea:disabled {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

.vig1-mbook-hint {
    margin: 4px 0 0;
    font-size: 12px;
    color: #6b7280;
}

.vig1-mbook-errors {
    margin-top: 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
}

.vig1-mbook-errors ul { margin: 0; padding-left: 18px; }

.vig1-mbook-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 24px;
    border-top: 1px solid #e5e7eb;
}

.vig1-mbook-btn-primary,
.vig1-mbook-btn-secondary {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.vig1-mbook-btn-primary {
    border: none;
    background: #235787;
    color: #fff;
}

.vig1-mbook-btn-primary:hover:not(:disabled) { background: #1b4569; }

.vig1-mbook-btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.vig1-mbook-btn-secondary {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #235787;
}

@media (max-width: 600px) {
    .vig1-mbook-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════
   Masszőr: saját foglalás részletei, elfogadása és elutasítása
   (vig1-massage-accept.js) - az "Új masszázs foglalás" popup stílusával.
   Lásd vig1fm: dokumentacio/update/2026-10-12/03_wp_masszor_elfogadas_elutasitas.md.
   ════════════════════════════════════════════════════════════════════════ */
.vig1-massage-app #vig1-calendar .fc-event.vig1-massage-clickable,
.vig1-massage-app #vig1-calendar .fc-event.vig1-massage-clickable * {
    cursor: pointer;
}

.vig1-mbook-modal.vig1-macc-narrow {
    width: min(480px, 100%);
}

.vig1-macc-overlay .vig1-mbook-footer {
    flex-wrap: wrap;
}

.vig1-macc-slot {
    align-items: center;
}

.vig1-macc-slot-sub {
    font-weight: 500;
    color: #475569;
    font-size: 13px;
}

.vig1-macc-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.vig1-macc-status.is-pending { background: #dbeafe; color: #1d4ed8; }
.vig1-macc-status.is-created { background: #dcfce7; color: #15803d; }
.vig1-macc-status.is-cancelled { background: #fee2e2; color: #b91c1c; }

.vig1-macc-subtitle {
    margin: 16px 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vig1-macc-rows {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.vig1-macc-row {
    display: grid;
    grid-template-columns: minmax(120px, 34%) minmax(0, 1fr);
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.vig1-macc-row:last-child { border-bottom: none; }

.vig1-macc-label {
    color: #6b7280;
    font-weight: 600;
}

.vig1-macc-value {
    color: #111827;
    overflow-wrap: anywhere;
}

.vig1-macc-value a {
    color: #1d4ed8;
    text-decoration: underline;
}

.vig1-macc-info {
    padding: 10px 12px;
    border-left: 4px solid #235787;
    border-radius: 6px;
    background: #f8fafc;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* Elfogadás (zöld) / Elutasítás (piros) - a téma gombstílusait felülírva. */
.vig1-macc-btn-accept,
.vig1-macc-btn-reject {
    padding: 10px 20px !important;
    border: none !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    box-shadow: none !important;
    cursor: pointer;
    font-family: inherit;
}

.vig1-macc-btn-accept { background: #16a34a !important; }
.vig1-macc-btn-accept:hover:not(:disabled) { background: #15803d !important; }
.vig1-macc-btn-reject { background: #dc2626 !important; }
.vig1-macc-btn-reject:hover:not(:disabled) { background: #b91c1c !important; }
.vig1-macc-btn-accept:disabled,
.vig1-macc-btn-reject:disabled { opacity: 0.5; cursor: not-allowed; }

.vig1-macc-reject-text {
    margin: 0 0 12px;
    color: #374151;
}

.vig1-macc-banner {
    margin: -4px 0 12px;
    text-align: center;
}

.vig1-macc-banner img {
    max-width: 100%;
    height: auto;
    max-height: 34px;
}

.vig1-macc-check {
    display: flex !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.vig1-mbook-field .vig1-macc-check input {
    width: auto;
    margin: 0;
}

.vig1-macc-balance {
    margin: -6px 0 0;
    font-size: 13px;
    color: #1e40af;
}

.vig1-macc-balance:empty { display: none; }

.vig1-macc-price {
    padding: 10px 14px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 15px;
}

.vig1-macc-field-error {
    margin-top: 4px;
    font-size: 12px;
    color: #b91c1c;
}

.vig1-macc-field-error:empty { display: none; }

/* Összesítő: külön háttér + középre igazított modal (a Vig1InvoiceModal a
   "Vissza" gombnál display:block-kal állítja vissza mindkettőt). */
.vig1-macc-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10250;
    background: rgba(0, 0, 0, 0.55);
}

.vig1-mbook-modal.vig1-macc-summary {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10251;
    transform: translate(-50%, -50%);
    width: min(640px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}

.vig1-macc-summary-grid {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.vig1-macc-summary-item {
    display: grid;
    grid-template-columns: minmax(120px, 40%) minmax(0, 1fr);
    gap: 10px;
    padding: 7px 12px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.vig1-macc-summary-item:last-child { border-bottom: none; }
.vig1-macc-summary-item strong { color: #374151; font-weight: 600; }
.vig1-macc-summary-item span { color: #111827; overflow-wrap: anywhere; }

.vig1-macc-summary-total {
    margin: 12px 0 6px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 16px;
    font-weight: 700;
    text-align: right;
}

.vig1-macc-msg {
    margin: 6px 0;
    font-size: 14px;
}

.vig1-macc-msg:empty { display: none; }
.vig1-macc-msg.is-error { color: #b91c1c; }
.vig1-macc-msg.is-success { color: #15803d; }

.vig1-macc-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 10px 0 2px;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
}

.vig1-macc-consent input {
    margin-top: 3px;
    flex-shrink: 0;
}

.vig1-macc-consent a {
    color: #1d4ed8;
    text-decoration: underline;
}

.vig1-macc-consent-error {
    font-size: 12px;
    color: #b91c1c;
}

.vig1-macc-consent-error:empty { display: none; }

.vig1-macc-summary .vig1-mbook-footer {
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .vig1-macc-overlay .vig1-mbook-header,
    .vig1-macc-summary .vig1-mbook-header,
    .vig1-macc-overlay .vig1-mbook-body,
    .vig1-macc-summary .vig1-mbook-body,
    .vig1-macc-overlay .vig1-mbook-footer,
    .vig1-macc-summary .vig1-mbook-footer {
        padding-left: 14px;
        padding-right: 14px;
    }
    .vig1-macc-row,
    .vig1-macc-summary-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }
    .vig1-macc-overlay .vig1-mbook-footer > button,
    .vig1-macc-summary .vig1-mbook-footer > button {
        flex: 1 1 auto;
    }
}

/* ════════════════════════════════════════════════════════════════════════
   Vendég: "Saját foglalás módosítása" (vig1-massage-guest-edit.js) - a
   részletek popup stílusával; a Törlés gomb balra kerül.
   Lásd vig1fm: dokumentacio/update/2026-10-12/04_wp_masszazs_vendeg_modositas_es_szuro.md.
   ════════════════════════════════════════════════════════════════════════ */
.vig1-macc-overlay .vig1-mbook-footer > .vig1-mged-delete {
    margin-right: auto;
}

#vig1-mged-edit .vig1-macc-rows + .vig1-mbook-hint,
#vig1-mged-edit .vig1-macc-rows + .vig1-mbook-notice {
    margin: 12px 0 14px;
}

#vig1-mged-edit .vig1-mbook-field input:disabled,
#vig1-mged-edit .vig1-mbook-field textarea:disabled {
    background: #f3f4f6;
    color: #4b5563;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .vig1-macc-overlay .vig1-mbook-footer > .vig1-mged-delete {
        flex: 1 1 100%;
        margin-right: 0;
        order: 3;
    }
}

/* ════════════════════════════════════════════════════════════════════════
   Masszőr "Masszázs" menüpont: típusok + termek jelölőnégyzet-listája
   (vig1-massage-profile-popup.js). Lásd vig1fm: dokumentacio/update/2026-10-13/08_wp_masszor_masszazs_tipusok_es_termek.md.
   ════════════════════════════════════════════════════════════════════════ */
.vig1-massage-profile .vig1-mtp-card-pad {
    padding-bottom: 14px;
}

.vig1-massage-profile .vig1-mtp-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
}

.vig1-massage-profile .vig1-mtp-check {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.vig1-massage-profile .vig1-mtp-check:hover {
    border-color: #c7d2fe;
}

.vig1-massage-profile .vig1-mtp-check:has(input:checked) {
    border-color: #a5b4fc;
    background: #eef2ff;
}

.vig1-massage-profile .vig1-mtp-check input[type="checkbox"] {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #4f46e5;
    cursor: pointer;
}

.vig1-massage-profile .vig1-mtp-check-label {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.vig1-massage-profile .vig1-mtp-check-sub {
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
}

/* Profil adatok: "Publikus profil" jelölő a Publikus adatok kártya alján (2026-10-17). */
.vig1-massage-profile .vig1-mtp-public-profile {
    margin-top: 12px;
}

.vig1-massage-profile .vig1-mtp-public-profile .vig1-mtp-check {
    align-items: flex-start;
}

.vig1-massage-profile .vig1-mtp-public-profile .vig1-mtp-check input[type="checkbox"] {
    margin-top: 2px;
}

.vig1-massage-profile .vig1-mtp-public-profile .vig1-mtp-check-sub {
    display: block;
    margin-top: 2px;
}

.vig1-massage-profile .vig1-mtp-room-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 7px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, .15);
    vertical-align: -1px;
}

.vig1-massage-profile .vig1-mtp-room-place + .vig1-mtp-room-place {
    margin-top: 12px;
}

.vig1-massage-profile .vig1-mtp-room-place-name {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #6b7280;
}

@media (max-width: 600px) {
    .vig1-massage-profile .vig1-mtp-checklist {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ── Profil adatok: Profilfotó kártya + kivágó ablak (Cropper.js, 2026-10-17) ── */
.vig1-massage-profile .vig1-mtp-photo-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.vig1-massage-profile .vig1-mtp-photo-img { width: 120px; height: 120px; border-radius: 12px; object-fit: cover; border: 1px solid #e5e7eb; background: #eef2ff; flex: 0 0 auto; }
.vig1-massage-profile .vig1-mtp-photo-actions { flex: 1 1 220px; min-width: 0; }
.vig1-massage-profile .vig1-mtp-photo-upload { position: relative; overflow: hidden; cursor: pointer; }
.vig1-massage-profile .vig1-mtp-photo-file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.vig1-mtp-crop-overlay {
    position: fixed; inset: 0; z-index: 10500;
    display: flex; align-items: center; justify-content: center;
    padding: 16px; background: rgba(0, 0, 0, .6);
}
.vig1-mtp-crop-box {
    width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto;
    padding: 16px; border-radius: 12px; background: #fff; color: #111827;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}
.vig1-mtp-crop-box .vig1-mtp-card-title { margin: 0 0 10px; font-size: 16px; }
.vig1-mtp-crop-stage { height: min(60vh, 420px); background: #f3f4f6; overflow: hidden; }
.vig1-mtp-crop-img { display: block; max-width: 100%; }
.vig1-mtp-crop-box .vig1-mtp-hint { margin: 8px 0 12px; font-size: 13px; color: #6b7280; }
.vig1-mtp-crop-box .vig1-profile-btn-actions { display: flex; justify-content: flex-end; gap: 8px; }
html[data-vig1-theme="dark"] .vig1-mtp-crop-box { background: var(--vig1-d-surface, #111827); color: var(--vig1-d-text, #e2e8f0); }
html[data-vig1-theme="dark"] .vig1-mtp-crop-stage { background: var(--vig1-d-surface-2, #1f2937); }
html[data-vig1-theme="dark"] .vig1-mtp-crop-box .vig1-mtp-hint { color: var(--vig1-d-text-soft, #94a3b8); }
html[data-vig1-theme="dark"] .vig1-massage-profile .vig1-mtp-photo-img { border-color: var(--vig1-d-border, #334155); }

/* ── Masszázs menüpont: típusonkénti ár / információ mező (2026-10-18) ── */
.vig1-massage-profile .vig1-mtp-type-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vig1-massage-profile .vig1-mtp-type-item .vig1-mtp-price { width: 100%; box-sizing: border-box; font-size: 14px; }
