/**
 * RSVP Studio — rsvp-shortcodes.css v1.4
 *
 * STRUCTURELE STIJLEN ALLEEN.
 * Geen achtergrondkleuren, padding of marges op wrappers —
 * die stel je in via Elementor secties en kolommen.
 *
 * CSS variabelen overschrijven via Elementor → Site Instellingen → Custom CSS:
 *   --rsvp-primary       Hoofdkleur knoppen / accenten
 *   --rsvp-primary-dark  Hover kleur
 *   --rsvp-primary-bg    Geselecteerde states (licht)
 *   --rsvp-border        Randkleur inputs en tabellen
 *   --rsvp-font-display  Display lettertype namen/titels
 *   --rsvp-radius        Border radius
 */

:root {
  --rsvp-primary:      #C4806F;
  --rsvp-primary-dark: #8B4E42;
  --rsvp-primary-bg:   rgba(196,128,111,0.10);
  --rsvp-border:       rgba(0,0,0,0.12);
  --rsvp-green:        #166534;
  --rsvp-green-bg:     #D6EAD9;
  --rsvp-red:          #991B1B;
  --rsvp-red-bg:       #FED7D7;
  --rsvp-orange:       #92400E;
  --rsvp-orange-bg:    #FEF3C7;
  --rsvp-radius:       6px;
  --rsvp-radius-sm:    4px;
  --rsvp-radius-full:  9999px;
  --rsvp-font-display: 'Cormorant Garamond', Georgia, serif;
}

/* Reset voor rsvp elementen */
[class^="rsvp-"] { box-sizing: border-box; }

/* NAV */
.rsvp-nav { display:flex; align-items:center; gap:8px; }
.rsvp-nav--horizontal { flex-direction:row; justify-content:space-between; flex-wrap:wrap; }
.rsvp-nav__brand { display:flex; align-items:center; gap:12px; }
.rsvp-nav__logo { max-height:40px; max-width:140px; object-fit:contain; display:block; }
.rsvp-nav__logo-placeholder { font-size:24px; }
.rsvp-nav__brand-text { display:flex; flex-direction:column; gap:2px; }
.rsvp-nav__company { font-size:14px; font-weight:500; }
.rsvp-nav__plan { font-size:10px; font-weight:500; letter-spacing:1.5px; text-transform:uppercase; padding:2px 8px; border-radius:var(--rsvp-radius-full); display:inline-block; }
.rsvp-plan--solo     { background:#FEF3C7; color:#92400E; }
.rsvp-plan--business { background:var(--rsvp-primary-bg); color:var(--rsvp-primary-dark); }
.rsvp-plan--agency   { background:#F3E8FF; color:#6B21A8; }
.rsvp-nav__links { display:flex; align-items:center; gap:2px; flex-wrap:wrap; }
.rsvp-nav__link { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:var(--rsvp-radius); text-decoration:none; font-size:14px; transition:background 0.15s,color 0.15s; opacity:0.6; }
.rsvp-nav__link:hover, .rsvp-nav__link--active { background:var(--rsvp-primary-bg); color:var(--rsvp-primary)!important; opacity:1; font-weight:500; }
.rsvp-nav__icon { font-size:16px; }
.rsvp-nav__logout { font-size:13px; text-decoration:none; opacity:0.4; transition:color 0.15s; margin-left:auto; }
.rsvp-nav__logout:hover { color:var(--rsvp-red)!important; opacity:1; }

/* WELKOMST */
.rsvp-welcome__greeting { font-size:14px; opacity:0.55; margin-bottom:4px; }
.rsvp-welcome__name { font-family:var(--rsvp-font-display); font-size:36px; font-weight:300; line-height:1.1; margin-bottom:4px; }
.rsvp-welcome__company { font-size:14px; color:var(--rsvp-primary); }
.rsvp-welcome__date { font-size:13px; opacity:0.4; margin-top:4px; }

/* STATS */
.rsvp-stats { display:flex; gap:12px; flex-wrap:wrap; }
.rsvp-stats--grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(100px,1fr)); }
.rsvp-stat { text-align:center; flex:1; min-width:80px; border:1px solid var(--rsvp-border); border-radius:var(--rsvp-radius); padding:14px 10px; }
.rsvp-stat__icon { display:block; font-size:22px; margin-bottom:6px; }
.rsvp-stat__num { display:block; font-family:var(--rsvp-font-display); font-size:36px; font-weight:300; line-height:1; margin-bottom:4px; }
.rsvp-stat__label { display:block; font-size:11px; font-weight:500; letter-spacing:0.8px; text-transform:uppercase; opacity:0.45; }
.rsvp-stat--green .rsvp-stat__num { color:var(--rsvp-green); }
.rsvp-stat--red   .rsvp-stat__num { color:var(--rsvp-red); }
.rsvp-stat--orange .rsvp-stat__num { color:var(--rsvp-orange); }

/* EVENTS LIJST */
.rsvp-events-list__header { display:flex; justify-content:flex-end; margin-bottom:16px; }
.rsvp-event-card { border:1px solid var(--rsvp-border); border-radius:var(--rsvp-radius); margin-bottom:10px; overflow:hidden; display:flex; transition:box-shadow 0.2s,transform 0.15s; }
.rsvp-event-card:hover { box-shadow:0 4px 20px rgba(0,0,0,0.07); transform:translateY(-1px); }
.rsvp-event-card__accent { width:4px; background:var(--event-color,var(--rsvp-primary)); flex-shrink:0; }
.rsvp-event-card__body { padding:18px 22px; flex:1; }
.rsvp-event-card__top { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:12px; flex-wrap:wrap; gap:8px; }
.rsvp-event-card__name { font-family:var(--rsvp-font-display); font-size:22px; font-weight:300; font-style:italic; margin-bottom:6px; line-height:1.2; }
.rsvp-event-card__meta { display:flex; gap:8px; align-items:center; flex-wrap:wrap; font-size:12px; opacity:0.5; }
.rsvp-event-card__stats { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:8px; font-size:13px; }
.rsvp-event-stat--green { color:var(--rsvp-green); }
.rsvp-event-stat--red   { color:var(--rsvp-red); }
.rsvp-event-stat--gray  { opacity:0.45; }
.rsvp-event-stat--total { opacity:0.35; margin-left:auto; }
.rsvp-event-card__actions { display:flex; gap:6px; flex-wrap:wrap; margin-top:12px; padding-top:12px; border-top:1px solid var(--rsvp-border); }

/* PROGRESSBAR */
.rsvp-progress { height:3px; border-radius:var(--rsvp-radius-full); overflow:hidden; display:flex; background:rgba(0,0,0,0.06); }
.rsvp-progress__yes { background:#22C55E; transition:width 0.5s; }
.rsvp-progress__no  { background:#EF4444; transition:width 0.5s; }

/* KNOPPEN */
.rsvp-btn { display:inline-flex; align-items:center; gap:6px; padding:9px 18px; border-radius:var(--rsvp-radius-sm); font-size:13px; font-weight:500; text-decoration:none; cursor:pointer; border:1px solid transparent; transition:all 0.15s; white-space:nowrap; letter-spacing:0.3px; line-height:1; }
.rsvp-btn--primary { background:var(--rsvp-primary); color:#fff!important; border-color:var(--rsvp-primary); }
.rsvp-btn--primary:hover { background:var(--rsvp-primary-dark); border-color:var(--rsvp-primary-dark); }
.rsvp-btn--outline { background:transparent; color:inherit!important; border-color:var(--rsvp-border); }
.rsvp-btn--outline:hover { border-color:var(--rsvp-primary); color:var(--rsvp-primary)!important; }
.rsvp-btn--sm { padding:6px 12px; font-size:12px; }
.rsvp-btn--xs { padding:4px 8px; font-size:11px; }
.rsvp-btn--danger { color:var(--rsvp-red)!important; border-color:var(--rsvp-red-bg)!important; }
.rsvp-btn--danger:hover { background:var(--rsvp-red-bg)!important; }
.rsvp-btn:disabled { opacity:0.45; cursor:not-allowed; pointer-events:none; }

/* FORMULIER STRUCTUUR */
.rsvp-form-section { margin-bottom:28px; padding-bottom:28px; border-bottom:1px solid var(--rsvp-border); }
.rsvp-form-section:last-of-type { border-bottom:none; margin-bottom:0; padding-bottom:0; }
.rsvp-form-section__title { display:flex; align-items:center; gap:8px; font-family:var(--rsvp-font-display); font-size:20px; font-weight:400; margin-bottom:16px; }
.rsvp-form-section__icon { font-size:18px; }
.rsvp-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.rsvp-field { display:flex; flex-direction:column; gap:5px; }
.rsvp-field--full { grid-column:span 2; }
.rsvp-label { font-size:12px; font-weight:500; }
.rsvp-required { color:var(--rsvp-primary); }
.rsvp-hint { font-size:11px; opacity:0.45; font-weight:400; }
.rsvp-hint a { color:var(--rsvp-primary); }
.rsvp-field-hint { font-size:12px; opacity:0.45; line-height:1.55; }

.rsvp-input, .rsvp-select, .rsvp-textarea { width:100%; padding:10px 13px; border:1px solid var(--rsvp-border); border-radius:var(--rsvp-radius-sm); font-size:14px; background:transparent; color:inherit; transition:border-color 0.15s,box-shadow 0.15s; appearance:none; -webkit-appearance:none; }
.rsvp-input:focus, .rsvp-select:focus, .rsvp-textarea:focus { outline:none; border-color:var(--rsvp-primary); box-shadow:0 0 0 3px rgba(196,128,111,0.12); }
.rsvp-input:disabled { opacity:0.4; cursor:not-allowed; }
.rsvp-textarea { min-height:80px; resize:vertical; }
.rsvp-select-wrap { position:relative; }
.rsvp-select-wrap::after { content:'▾'; position:absolute; right:12px; top:50%; transform:translateY(-50%); pointer-events:none; font-size:12px; opacity:0.4; }

/* Kleurpicker */
.rsvp-color-field { display:flex; gap:8px; align-items:center; }
.rsvp-color-swatch { width:42px; height:40px; border:1px solid var(--rsvp-border); border-radius:var(--rsvp-radius-sm); padding:3px; cursor:pointer; flex-shrink:0; }
.rsvp-hex-input { flex:1; font-family:monospace; font-size:13px; }
.rsvp-color-preview { display:flex; align-items:center; gap:10px; margin-top:12px; padding:10px 14px; border:1px solid var(--rsvp-border); border-radius:var(--rsvp-radius-sm); font-size:11px; }
.rsvp-color-preview__label { opacity:0.4; font-weight:500; letter-spacing:1px; text-transform:uppercase; }
.rsvp-color-preview__swatch { width:22px; height:22px; border-radius:50%; border:2px solid rgba(255,255,255,0.7); box-shadow:0 1px 3px rgba(0,0,0,0.15); }
.rsvp-color-preview__font { font-family:var(--rsvp-font-display); font-size:20px; font-style:italic; margin-left:6px; }

/* Stijlpicker */
.rsvp-style-picker { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.rsvp-style-option { cursor:pointer; }
.rsvp-style-option input { display:none; }
.rsvp-style-card { display:flex; flex-direction:column; align-items:center; padding:16px 12px; border:2px solid var(--rsvp-border); border-radius:var(--rsvp-radius); text-align:center; transition:all 0.15s; position:relative; }
.rsvp-style-option input:checked + .rsvp-style-card { border-color:var(--rsvp-primary); box-shadow:0 0 0 1px var(--rsvp-primary); background:var(--rsvp-primary-bg); }
.rsvp-style-card:hover { border-color:var(--rsvp-primary); }
.rsvp-style-card__emoji { font-size:22px; margin-bottom:8px; }
.rsvp-style-card__name  { font-size:14px; font-weight:500; margin-bottom:3px; }
.rsvp-style-card__desc  { font-size:11px; opacity:0.4; }
.rsvp-style-card__lock  { position:absolute; top:6px; right:6px; font-size:10px; background:var(--rsvp-orange-bg); color:var(--rsvp-orange); padding:2px 5px; border-radius:var(--rsvp-radius-sm); }
.rsvp-style-option--locked { opacity:0.4; cursor:not-allowed; }

/* Checkboxes */
.rsvp-checkbox-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.rsvp-checkbox-label { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--rsvp-border); border-radius:var(--rsvp-radius-sm); cursor:pointer; font-size:13px; transition:border-color 0.15s,background 0.15s; user-select:none; }
.rsvp-checkbox-label:hover { border-color:var(--rsvp-primary); background:var(--rsvp-primary-bg); }
.rsvp-checkbox-label input { display:none; }
.rsvp-checkbox-custom { width:16px; height:16px; border:2px solid var(--rsvp-border); border-radius:3px; flex-shrink:0; transition:all 0.15s; position:relative; }
.rsvp-checkbox-label input:checked ~ .rsvp-checkbox-custom { background:var(--rsvp-primary); border-color:var(--rsvp-primary); }
.rsvp-checkbox-label input:checked ~ .rsvp-checkbox-custom::after { content:'✓'; position:absolute; top:-3px; left:1px; font-size:11px; color:white; font-weight:700; }

.rsvp-form-actions { display:flex; gap:10px; justify-content:flex-end; padding-top:20px; border-top:1px solid var(--rsvp-border); margin-top:20px; }

/* TABEL */
.rsvp-table-wrap { overflow-x:auto; border-radius:var(--rsvp-radius); border:1px solid var(--rsvp-border); }
.rsvp-table { width:100%; border-collapse:collapse; font-size:13px; }
.rsvp-table thead th { padding:10px 13px; text-align:left; font-size:11px; font-weight:500; letter-spacing:0.8px; text-transform:uppercase; opacity:0.5; border-bottom:1px solid var(--rsvp-border); }
.rsvp-table tbody tr { border-bottom:1px solid var(--rsvp-border); transition:background 0.1s; }
.rsvp-table tbody tr:last-child { border-bottom:none; }
.rsvp-table tbody tr:hover { background:rgba(0,0,0,0.02); }
.rsvp-table td { padding:11px 13px; vertical-align:middle; }
.rsvp-table td strong { font-weight:500; }
.rsvp-table td small { display:block; font-size:11px; opacity:0.45; margin-top:2px; }
.rsvp-table__row--attending { background:rgba(34,197,94,0.04); }
.rsvp-table__row--declined  { background:rgba(239,68,68,0.04); }

/* PILLS & TAGS */
.rsvp-pill { display:inline-block; padding:3px 9px; border-radius:var(--rsvp-radius-full); font-size:11px; font-weight:500; }
.rsvp-pill--pending    { background:var(--rsvp-orange-bg); color:var(--rsvp-orange); }
.rsvp-pill--attending  { background:var(--rsvp-green-bg);  color:var(--rsvp-green); }
.rsvp-pill--declined   { background:var(--rsvp-red-bg);    color:var(--rsvp-red); }
.rsvp-pill--no_response { background:rgba(0,0,0,0.06); color:rgba(0,0,0,0.4); }
.rsvp-tag { display:inline-block; padding:2px 8px; border-radius:var(--rsvp-radius-full); font-size:11px; font-weight:500; }
.rsvp-tag--classic  { background:var(--rsvp-orange-bg); color:var(--rsvp-orange); }
.rsvp-tag--modern   { background:#EDE9FE; color:#5B21B6; }
.rsvp-tag--romantic { background:#FCE7F3; color:#9D174D; }
.rsvp-status--active { color:var(--rsvp-green); font-size:12px; }
.rsvp-status--draft  { opacity:0.45; font-size:12px; }
.rsvp-status--closed { color:var(--rsvp-red); font-size:12px; }

/* OVERIG */
.rsvp-muted { opacity:0.4; font-size:12px; display:block; }
.rsvp-empty { text-align:center; padding:36px 20px; }
.rsvp-empty__icon { font-size:36px; display:block; margin-bottom:12px; }
.rsvp-empty__text { opacity:0.45; font-size:15px; margin-bottom:14px; }
.rsvp-notice { padding:11px 14px; border-radius:var(--rsvp-radius-sm); font-size:14px; margin-bottom:14px; border-left:3px solid; }
.rsvp-notice--success { background:var(--rsvp-green-bg); color:var(--rsvp-green); border-color:var(--rsvp-green); }
.rsvp-notice--warn    { background:var(--rsvp-orange-bg); color:var(--rsvp-orange); border-color:var(--rsvp-orange); }
.rsvp-notice--error   { background:var(--rsvp-red-bg); color:var(--rsvp-red); border-color:var(--rsvp-red); }
.rsvp-error { color:var(--rsvp-red); font-size:14px; }
.rsvp-form-msg { min-height:16px; }
.rsvp-filter-tabs { display:flex; gap:4px; flex-wrap:wrap; margin-bottom:14px; }
.rsvp-filter-tab { padding:6px 12px; border:1px solid var(--rsvp-border); border-radius:var(--rsvp-radius-sm); font-size:12px; text-decoration:none; color:inherit; opacity:0.55; transition:all 0.15s; }
.rsvp-filter-tab:hover { border-color:var(--rsvp-primary); opacity:1; color:var(--rsvp-primary)!important; }
.rsvp-filter-tab--active { background:var(--rsvp-primary); border-color:var(--rsvp-primary); color:white!important; opacity:1; }
.rsvp-guests-toolbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; flex-wrap:wrap; gap:8px; }
.rsvp-guests-count { font-size:13px; opacity:0.4; }
.rsvp-guests-toolbar__actions { display:flex; gap:6px; }
.rsvp-event-selector { display:flex; align-items:center; gap:12px; margin-bottom:16px; flex-wrap:wrap; }
.rsvp-event-selector .rsvp-select { min-width:200px; }
.rsvp-csv-example { border:1px solid var(--rsvp-border); border-radius:var(--rsvp-radius-sm); padding:10px 14px; margin-bottom:14px; font-size:13px; cursor:pointer; }
.rsvp-csv-example summary { font-weight:500; color:var(--rsvp-primary); margin-bottom:6px; }
.rsvp-csv-example pre { padding:8px; font-size:11px; overflow-x:auto; font-family:monospace; opacity:0.65; margin-top:6px; }
.rsvp-copy-btn.copied { background:var(--rsvp-green-bg)!important; color:var(--rsvp-green)!important; }
.rsvp-current-logo-wrap { margin-bottom:14px; }
.rsvp-current-logo { max-height:56px; max-width:160px; object-fit:contain; border:1px solid var(--rsvp-border); border-radius:var(--rsvp-radius-sm); padding:8px; }
.rsvp-file-input { font-size:13px; }
.rsvp-plan-name { font-family:var(--rsvp-font-display); font-size:32px; font-weight:300; margin-bottom:4px; }
.rsvp-plan-price { font-size:16px; color:var(--rsvp-primary); margin-bottom:6px; font-weight:500; }
.rsvp-plan-status { font-size:13px; margin-bottom:4px; }
.rsvp-plan-since { font-size:12px; opacity:0.38; }
.rsvp-plan-wrap .rsvp-btn { margin-top:14px; }

/* RESPONSIVE */
@media (max-width:768px) {
  .rsvp-form-grid { grid-template-columns:1fr; }
  .rsvp-field--full { grid-column:span 1; }
  .rsvp-style-picker { grid-template-columns:1fr; }
  .rsvp-checkbox-grid { grid-template-columns:repeat(2,1fr); }
  .rsvp-welcome__name { font-size:28px; }
}
@media (max-width:480px) {
  .rsvp-checkbox-grid { grid-template-columns:1fr; }
  .rsvp-form-actions { flex-direction:column; }
  .rsvp-stats { flex-direction:column; }
}
