/* ============================================================
   FRINGE VENUE MANAGER — Portal & Auth CSS  v1.4
   ============================================================ */
:root {
    /* ── Core brand colours ── */
    --fvm-primary:        #6b21a8;
    --fvm-primary-dark:   #4c1d95;
    --fvm-secondary:      #f59e0b;
    --fvm-danger:         #ef4444;
    --fvm-danger-dark:    #b91c1c;
    --fvm-success:        #10b981;
    /* ── Surfaces & text ── */
    --fvm-bg:             #f9fafb;
    --fvm-card:           #ffffff;
    --fvm-border:         #e5e7eb;
    --fvm-text:           #111827;
    --fvm-muted:          #6b7280;
    --fvm-radius:         10px;
    /* ── Header ── */
    --fvm-header-text:    #ffffff;
    --fvm-header-shadow:  0 2px 8px rgba(0,0,0,.2);
    --fvm-tab-text:       rgba(255,255,255,.75);
    --fvm-tab-text-active:#ffffff;
    /* ── Logout button ── */
    --fvm-logout-bg:      rgba(255,255,255,.15);
    --fvm-logout-border:  rgba(255,255,255,.4);
    --fvm-logout-text:    #ffffff;
    /* ── Festival bar ── */
    --fvm-fest-text:      #1f2937;
    /* ── Buttons ── */
    --fvm-btn-view-bg:    #ffffff;
    --fvm-btn-view-text:  #6b7280;
    --fvm-btn-view-border:#e5e7eb;
    /* ── Timeline schedule ── */
    --fvm-sched-row-bg:   transparent;
    --fvm-sched-accent:   #6b21a8;
    --fvm-sched-day-name: #6b21a8;
    --fvm-sched-day-date: #111827;
    --fvm-sched-count-bg: #f9fafb;
    --fvm-sched-count-text:#6b7280;
    --fvm-sched-divider:  #e5e7eb;
    --fvm-sched-hover-bg: #f5f3ff;
    --fvm-sched-time:     #111827;
    --fvm-sched-end-time: #6b7280;
    --fvm-sched-act-name: #111827;
    --fvm-sched-genre-bg: #ede9fe;
    --fvm-sched-genre-text:#6b21a8;
    --fvm-sched-contact:  #6b7280;
    --fvm-sched-link:     #6b21a8;
    --fvm-sched-thumb-sz: 46px;
    --fvm-sched-thumb-r:  6px;
    /* ── Cancel & ICS button sizes ── */
    --fvm-cancel-btn-font-size:  .78rem;
    --fvm-cancel-btn-padding:    6px 12px;
    --fvm-ics-btn-font-size:     .72rem;
    --fvm-ics-btn-padding:       5px 10px;
    /* ── Card deck ── */
    --fvm-deck-shadow-color: #e5e7eb;
    --fvm-deck-badge-bg:  #6b21a8;
    --fvm-deck-badge-text:#ffffff;
}
/* ── PORTAL SHELL ── */
.fvm-portal-wrap { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--fvm-text); background: var(--fvm-bg); min-height: 100vh; }
.fvm-portal-header { background: var(--fvm-primary); color: var(--fvm-header-text); box-shadow: var(--fvm-header-shadow); }
.fvm-portal-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.fvm-portal-header h1 { margin: 0; font-size: 1.4rem; padding: 16px 0; color: var(--fvm-header-text); word-break: break-word; hyphens: auto; line-height: 1.3; }
.fvm-portal-nav { display: flex; gap: 4px; align-items: center; justify-content: center; }
.fvm-tab-link { color: var(--fvm-tab-text); text-decoration: none; padding: 20px 16px; display: block; font-size: .9rem; border-bottom: var(--fvm-tab-underline-width, 5px) solid transparent; transition: all .2s; }
.fvm-tab-link:hover, .fvm-tab-link.active { color: var(--fvm-tab-text-active); border-bottom-color: var(--fvm-tab-underline-color, var(--fvm-secondary)); }
.fvm-logout { display: inline-block; color: var(--fvm-logout-text) !important; text-decoration: none; padding: 8px 18px; background: var(--fvm-logout-bg); border: 1px solid var(--fvm-logout-border); border-radius: 6px; font-size: .85rem; font-weight: 600; margin-left: auto; white-space: nowrap; transition: background .2s, border-color .2s; }
.fvm-logout:hover { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.7); color: var(--fvm-logout-text) !important; }
.fvm-festival-bar { background: var(--fvm-secondary); color: var(--fvm-fest-text); text-align: center; padding: 8px; font-size: .9rem; }
.fvm-tab-content { display: none; max-width: 1200px; margin: 0 auto; padding: 30px 20px; }
.fvm-tab-content.active { display: block; }
.fvm-tab-content h2 { margin: 0 0 20px; font-size: 1.5rem; }
/* ── CARDS ── */
/* ── My Schedule — date-grouped timeline (all colours via CSS vars from Design settings) */
.fvm-schedule { display: flex; flex-direction: column; gap: 0; }

.fvm-schedule-day { margin-bottom: 28px; }

.fvm-schedule-day-header {
    display: flex; align-items: baseline; gap: 10px;
    padding: 0 0 10px;
    border-bottom: 2px solid var(--fvm-sched-accent, var(--fvm-primary));
    margin-bottom: 4px;
}
.fvm-schedule-day-name {
    font-size: 1.05rem; font-weight: 800;
    color: var(--fvm-sched-day-name, var(--fvm-primary));
    text-transform: uppercase; letter-spacing: .04em;
}
.fvm-schedule-day-date {
    font-size: .88rem; color: var(--fvm-sched-day-date, var(--fvm-text)); font-weight: 500;
}
.fvm-schedule-day-count {
    margin-left: auto; font-size: .75rem; font-weight: 600;
    color: var(--fvm-sched-count-text, var(--fvm-muted));
    background: var(--fvm-sched-count-bg, var(--fvm-bg));
    border: 1px solid var(--fvm-border); border-radius: 20px; padding: 2px 10px;
}

.fvm-schedule-rows { display: flex; flex-direction: column; gap: 0; }

.fvm-schedule-row {
    display: flex; align-items: center; gap: 0;
    padding: 12px 0;
    background: var(--fvm-sched-row-bg, transparent);
    border-bottom: 1px solid var(--fvm-sched-divider, var(--fvm-border));
    transition: background .1s;
}
.fvm-schedule-row:last-child { border-bottom: none; }
.fvm-schedule-row:hover {
    background: var(--fvm-sched-hover-bg, var(--fvm-bg));
    border-radius: 6px; padding-left: 8px; padding-right: 8px; margin: 0 -8px;
}

.fvm-schedule-time {
    flex-shrink: 0; width: 72px; display: flex; flex-direction: column;
    align-items: flex-end; padding-right: 16px; gap: 2px;
}
.fvm-schedule-start {
    font-size: .9rem; font-weight: 700;
    color: var(--fvm-sched-time, var(--fvm-text)); line-height: 1;
}
.fvm-schedule-end {
    font-size: .72rem; color: var(--fvm-sched-end-time, var(--fvm-muted)); line-height: 1;
}

.fvm-schedule-thumb {
    flex-shrink: 0;
    width: var(--fvm-sched-thumb-sz, 46px);
    height: var(--fvm-sched-thumb-sz, 46px);
    border-radius: var(--fvm-sched-thumb-r, 6px);
    overflow: hidden; margin-right: 12px;
    background: var(--fvm-border);
}
.fvm-schedule-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fvm-schedule-info { flex: 1; min-width: 0; padding-right: 12px; }
.fvm-schedule-act-name {
    font-size: .95rem; font-weight: 700;
    color: var(--fvm-sched-act-name, var(--fvm-text));
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 3px;
}
.fvm-schedule-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 3px; }
.fvm-schedule-genre {
    font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    background: var(--fvm-sched-genre-bg, #ede9fe);
    color: var(--fvm-sched-genre-text, var(--fvm-primary));
    padding: 1px 7px; border-radius: 20px;
}
.fvm-schedule-detail { font-size: .75rem; color: var(--fvm-muted); font-weight: 500; }
.fvm-needs-pa { color: #b45309; background: #fef3c7; padding: 1px 7px; border-radius: 20px; font-weight: 700; }
.fvm-schedule-contact {
    font-size: .75rem; color: var(--fvm-sched-contact, var(--fvm-muted));
}
.fvm-schedule-contact a {
    color: var(--fvm-sched-link, var(--fvm-primary)); text-decoration: none; font-weight: 500;
}
.fvm-schedule-contact a:hover { text-decoration: underline; }

.fvm-schedule-actions { flex-shrink: 0; padding-left: 8px; }

@media (max-width: 560px) {
    .fvm-schedule-row { flex-wrap: wrap; gap: 8px; }
    .fvm-schedule-time { width: auto; flex-direction: row; align-items: center; gap: 4px; padding-right: 0; }
    .fvm-schedule-end::before { content: '–'; margin-right: 2px; }
    .fvm-schedule-actions { width: 100%; padding-left: 0; }
    .fvm-schedule-actions .fvm-btn { width: 100%; }
}
/* ── MY BOOKINGS CARDS ── */
.fvm-booking-card { background: var(--fvm-card); border: 1px solid var(--fvm-border); border-radius: var(--fvm-radius); padding: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.06); display: flex; flex-direction: column; }
.fvm-booking-act-name { margin: 0 0 4px; font-size: 1rem; color: var(--fvm-text); }
.fvm-booking-genre { color: var(--fvm-muted); font-size: .85rem; margin: 0 0 8px; }
.fvm-booking-meta { display: flex; flex-direction: column; gap: 2px; font-size: .85rem; color: var(--fvm-muted); margin-bottom: 8px; }
.fvm-booking-date, .fvm-booking-time { display: block; }
.fvm-booking-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.fvm-tag-confirmed { background: #d1fae5; color: #065f46; }
.fvm-booking-contact { display: flex; flex-direction: column; gap: 2px; font-size: .82rem; color: var(--fvm-muted); margin-bottom: 10px; }
.fvm-booking-contact a { color: var(--fvm-muted); text-decoration: none; }
.fvm-booking-contact a:hover { color: var(--fvm-primary); text-decoration: underline; }
.fvm-booking-actions { border-top: 1px solid var(--fvm-border); padding-top: 12px; margin-top: auto; }
.fvm-acts-filters { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.fvm-genre-select { min-width: 160px; cursor: pointer; }
.fvm-btn-clear-filters { background: transparent; color: var(--fvm-muted); border: 1px solid var(--fvm-border); font-weight: 500; padding: 10px 14px; }
.fvm-btn-clear-filters:hover { background: #f3f4f6; color: var(--fvm-text); border-color: #d1d5db; }
.fvm-acts-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 16px; }
.fvm-act-card { background: var(--fvm-card); border: 1px solid var(--fvm-border); border-radius: var(--fvm-radius); padding: 18px; cursor: pointer; transition: box-shadow .2s,border-color .2s; display: flex; flex-direction: column; }
.fvm-act-card:hover { box-shadow: 0 4px 12px rgba(107,33,168,.15); border-color: var(--fvm-primary); }
.fvm-act-card h3 { margin: 0 0 6px; font-size: 1rem; }
.fvm-act-card .fvm-act-genre { color: var(--fvm-muted); font-size: .85rem; margin-bottom: 4px; }
.fvm-act-card .fvm-act-dates { color: var(--fvm-muted); font-size: .8rem; margin: 0 0 8px; line-height: 1.4; }
.fvm-act-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.fvm-act-book-row { margin-top: auto; padding-top: 12px; display: flex; gap: 6px; }
.fvm-act-book-row .fvm-act-info-btn { flex: 0 0 auto; white-space: nowrap; }
.fvm-act-book-row .fvm-act-book-btn { flex: 1; text-align: center; }
.fvm-tag { background: #ede9fe; color: var(--fvm-primary); font-size: .75rem; padding: 2px 8px; border-radius: 12px; }
.fvm-tag-booked { background: #fef3c7; color: #92400e; }
.fvm-tag-pa { background: #fee2e2; color: #991b1b; }
.fvm-tag-multi { background: #ede9fe; color: #5b21b6; }

/* ── MODAL ── */
.fvm-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
#fvm-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); z-index: 9998; }
.fvm-modal-inner { background: var(--fvm-card); border-radius: 12px; padding: 30px; max-width: 560px; width: 90%; position: relative; z-index: 9999; box-shadow: 0 20px 60px rgba(0,0,0,.3); max-height: 90vh; overflow-y: auto; }
.fvm-modal-inner h2 { margin: 0 0 20px; }
.fvm-form-group { margin-bottom: 16px; }
.fvm-form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.fvm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fvm-act-info-box { background: #f3f0ff; border: 1px solid #ddd6fe; border-radius: 8px; padding: 14px; margin: 14px 0; font-size: .9rem; }
.fvm-act-info-box p { margin: 4px 0; }
.fvm-modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.fvm-modal .fvm-input { width: 100%; padding: 10px 14px; border: 1px solid var(--fvm-border); border-radius: 8px; font-size: .95rem; box-sizing: border-box; }
.fvm-modal .fvm-input:focus { outline: none; border-color: var(--fvm-primary); box-shadow: 0 0 0 3px rgba(107,33,168,.15); }
/* ── BUTTONS ── */
.fvm-btn { padding: 10px 20px; border: none; border-radius: 8px; font-size: .95rem; font-weight: 600; cursor: pointer; transition: all .2s; display: inline-block; text-align: center; }
.fvm-btn-primary { background: var(--fvm-primary); color: #fff !important; transition: background .2s, color .2s; }
.fvm-btn-primary:hover { background: var(--fvm-primary-dark); color: #fff !important; }
.fvm-btn-danger { background: var(--fvm-danger); color: #fff; transition: background .2s; }
.fvm-btn-secondary {
    background: var(--fvm-act-btn-bg, #f3f4f6);
    color: var(--fvm-act-btn-text, #374151);
    border: var(--fvm-act-btn-border-width, 1px) solid var(--fvm-act-btn-border-color, #e5e7eb);
    border-radius: var(--fvm-act-btn-radius, var(--fvm-radius, 8px));
    font-size: var(--fvm-act-btn-font-size, .85rem);
    font-weight: var(--fvm-act-btn-font-weight, 600);
    padding: var(--fvm-act-btn-padding, 6px 16px);
    transition: background .2s, color .2s, border-color .2s;
}
.fvm-btn-secondary:hover {
    background: var(--fvm-act-btn-hover-bg, #e5e7eb);
    color: var(--fvm-act-btn-hover-text, #111827);
    border-color: var(--fvm-act-btn-hover-border, #d1d5db);
}
.fvm-btn-danger:hover { background: var(--fvm-danger-dark); color: #fff; }
/* ── NOTICES ── */
.fvm-notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; }
.fvm-notice-success { background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; }
.fvm-notice-error   { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }
.fvm-notice-warning { background: #fef3c7; border: 1px solid #fcd34d; color: #92400e; }
.fvm-empty-state { text-align: center; padding: 60px 20px; color: var(--fvm-muted); }
.fvm-loading { text-align: center; padding: 40px; color: var(--fvm-muted); }
/* ── AUTH BOXES ── */
.fvm-register-wrap, .fvm-login-wrap { background: var(--fvm-bg); }
.fvm-register-box, .fvm-login-box { max-width: 600px; margin: 40px auto !important; background: var(--fvm-card); border: 1px solid var(--fvm-border); border-radius: var(--fvm-radius); padding: 36px 40px; box-sizing: border-box; }
.fvm-login-box { max-width: 480px; }
.fvm-register-title, .fvm-login-title { margin: 0 0 8px !important; font-size: 1.6rem !important; line-height: 1.2 !important; }
.fvm-register-intro { color: var(--fvm-muted); font-size: .95rem !important; margin: 0 0 24px !important; line-height: 1.6 !important; }
/* Form section headings */
.fvm-form-section { margin-bottom: 28px; }
.fvm-auth-switch { text-align: center; margin: 16px 0 0; font-size: .9rem; color: var(--fvm-muted); }
.fvm-auth-switch a { color: var(--fvm-primary); }
.fvm-login-options { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 16px; font-size: .875rem; }
.fvm-checkbox-label { display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--fvm-muted); }
.fvm-forgot-link { color: var(--fvm-primary); text-decoration: none; }
.fvm-forgot-link:hover { text-decoration: underline; }
/* Password strength */
.fvm-pw-strength { margin-top: 10px; }
.fvm-pw-strength-bar { height: 5px; background: var(--fvm-border); border-radius: 3px; overflow: hidden; margin-bottom: 10px; }
.fvm-pw-strength-fill { display: block; height: 100%; width: 0; border-radius: 3px; transition: width .3s, background-color .3s; }
.fvm-pw-strength-fill.s1 { width: 25%;  background-color: #ef4444; }
.fvm-pw-strength-fill.s2 { width: 50%;  background-color: #f59e0b; }
.fvm-pw-strength-fill.s3 { width: 75%;  background-color: #3b82f6; }
.fvm-pw-strength-fill.s4 { width: 100%; background-color: #10b981; }
.fvm-pw-rules { list-style: none !important; margin: 8px 0 0 !important; padding: 0 !important; }
.fvm-pw-rule { font-size: .8rem; color: var(--fvm-muted); line-height: 1.6; list-style: none !important; padding: 0 !important; margin: 0 !important; }
.fvm-pw-rule.pass { color: var(--fvm-success); }
.fvm-field-hint { display: block; margin: 6px 0 0; font-size: .8rem; min-height: 1.1em; }
.fvm-field-hint.hint-ok  { color: var(--fvm-success); }
.fvm-field-hint.hint-err { color: var(--fvm-danger); }
/* Success box */
.fvm-success-box h2 { margin: 0 0 10px !important; }
.fvm-success-message { line-height: 1.7; }
/* reCAPTCHA badge — hidden (legal notice shown in form instead) */
.grecaptcha-badge { visibility: hidden !important; }

/* ── BOOKING MODAL SLOTS ── */
.fvm-slot { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--fvm-border); }
.fvm-slot:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.fvm-slot-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.fvm-slot-date-wrap { flex: 1; }
.fvm-slot-date-wrap select { width: 100%; }
.fvm-slot-time-wrap { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.fvm-slot-time-wrap .fvm-input { width: 100px; }
.fvm-slot-to { color: var(--fvm-muted); font-size: .9rem; }
.fvm-slot-header { min-height: 16px; }
.fvm-btn-text-link { background: none; border: none; padding: 0; cursor: pointer; color: var(--fvm-primary); font-size: .85rem; font-weight: 600; text-decoration: none; }
.fvm-btn-text-link:hover { color: var(--fvm-primary-dark); text-decoration: none; }
.fvm-slot-remove { color: var(--fvm-danger); }
.fvm-slot-remove:hover { color: #b91c1c; }
/* Greyed out — act already booked, cannot do multiple */
.fvm-act-card-booked { opacity: .55; cursor: default; }
.fvm-act-card-booked:hover { box-shadow: 0 1px 4px rgba(0,0,0,.06); border-color: var(--fvm-border); }
.fvm-act-card-booked .fvm-act-book-row .fvm-btn { background: #9ca3af; cursor: not-allowed; }
.fvm-act-card-partial { border-color: #f59e0b; }
.fvm-act-card-partial:hover { border-color: #d97706; box-shadow: 0 4px 12px rgba(245,158,11,.2); }

/* ── Date availability strip ── */
.fvm-date-strip-legend {
    font-size: .75rem;
    color: var(--fvm-legend-color, var(--fvm-muted));
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
/* Square swatch used in the legend (no text) */
.fvm-date-pill-sq {
    width: 14px;
    height: 14px;
    padding: 0;
    border-radius: 3px;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}
.fvm-act-date-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 8px 0;
}
.fvm-date-pill {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    line-height: 1.5;
    white-space: nowrap;
    cursor: default;
}
.fvm-date-free             { background: var(--fvm-pill-free-bg, #d1fae5);      color: var(--fvm-pill-free-text, #065f46); }
.fvm-date-booked-here      { background: var(--fvm-pill-here-bg, #fef3c7);      color: var(--fvm-pill-here-text, #92400e); }
.fvm-date-booked-elsewhere { background: var(--fvm-pill-elsewhere-bg, #fee2e2); color: var(--fvm-pill-elsewhere-text, #991b1b); }
.fvm-date-venue-busy       { background: var(--fvm-pill-venue-bg, #fce7f3);     color: var(--fvm-pill-venue-text, #9d174d); }
.fvm-date-unavail          { background: var(--fvm-pill-unavail-bg, #f3f4f6);   color: var(--fvm-pill-unavail-text, #9ca3af); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    .fvm-portal-header-inner { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding: 12px 16px; gap: 8px; }
    .fvm-portal-nav { justify-content: flex-start; }
    .fvm-logout { margin-left: 0; }
    .fvm-form-row { grid-template-columns: 1fr; }
    .fvm-register-box, .fvm-login-box { padding: 24px 20px !important; margin: 16px !important; }
    .fvm-login-options { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── LOGIN / FORGOT / RESET FORM DEFAULTS (v1.8) ──
   These are the visual defaults. Elementor widget selectors override them.
   No !important here — Elementor's generated CSS has !important and wins.
   ────────────────────────────────────────────────── */

/* Field wrapper spacing */
.fvml-field { margin-bottom: 16px; }

/* Label — default visual style */
.fvml-label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    line-height: 1.4;
}
.fvml-req { color: #ef4444; margin-left: 2px; }

/* Inputs default visual */
.fvml-wrap input[type="email"],
.fvml-wrap input[type="password"],
.fvml-wrap input[type="text"] {
    padding: 10px 14px;
    font-size: .95rem;
    font-family: inherit;
    color: #111827;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    box-shadow: none;
}
.fvml-wrap input[type="email"]:focus,
.fvml-wrap input[type="password"]:focus,
.fvml-wrap input[type="text"]:focus {
    border-color: #6b21a8;
    box-shadow: 0 0 0 3px rgba(107,33,168,.15);
}

/* Eye button default */
.fvml-eye { font-size: 1.1rem; color: #6b7280; }
.fvml-eye:hover { color: #6b21a8; }

/* Submit button default */
.fvml-wrap button[type="submit"] {
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: #ffffff;
    background: #6b21a8;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    transition: background .2s;
    margin-top: 4px;
}
.fvml-wrap button[type="submit"]:hover { background: #4c1d95; }

/* Row with remember + forgot */
.fvml-opts-row { margin-bottom: 16px; }
.fvml-remember { font-size: .875rem; font-weight: normal; }
.fvml-muted, .fvml-muted span { color: #6b7280; }

/* Links */
.fvml-forgot, .fvml-back, .fvml-switch-link {
    color: #6b21a8;
    text-decoration: none;
    font-size: .875rem;
}
.fvml-forgot:hover, .fvml-back:hover, .fvml-switch-link:hover { text-decoration: underline; }

/* Register / back link paragraph */
.fvml-switch {
    text-align: center;
    margin: 16px 0 0;
    font-size: .9rem;
}
.fvml-back-wrap { text-align: center; margin: 14px 0 0; }

/* Submit wrapper */
.fvml-submit-wrap { margin-top: 4px; }

/* Intro text under forgot title */
.fvml-intro {
    color: #6b7280;
    font-size: .95rem;
    margin: 0 0 20px;
    line-height: 1.6;
}

/* Password strength (reset form) */
.fvml-strength-bar {
    height: 5px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin: 10px 0 8px;
}
.fvml-rules { list-style: none; margin: 0; padding: 0; }
.fvml-rule { font-size: .8rem; color: #6b7280; line-height: 1.7; }
.fvml-rule.ok { color: #10b981; }
.fvml-hint { font-size: .8rem; color: #6b7280; }
.fvml-hint.ok  { color: #10b981; }
.fvml-hint.err { color: #ef4444; }

/* Email-sent confirmation box */
.fvml-sent-box {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    border-radius: 10px;
    padding: 28px;
}
.fvml-sent-title {
    color: #065f46;
    margin: 0 0 12px;
}
.fvml-sent-msg {
    color: #065f46;
    line-height: 1.6;
    margin: 0 0 20px;
}
.fvml-sent-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #6b21a8;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    transition: background .2s;
}
.fvml-sent-btn:hover { background: #4c1d95; color: #fff; }

/* ── REGISTRATION FORM DEFAULTS (v1.8) ──
   Visual defaults — Elementor widget selectors override.
   ────────────────────────────────────────────────── */
.fvmr-section { margin-bottom: 28px; }
.fvmr-section-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #6b21a8;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 8px;
    margin-bottom: 18px;
}
.fvmr-field { margin-bottom: 16px; }
.fvmr-wrap label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    line-height: 1.4;
}
.fvmr-req { color: #ef4444; margin-left: 2px; }
.fvmr-wrap input[type="text"],
.fvmr-wrap input[type="email"],
.fvmr-wrap input[type="password"],
.fvmr-wrap input[type="number"],
.fvmr-wrap input[type="tel"],
.fvmr-wrap select,
.fvmr-wrap textarea {
    padding: 10px 14px;
    font-size: .95rem;
    font-family: inherit;
    color: #111827;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    box-shadow: none;
}
.fvmr-wrap input:focus,
.fvmr-wrap select:focus,
.fvmr-wrap textarea:focus {
    border-color: #6b21a8;
    box-shadow: 0 0 0 3px rgba(107,33,168,.15);
}
.fvmr-wrap button[type="submit"] {
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: #ffffff;
    background: #6b21a8;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    transition: background .2s;
}
.fvmr-wrap button[type="submit"]:hover { background: #4c1d95; }
.fvmr-submit-wrap { margin-top: 16px; }
.fvmr-eye { font-size: 1.1rem; color: #6b7280; }
.fvmr-eye:hover { color: #6b21a8; }
.fvmr-strength-bar {
    height: 5px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin: 10px 0 8px;
}
.fvmr-rules { list-style: none; margin: 0; padding: 0; }
.fvmr-rule { font-size: .8rem; color: #6b7280; line-height: 1.7; }
.fvmr-rule.ok { color: #10b981; }
.fvmr-hint { font-size: .8rem; color: #6b7280; }
.fvmr-hint.ok  { color: #10b981; }
.fvmr-hint.err { color: #ef4444; }
.fvmr-recaptcha-note { font-size: .75rem; color: #9ca3af; margin-top: 12px; text-align: center; line-height: 1.5; }
.fvmr-recaptcha-note a { color: #6b7280; }

/* ── ACT PHOTO UPLOAD PAGE ─────────────────────────────────────────────── */
.fvm-upload-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; box-sizing: border-box; }
.fvm-upload-box { background: #fff; border: 1px solid var(--fvm-border); border-radius: var(--fvm-radius); padding: 40px; max-width: 560px; width: 100%; box-shadow: 0 4px 24px rgba(0,0,0,.08); box-sizing: border-box; text-align: center; }
.fvm-upload-icon { font-size: 2.5rem; margin-bottom: 12px; }
.fvm-upload-box h2 { margin: 0 0 6px; font-size: 1.5rem; }
.fvm-upload-act-name { color: var(--fvm-muted); font-size: .9rem; margin: 0 0 16px; }
.fvm-upload-intro { color: var(--fvm-muted); font-size: .9rem; line-height: 1.6; margin: 0 0 24px; text-align: left; }
.fvm-upload-dropzone { border: 2px dashed #d1d5db; border-radius: 10px; padding: 32px 20px; background: #f9fafb; transition: all .2s; cursor: pointer; }
.fvm-upload-dropzone.drag-over { background: #ede9fe; border-color: #7c3aed; }
.fvm-upload-dropzone svg { color: #9ca3af; display: block; margin: 0 auto 12px; }
.fvm-upload-drop-text { color: #6b7280; font-size: .9rem; margin: 0 0 14px; }
.fvm-upload-file-label { display: inline-block; cursor: pointer; margin: 0 0 12px; }
.fvm-upload-constraints { color: #9ca3af; font-size: .78rem; margin: 8px 0 0; }
.fvm-upload-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; align-items: center; }
/* Size the cancel/choose-different button to match the Upload Photo button */
.fvm-upload-actions .fvm-btn-cancel,
.fvm-upload-actions .fvm-btn-primary {
    min-width: 160px; text-align: center;
}
.fvm-btn-cancel { background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; }
.fvm-btn-cancel:hover { background: #e5e7eb; }
.fvm-upload-progress-bar { height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; margin: 20px 0 8px; }
.fvm-upload-progress-fill { height: 100%; background: var(--fvm-primary, #6b21a8); border-radius: 4px; width: 0; transition: width .2s; }
.fvm-upload-expired { text-align: center; }

/* ── Bookings toolbar (heading + view toggle) ────────────────────────────── */
.fvm-bookings-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.fvm-bookings-toolbar h2 { margin: 0; }
.fvm-view-toggle-btns { display: flex; gap: 4px; }
.fvm-view-mode-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 7px 13px; border: 1px solid var(--fvm-border); border-radius: 6px;
    background: var(--fvm-btn-view-bg); color: var(--fvm-btn-view-text); font-size: .82rem; font-weight: 600;
    cursor: pointer; transition: all .15s;
}
.fvm-view-mode-btn:hover { border-color: var(--fvm-primary); color: var(--fvm-primary); }
.fvm-view-mode-btn.active {
    background: var(--fvm-primary); border-color: var(--fvm-primary);
    color: #fff;
}

/* ── Card Deck View ──────────────────────────────────────────────────────── */
.fvm-deck-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 32px 20px;
    padding: 16px 0 32px;
    align-items: start;
}

/* Each stack wrapper — provides 3D stacking context */
.fvm-deck-stack {
    position: relative;
    /* Extra space at bottom for shadow cards peeking below */
    padding-bottom: 10px;
}

/* Shadow cards — purely decorative depth behind the top card */
.fvm-deck-shadow {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 100%;
    background: var(--fvm-card, #fff);
    border: 1px solid var(--fvm-border, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.fvm-deck-shadow-1 { transform: rotate(2.5deg) translateY(4px); z-index: 1; }
.fvm-deck-shadow-2 { transform: rotate(-2deg) translateY(8px); z-index: 0; }

/* The top (interactive) card */
.fvm-deck-top {
    position: relative;
    z-index: 2;
    background: var(--fvm-card, #fff);
    border: 1px solid var(--fvm-border, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.fvm-deck-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* Photo area */
.fvm-deck-card-img {
    width: 100%; aspect-ratio: 4/3; overflow: hidden;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
}
.fvm-deck-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fvm-deck-card-img-placeholder {
    width: 100%; aspect-ratio: 4/3; display: flex;
    align-items: center; justify-content: center;
    font-size: 2.4rem; background: linear-gradient(135deg, #ede9fe, #ddd6fe);
}

/* Card body */
.fvm-deck-card-body { padding: 14px 16px 12px; }
.fvm-deck-act-name {
    font-size: .95rem; font-weight: 800; color: var(--fvm-text, #111827);
    margin: 0 0 3px; line-height: 1.25;
}
.fvm-deck-genre {
    font-size: .72rem; color: var(--fvm-muted, #6b7280); margin-bottom: 8px;
}
.fvm-deck-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.fvm-deck-count-badge {
    font-size: .7rem; font-weight: 700; letter-spacing: .03em;
    background: var(--fvm-deck-badge-bg, var(--fvm-primary)); color: var(--fvm-deck-badge-text, #fff);
    padding: 2px 8px; border-radius: 20px;
}
.fvm-deck-pa-badge {
    font-size: .7rem; font-weight: 700;
    background: #fef3c7; color: #b45309;
    padding: 2px 8px; border-radius: 20px;
}
.fvm-deck-contact {
    font-size: .75rem; color: var(--fvm-muted, #6b7280); margin-bottom: 8px;
}
.fvm-deck-contact a { color: var(--fvm-primary, #6b21a8); text-decoration: none; font-weight: 500; }
.fvm-deck-contact a:hover { text-decoration: underline; }

/* Expand button */
.fvm-deck-expand-btn {
    display: inline-flex; align-items: center; gap: 4px;
    background: none; border: 1px solid var(--fvm-border, #e5e7eb);
    border-radius: 6px; padding: 4px 10px; font-size: .75rem; font-weight: 600;
    color: var(--fvm-muted, #6b7280); cursor: pointer; transition: all .15s;
    width: 100%; justify-content: center; margin-top: 4px;
}
.fvm-deck-expand-btn:hover { background: #f3f0ff; border-color: var(--fvm-primary,#6b21a8); color: var(--fvm-primary,#6b21a8); }
.fvm-deck-expand-btn.open svg { transform: rotate(180deg); }
.fvm-deck-expand-btn svg { transition: transform .2s; }

/* Fan animation when stack is expanded */
.fvm-deck-stack.is-fanned .fvm-deck-shadow-1 { transform: rotate(6deg) translateY(12px); }
.fvm-deck-stack.is-fanned .fvm-deck-shadow-2 { transform: rotate(-5deg) translateY(18px); }
.fvm-deck-stack.is-fanned .fvm-deck-top    { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.18); }

/* Expanded booking rows panel */
.fvm-deck-expanded {
    display: none;
    position: relative; z-index: 3;
    background: #fff;
    border: 1px solid var(--fvm-border, #e5e7eb);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    overflow: hidden;
    /* Slide in animation handled by JS adding/removing class */
}
.fvm-deck-expanded.is-open { display: block; animation: deckSlideIn .25s ease; }
@keyframes deckSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fvm-deck-expanded-inner { padding: 4px 0; }
.fvm-deck-booking-row {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-bottom: 1px solid #f3f4f6;
}
.fvm-deck-booking-row:last-child { border-bottom: none; }
.fvm-deck-booking-date {
    flex-shrink: 0; width: 48px; display: flex; flex-direction: column;
    align-items: center; gap: 1px;
}
.fvm-deck-booking-day {
    font-size: .65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--fvm-muted, #6b7280);
}
.fvm-deck-booking-num {
    font-size: .82rem; font-weight: 800; color: var(--fvm-primary, #6b21a8); line-height: 1;
}
.fvm-deck-booking-time {
    flex: 1; font-size: .78rem; color: var(--fvm-text, #111827); font-weight: 500;
}
.fvm-deck-cancel {
    flex-shrink: 0; padding: 4px 10px !important;
    font-size: .72rem !important;
}

/* Responsive */
@media (max-width: 480px) {
    .fvm-deck-view { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
}
@media (max-width: 340px) {
    .fvm-deck-view { grid-template-columns: 1fr; }
}

/* ── Browse Acts card: profile image ─────────────────────────────────────── */
.fvm-act-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 !important;  /* image must be flush — padding moved to body */
}
.fvm-act-card-img {
    /* aspect-ratio keeps proportions responsive — no more cropping top third */
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden; flex-shrink: 0;
    background: linear-gradient(135deg, #ede9fe, #c7d2fe);
}
.fvm-act-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;  /* centre crop, not top */
    display: block;
}
.fvm-act-card-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: #7c3aed;
}
.fvm-act-card-body {
    padding: 14px 16px;
    flex: 1; display: flex; flex-direction: column;
}
.fvm-act-card-body h3 { margin: 0 0 4px; font-size: 1rem; }
.fvm-act-card-body .fvm-act-genre { margin: 0 0 6px; }
.fvm-act-card-body .fvm-act-tags { margin-top: 8px; }
.fvm-act-card-body .fvm-act-book-row { margin-top: auto; padding-top: 10px; }

/* ── Booking modal: profile image ────────────────────────────────────────── */
.fvm-modal-act-img {
    width: 80px; height: 80px;
    border-radius: 50%; overflow: hidden;
    border: 3px solid #ede9fe;
    flex-shrink: 0; margin-bottom: 10px;
    float: right; margin-left: 12px;
    shape-outside: circle();
}
.fvm-modal-act-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
#modal-act-info::after { content: ''; display: table; clear: both; }
