/* Branike Events — Frontend CSS v1.3.1 */

/* ── Filter bar ───────────────────────────────────────────────────────────── */
.bev-filters {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
    margin-bottom: 28px; padding: 16px 20px;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px;
}
.bev-filters__search {
    position: relative; flex: 1; min-width: 200px;
}
.bev-filters__search-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    font-size: 14px; pointer-events: none;
}
.bev-filters__input {
    width: 100%; padding: 9px 12px 9px 36px;
    border: 1px solid #d1d5db; border-radius: 8px;
    font-size: 14px; background: #fff; box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}
.bev-filters__input:focus {
    outline: none; border-color: #1e1e2e; box-shadow: 0 0 0 3px rgba(30,30,46,.08);
}
.bev-filters__types {
    display: flex; gap: 6px; flex-wrap: wrap;
}
.bev-filter-btn {
    padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
    border: 2px solid #e2e8f0; background: #fff; color: #4b5563;
    cursor: pointer; transition: all .15s; white-space: nowrap;
}
.bev-filter-btn:hover { border-color: #1e1e2e; color: #1e1e2e; }
.bev-filter-btn--active { background: #1e1e2e; border-color: #1e1e2e; color: #fff; }
.bev-filter-btn--active:hover { background: #2d2d44; border-color: #2d2d44; color: #fff; }

/* Filter loading state */
.bev-list-results { position: relative; min-height: 120px; transition: opacity .2s; }
.bev-list-results--loading { opacity: .5; pointer-events: none; }
.bev-list-results--loading::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 28px; height: 28px; margin: -14px 0 0 -14px;
    border: 3px solid #e2e8f0; border-top-color: #1e1e2e;
    border-radius: 50%; animation: bev-spin .7s linear infinite;
}
@keyframes bev-spin { to { transform: rotate(360deg); } }

/* ── Events list ──────────────────────────────────────────────────────────── */
.bev-events-list { display: grid; gap: 20px; }
@media (min-width: 640px) { .bev-events-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } }

.bev-event-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
}
.bev-event-card-link:focus-visible { outline: 3px solid #1e1e2e; outline-offset: 3px; border-radius: 12px; }

.bev-event-card {
    border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden;
    background: #fff; transition: box-shadow .2s ease, transform .2s ease;
    display: flex; flex-direction: column;
}
.bev-event-card-link:hover .bev-event-card { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-3px); }

.bev-event-thumb { overflow: hidden; }
.bev-event-thumb img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .35s ease; }
.bev-event-card-link:hover .bev-event-thumb img { transform: scale(1.04); }

.bev-event-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }

.bev-event-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
@media (max-width: 480px) {
    .bev-event-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
}

.bev-event-type-badge {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.bev-event-type-badge--physical { background: #dcfce7; color: #15803d; }
.bev-event-type-badge--online   { background: #dbeafe; color: #1d4ed8; }
.bev-event-type-badge--hybrid   { background: #ede9fe; color: #6d28d9; }

.bev-event-series-badge {
    display: inline-block; padding: 4px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
    background: #fff7ed; color: #c2410c;
    border: 1px solid #fed7aa;
}
.bev-event-series-badge--parent {
    background: #fef3c7; color: #92400e;
    border-color: #fde68a;
}

.bev-event-price-badge {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    font-size: 13px; font-weight: 700; background: #fef3c7; color: #92400e;
}

.bev-event-date { font-size: 13px; color: #6b7280; }

.bev-event-title { margin: 0 0 8px; font-size: 17px; line-height: 1.35; color: #111827; }

.bev-event-location { font-size: 13px; color: #6b7280; margin: 0 0 12px; }

.bev-event-footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid #f3f4f6; }

.bev-event-price   { font-size: 15px; font-weight: 700; color: #111827; }
.bev-event-urgency { font-size: 12px; color: #d97706; font-weight: 600; }
.bev-event-soldout { font-size: 12px; color: #dc2626; font-weight: 700; text-transform: uppercase; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.bev-btn {
    display: inline-block; padding: 8px 18px; border-radius: 6px;
    font-size: 14px; font-weight: 600; cursor: pointer; border: none;
    text-decoration: none; transition: background .15s, transform .1s, box-shadow .15s;
    line-height: 1.4;
}
.bev-btn--primary {
    background: var(--theme-palette-color-1, #1e1e2e);
    color: #fff;
}
.bev-btn--primary:hover {
    filter: brightness(.88);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.bev-btn--submit        { width: 100%; text-align: center; margin-top: 8px; font-size: 16px; padding: 13px; }

/* ── Virtual page: potlač theme page hero ─────────────────────────────────── */
body.bev-event-virtual-page .hero-section,
body.bev-event-virtual-page .ct-page-hero-wrapper,
body.bev-event-virtual-page .page-hero,
body.bev-event-virtual-page [class*="page-hero"],
body.bev-event-virtual-page .entry-header,
body.bev-event-virtual-page .cb-page-header,
body.bev-event-virtual-page .site-content-inner > .page-header {
    display: none !important;
}

/* ── Virtual page wrapper ─────────────────────────────────────────────────── */
.bev-virtual-page {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: var(--bev-page-top, 80px) 24px 40px !important;
    box-sizing: border-box;
}

/* ── Event detail ─────────────────────────────────────────────────────────── */
.bev-event-detail { max-width: 100%; }

/* Hero image */
.bev-event-hero {
    border-radius: 14px; overflow: hidden; margin-bottom: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,.12);
}
.bev-event-hero__img { width: 100%; height: 400px; object-fit: cover; display: block; }
@media (max-width: 600px) { .bev-event-hero__img { height: 220px; } }

/* 2-column grid — 70/30 */
.bev-detail-grid,
body.bev-event-virtual-page .bev-detail-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
    gap: 40px;
    align-items: start;
}
/* Compact: no left col (no speakers/gallery) */
.bev-detail-grid--compact,
body.bev-event-virtual-page .bev-detail-grid--compact {
    grid-template-columns: 1fr !important;
}
@media (max-width: 900px) {
    .bev-detail-grid,
    body.bev-event-virtual-page .bev-detail-grid { grid-template-columns: 1fr !important; }
    .bev-detail-sidebar { order: -1; }
}

/* Main column */
.bev-event-detail-meta   { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.bev-event-detail-title  { font-size: 32px; line-height: 1.2; margin: 0 0 20px; color: #111827; }
@media (max-width: 600px) { .bev-event-detail-title { font-size: 24px; } }

/* Info items */
.bev-event-detail-info { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.bev-event-info-item   { display: flex; gap: 14px; align-items: flex-start; }
.bev-icon              { font-size: 20px; flex-shrink: 0; line-height: 1.4; }
.bev-info-sub          { display: block; font-size: 15px; color: #4b5563; margin-top: 2px; }

.bev-map-link     { font-size: 13px; color: #2563eb; display: inline-block; margin-top: 4px; text-decoration: none; }
.bev-map-link:hover { text-decoration: underline; }
.bev-online-note  { font-size: 15px; color: #4b5563; }
.bev-online-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    padding: 6px 14px;
    background: #2563eb;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.bev-online-join-btn:hover { background: #1d4ed8; color: #fff; text-decoration: none; }

.bev-soldout { color: #dc2626; font-weight: 700; }
.bev-urgent  { color: #d97706; font-weight: 700; }

/* Capacity progress bar */
.bev-capacity-wrap { width: 100%; }
.bev-capacity-bar {
    width: 100%; height: 8px; background: #e5e7eb; border-radius: 4px;
    margin-top: 6px; overflow: hidden;
}
.bev-capacity-fill {
    height: 100%; border-radius: 4px; background: #16a34a; transition: width .4s ease;
}
.bev-capacity-fill--warn   { background: #f59e0b; }
.bev-capacity-fill--danger { background: #dc2626; }

/* Organizer card (legacy — kept for compat) */
.bev-organizer-card {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: 10px; margin-bottom: 20px;
}
.bev-organizer-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px; color: #94a3b8; white-space: nowrap;
}
.bev-organizer-name { font-size: 14px; font-weight: 600; color: #1e293b; }

/* Organizer inline sidebar (bev-org-item) */
.bev-org-item {
    display: block;
    padding: 4px 0;
}
.bev-org-item + .bev-org-item { border-top: 1px solid #f1f5f9; margin-top: 4px; padding-top: 8px; }
.bev-org-item__name { display: block; font-size: 14px; font-weight: 600; color: #1e293b; line-height: 1.3; }
.bev-org-item__details { display: flex; flex-direction: column; gap: 2px; margin-top: 3px; }
.bev-org-field { font-size: 15px; color: #1e293b; line-height: 1.35; }
.bev-org-field--bio { color: #4b5563; font-size: 14px; margin-top: 3px; line-height: 1.55; }
a.bev-org-field {
    color: #0369a1;          /* kontrast 5.9:1 na bielom — prechádza WCAG AA */
    text-decoration: none;
    display: flex;
    align-items: center;
    min-height: 24px;        /* WCAG 2.5.5 touch target */
}
a.bev-org-field:hover { text-decoration: underline; }

/* Add to Calendar */
.bev-calendar-actions {
    display: flex; align-items: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap;
}
.bev-calendar-label { font-size: 15px; color: #4b5563; white-space: nowrap; }

/* Sidebar: label na vlastnom riadku, obe tlačidlá vedľa seba rovnako široké */
.bev-calendar-actions--sidebar { flex-wrap: wrap; gap: 8px; }
.bev-calendar-actions--sidebar .bev-calendar-label { flex: 0 0 100%; margin-bottom: 2px; }
.bev-calendar-actions--sidebar .bev-cal-btn { flex: 1 1 0; justify-content: center; white-space: nowrap; }

.bev-cal-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
    text-decoration: none; border: 2px solid transparent; transition: all .15s;
}
.bev-cal-btn--google { background: #1558b8; border-color: #1558b8; color: #fff; }  /* kontrast 5.2:1 WCAG AA ✓ */
.bev-cal-btn--google:hover { background: #fff; color: #1558b8; }
.bev-cal-btn--ical   { background: #374151; border-color: #374151; color: #fff; }
.bev-cal-btn--ical:hover { background: #fff; color: #374151; }

/* Description */
.bev-event-description { line-height: 1.75; color: #374151; }
.bev-event-description p:first-child { margin-top: 0; }

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.bev-detail-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) { .bev-detail-sidebar { position: static; } }

.bev-sidebar-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
    padding: 22px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.bev-sidebar-card__title {
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    color: #374151; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 2px solid #f3f4f6;
}

.bev-sidebar-badges { display: none; } /* badge presunutý do DL gridu */

/* Sidebar DL — 2-stĺpcový grid */
.bev-sidebar-info {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0;
}
.bev-sidebar-info__row {
    display: flex; flex-direction: column; gap: 3px;
    padding: 8px 6px 8px 0; border-bottom: 1px solid #f3f4f6;
}
.bev-sidebar-info__row:last-child { padding-bottom: 4px; border-bottom: none; }
/* Full-width row (Organizátori, Kapacita) */
.bev-sidebar-info__row--full { grid-column: 1 / -1; }
/* Badge row — dt je screen-reader-only */
.bev-sidebar-info__row--badge dd { display: flex; align-items: center; padding-top: 2px; }
.bev-sidebar-info__row dt {
    font-size: 11px; font-weight: 700; color: #64748b;
    text-transform: uppercase; letter-spacing: .4px;
    display: flex; align-items: center; gap: 6px;
}
.bev-sidebar-info__row dt span[aria-hidden] { font-size: 16px; line-height: 1; }
.bev-sidebar-info__row dd { margin: 0; font-size: 14px; color: #111827; line-height: 1.45; }
.bev-sidebar-info__row dd small { font-size: 14px; color: #4b5563; display: block; margin-top: 1px; }

/* Registration form in sidebar */
.bev-detail-sidebar .bev-registration-wrap {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
    padding: 22px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.bev-detail-sidebar .bev-reg-title { font-size: 15px; margin: 0 0 16px; color: #111827; }
.bev-detail-sidebar .bev-form-group { margin-bottom: 12px; }
.bev-detail-sidebar .bev-form-group label { font-size: 12px; }
.bev-detail-sidebar .bev-form-group input,
.bev-detail-sidebar .bev-form-group select { padding: 9px 11px; font-size: 13px; }

/* ── Registration form (standalone) ──────────────────────────────────────── */
.bev-registration-wrap {
    background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px;
    padding: 28px; margin-top: 28px;
}
.bev-reg-title { margin-top: 0; font-size: 20px; color: #111827; }

.bev-form-group       { margin-bottom: 16px; }
.bev-form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: #374151; }
.bev-form-group label span[aria-hidden] { color: #dc2626; }

.bev-form-group input,
.bev-form-group select {
    width: 100%; padding: 10px 13px; border: 1px solid #d1d5db;
    border-radius: 8px; font-size: 14px; box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s; background: #fff;
}
.bev-form-group input:focus,
.bev-form-group select:focus {
    outline: none; border-color: #1e1e2e; box-shadow: 0 0 0 3px rgba(30,30,46,.08);
}

/* ── Section title ───────────────────────────────────────────────────────── */
.bev-section-title {
    font-size: 18px; font-weight: 700; color: #111827;
    margin: 16px 0 8px; padding-top: 14px; border-top: 1px solid #f3f4f6;
}

/* ── Speakers / Moderátori ────────────────────────────────────────────────── */
.bev-speaker-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.bev-speaker-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 12px 16px; border: 1px solid #e5e7eb; border-radius: 12px;
    background: #fff; transition: border-color .15s, box-shadow .15s;
}
.bev-speaker-item:hover { border-color: #d1d5db; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.bev-speaker-avatar {
    width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
    background: #1e1e2e; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700;
}
.bev-speaker-avatar--photo {
    overflow: hidden; background: none;
}
.bev-speaker-avatar--photo img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.bev-speaker-info { flex: 1; min-width: 0; }
.bev-speaker-name  { display: block; font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 3px; }
.bev-speaker-role  { display: block; font-size: 15px; color: #4b5563; }
.bev-speaker-bio   {
    font-size: 14px; color: #4b5563; margin: 10px 0 0;
    line-height: 1.65;
}
/* Sociálne siete — osoby (speaker/moderator) */
.bev-person-socials {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px;
}
.bev-social-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 6px;
    text-decoration: none; color: #fff;
    transition: opacity .15s, transform .15s;
}
.bev-social-link:hover { opacity: .85; transform: translateY(-1px); }
.bev-social--linkedin  { background: #0a66c2; }
.bev-social--facebook  { background: #1877f2; }
.bev-social--youtube   { background: #ff0000; }
.bev-social--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.bev-social--tiktok    { background: #010101; }
/* zachovaj starý selektor pre prípad cache */
.bev-speaker-linkedin {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: 10px; font-size: 12px; font-weight: 600;
    color: #0a66c2; text-decoration: none;
    border: 1px solid #0a66c2; border-radius: 4px;
    padding: 3px 10px; transition: background .15s, color .15s;
}
.bev-speaker-linkedin:hover { background: #0a66c2; color: #fff; }
@media (max-width: 500px) {
    .bev-speaker-item { flex-direction: column; align-items: center; text-align: center; }
}

/* ── Gallery slider ───────────────────────────────────────────────────────── */
.bev-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    user-select: none;
}
.bev-slider__track {
    display: flex;
    transition: transform .35s ease;
    will-change: transform;
}
.bev-slider__slide {
    flex: 0 0 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}
.bev-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.bev-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.85);
    border: none;
    border-radius: 50%;
    width: 40px; height: 40px;
    font-size: 22px; line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.bev-slider__btn:hover { background: #fff; }
.bev-slider__btn--prev { left: 12px; }
.bev-slider__btn--next { right: 12px; }
.bev-slider__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}
.bev-slider__dot {
    /* Touch target 24×24 px (WCAG 2.5.5) — vizuálna bodka cez ::after */
    width: 24px; height: 24px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex; align-items: center; justify-content: center;
    transition: transform .15s;
}
.bev-slider__dot::after {
    content: '';
    display: block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    transition: background .15s, transform .15s;
}
.bev-slider__dot--active::after { background: #fff; transform: scale(1.35); }
@media (max-width: 600px) {
    .bev-slider__slide { height: 240px; }
}

/* ── Related events ───────────────────────────────────────────────────────── */
.bev-related-events {
    margin-top: 56px; padding-top: 36px; border-top: 2px solid #f3f4f6;
}
.bev-related-events__title { font-size: 20px; font-weight: 700; color: #111827; margin: 0 0 20px; }
.bev-related-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ── Notices ──────────────────────────────────────────────────────────────── */
.bev-notice {
    padding: 12px 16px; border-radius: 8px; font-size: 14px; margin: 12px 0;
    border-left: 4px solid #6b7280; background: #f3f4f6; color: #374151;
}
.bev-notice--info    { border-left-color: #2563eb; background: #eff6ff; color: #1e40af; }
.bev-notice--success { border-left-color: #16a34a; background: #f0fdf4; color: #14532d; }
.bev-notice--error   { border-left-color: #dc2626; background: #fef2f2; color: #7f1d1d; }

.bev-transfer-table            { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13px; }
.bev-transfer-table td         { padding: 3px 6px 3px 0; vertical-align: top; }
.bev-transfer-label            { opacity: .75; white-space: nowrap; padding-right: 12px; }

.bev-reg-msg        { margin-bottom: 16px; }
.bev-no-events      { color: #6b7280; font-style: italic; padding: 24px 0; }
.bev-soldout-notice { text-align: center; padding: 32px; color: #6b7280; font-size: 18px; }

/* ── Waitlist ──────────────────────────────────────────────────────────────── */
.bev-waitlist-wrap .bev-soldout-label {
    text-align: center; color: #dc2626; font-weight: 700; font-size: 14px;
    text-transform: uppercase; letter-spacing: .05em; margin: 0 0 8px;
}
.bev-waitlist-intro {
    font-size: 14px; color: #6b7280; margin: 0 0 16px;
}
.bev-form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.bev-btn--secondary {
    background: #f3f4f6; color: #1f2937; border: 2px solid #d1d5db; width: 100%;
    padding: 12px; border-radius: 8px; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: background .15s, border-color .15s;
}
.bev-btn--secondary:hover {
    background: #e5e7eb; border-color: #9ca3af;
}
.bev-waitlist-count {
    font-size: 12px; color: #9ca3af; text-align: center; margin-top: 8px;
}

/* ── Public calendar ──────────────────────────────────────────────────────── */
.bev-public-calendar {
    background: #fff; padding: 16px; border-radius: 10px;
    border: 1px solid #e5e7eb; font-size: 14px;
}
.bev-public-calendar .fc-event { cursor: pointer; }

/* ── Promo kód ──────────────────────────────────────────────────────────── */
.bev-promo-input-wrap {
    display: flex; gap: 8px; align-items: stretch;
}
.bev-promo-input-wrap input {
    flex: 1; text-transform: uppercase; letter-spacing: .05em;
}
.bev-btn--outline {
    background: transparent; color: var(--theme-palette-color-1, #1e1e2e);
    border: 2px solid currentColor; padding: 9px 14px; border-radius: 8px;
    font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
    transition: background .15s, color .15s;
}
.bev-btn--outline:hover {
    background: var(--theme-palette-color-1, #1e1e2e); color: #fff;
}
.bev-promo-feedback {
    font-size: 12px; margin: 5px 0 0; min-height: 16px;
}
.bev-promo-feedback.valid   { color: #16a34a; font-weight: 600; }
.bev-promo-feedback.invalid { color: #dc2626; }
.bev-promo-discount-row {
    display: flex; justify-content: space-between; font-size: 13px;
    padding: 6px 0; border-top: 1px dashed #e5e7eb; margin-top: 4px;
    color: #374151;
}
.bev-promo-discount-row strong { color: #16a34a; }

/* ── Moje registrácie portál ────────────────────────────────────────────── */
.bev-my-regs {
    max-width: 780px; margin: 0 auto; font-size: 15px;
}
.bev-my-regs--login {
    padding: 40px 24px; text-align: center;
    border: 2px dashed #e2e8f0; border-radius: 12px;
}
.bev-my-regs__title {
    font-size: 1.5rem; font-weight: 700; margin: 0 0 24px;
    color: var(--theme-palette-color-1, #1e1e2e);
}
.bev-my-regs__section { margin-bottom: 40px; }
.bev-my-regs__section-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.1rem; font-weight: 700;
    color: var(--theme-palette-color-1, #1e1e2e);
    border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; margin-bottom: 16px;
}
.bev-my-regs__section--past .bev-my-regs__section-title {
    color: #64748b;
}
.bev-my-regs__count {
    display: inline-flex; align-items: center; justify-content: center;
    background: #e2e8f0; color: #475569;
    border-radius: 20px; padding: 1px 9px; font-size: 13px; font-weight: 700;
}
.bev-my-regs__empty {
    color: #94a3b8; font-style: italic; padding: 20px 0;
}
.bev-my-regs__list {
    display: flex; flex-direction: column; gap: 12px;
}
.bev-my-regs__card {
    display: flex; gap: 16px; align-items: flex-start;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
    padding: 16px 20px; transition: box-shadow .15s;
}
.bev-my-regs__card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.bev-my-regs__card--attended {
    border-left: 4px solid #22c55e;
}
.bev-my-regs__thumb img {
    width: 80px; height: 80px; object-fit: cover;
    border-radius: 8px; flex-shrink: 0;
}
.bev-my-regs__body { flex: 1; min-width: 0; }
.bev-my-regs__meta {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px;
}
.bev-my-regs__status {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 700;
    background: #f1f5f9; color: #475569;
}
.bev-status--confirmed  { background: #dcfce7; color: #15803d; }
.bev-status--attended   { background: #dcfce7; color: #15803d; }
.bev-status--pending    { background: #fef9c3; color: #92400e; }
.bev-status--cancelled  { background: #fee2e2; color: #b91c1c; }
.bev-my-regs__event-title {
    font-size: 1rem; font-weight: 700; margin: 0 0 4px;
    color: var(--theme-palette-color-1, #1e1e2e);
}
.bev-my-regs__event-title a {
    color: inherit; text-decoration: none;
}
.bev-my-regs__event-title a:hover { text-decoration: underline; }
.bev-my-regs__date {
    display: block; font-size: 13px; color: #64748b; margin-bottom: 4px;
}
.bev-my-regs__ticket {
    font-size: 13px; color: #475569; margin: 0 0 10px;
}
.bev-my-regs__actions {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px;
}
.bev-btn--sm {
    padding: 6px 12px !important; font-size: 13px !important;
    border-radius: 6px !important;
}
.bev-btn--danger {
    background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5;
    padding: 9px 14px; border-radius: 8px;
    font-size: 13px; font-weight: 700; cursor: pointer;
    transition: background .15s, color .15s;
}
.bev-btn--danger:hover { background: #dc2626; color: #fff; border-color: #dc2626; }
.bev-my-regs__qr-panel {
    margin-top: 12px; padding: 12px;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
    text-align: center; display: inline-block;
}
.bev-my-regs__qr-code {
    margin: 6px 0 0; font-size: 13px; font-weight: 700;
    letter-spacing: .1em; color: #374151;
}

@media (max-width: 600px) {
    .bev-my-regs__card { flex-direction: column; }
    .bev-my-regs__thumb img { width: 100%; height: 160px; }
    .bev-my-regs__actions { flex-direction: column; }
    .bev-my-regs__actions .bev-btn { text-align: center; }
}

/* ── Skupinová registrácia ──────────────────────────────────────────────────── */
.bev-group-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.bev-group-toggle {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--bev-primary, #0073aa);
}

.bev-group-fields {
    background: var(--bev-bg-soft, #f8f9fa);
    border: 1px solid var(--bev-border, #e5e7eb);
    border-radius: 8px;
    padding: 16px;
    margin-top: 8px;
}

.bev-group-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--bev-border, #d1d5db);
    border-radius: 6px;
    overflow: hidden;
}

.bev-group-step {
    background: var(--bev-bg, #fff);
    border: none;
    padding: 6px 14px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: var(--bev-primary, #0073aa);
    transition: background .15s;
}

.bev-group-step:hover:not(:disabled) {
    background: var(--bev-primary-light, #e0f0fa);
}

.bev-group-step:disabled {
    color: #aaa;
    cursor: not-allowed;
}

.bev-group-size-display {
    padding: 6px 16px;
    font-size: 15px;
    font-weight: 600;
    border-left: 1px solid var(--bev-border, #d1d5db);
    border-right: 1px solid var(--bev-border, #d1d5db);
    min-width: 48px;
    text-align: center;
    background: var(--bev-bg, #fff);
}

.bev-group-attendees {
    margin-top: 12px;
}

.bev-group-attendee-row legend {
    font-size: 13px;
    font-weight: 600;
}

.bev-group-attendee-row .bev-input {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--bev-border, #d1d5db);
    border-radius: 5px;
    font-size: 14px;
    background: var(--bev-bg, #fff);
    color: var(--bev-text, #333);
    box-sizing: border-box;
}

.bev-group-attendee-row .bev-input:focus {
    outline: 2px solid var(--bev-primary, #0073aa);
    outline-offset: 1px;
    border-color: transparent;
}

@media (max-width: 480px) {
    .bev-group-stepper { width: 100%; justify-content: center; }
}

/* ── Agenda / Program ─────────────────────────────────────────────────────── */
.bev-agenda {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}
.bev-agenda-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 16px;
}
.bev-agenda-day + .bev-agenda-day {
    margin-top: 20px;
}
.bev-agenda-day-label {
    font-size: .95rem;
    font-weight: 600;
    color: var(--wp--preset--color--primary, #1e1e2e);
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid currentColor;
}
.bev-agenda-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bev-agenda-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}
.bev-agenda-summary {
    display: grid;
    grid-template-columns: 110px 1fr auto auto;
    align-items: center;
    gap: 8px 12px;
    padding: 10px 14px;
    cursor: pointer;
    list-style: none;
}
.bev-agenda-summary--plain {
    cursor: default;
}
.bev-agenda-summary::-webkit-details-marker { display: none; }
.bev-agenda-details[open] .bev-agenda-summary {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}
.bev-agenda-time {
    font-variant-numeric: tabular-nums;
    font-size: .82rem;
    color: #6b7280;
    white-space: nowrap;
}
.bev-agenda-session-title {
    font-weight: 600;
    font-size: .95rem;
}
.bev-agenda-speaker,
.bev-agenda-room {
    font-size: .8rem;
    color: #6b7280;
    white-space: nowrap;
}
.bev-agenda-body {
    padding: 10px 14px;
    font-size: .9rem;
    color: #374151;
    line-height: 1.6;
}
@media (max-width: 600px) {
    .bev-agenda-summary {
        grid-template-columns: 1fr;
    }
    .bev-agenda-time { order: -1; }
}

/* ── Social sharing ─────────────────────────────────────────────────────────── */
.bev-share {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    margin: 32px 0 24px;
    padding: 16px 20px;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px;
}
.bev-share__label {
    font-size: 13px; font-weight: 600; color: #6b7280;
    margin-right: 4px; text-transform: uppercase; letter-spacing: .5px;
}
.bev-share__btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 6px;
    font-size: 13px; font-weight: 600; text-decoration: none;
    transition: opacity .15s, transform .1s;
    color: #fff; line-height: 1;
}
.bev-share__btn:hover { opacity: .88; transform: translateY(-1px); }
.bev-share__btn:focus-visible {
    outline: 2px solid currentColor; outline-offset: 2px;
}
.bev-share__btn--fb { background: #1877f2; }
.bev-share__btn--li { background: #0a66c2; }
.bev-share__btn--wa { background: #25d366; }
@media (max-width: 480px) {
    .bev-share { flex-direction: column; align-items: flex-start; }
    .bev-share__btn { width: 100%; justify-content: center; }
}

/* ── Podmienečné vlastné polia formulára ──────────────────────────────────── */
.bev-custom-fields { margin-top: 4px; }

.bev-cf-field { transition: opacity .15s; }
.bev-cf-field[style*="display: none"] { opacity: 0; }

.bev-cf-field input[type="text"],
.bev-cf-field input[type="email"],
.bev-cf-field input[type="tel"],
.bev-cf-field select,
.bev-cf-field textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.5;
    background: #fff;
    color: #111827;
    transition: border-color .15s, box-shadow .15s;
}
.bev-cf-field input:focus,
.bev-cf-field select:focus,
.bev-cf-field textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.bev-cf-field textarea { resize: vertical; min-height: 80px; }

.bev-cf-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
}
.bev-cf-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #6366f1;
    cursor: pointer;
}

/* ── Featured event badge ─────────────────────────────────────────────────── */
.bev-event-card--featured {
    position: relative;
    border: 2px solid #f59e0b;
    box-shadow: 0 0 0 4px rgba(245,158,11,.08);
}
.bev-event-featured-badge {
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: .03em;
    z-index: 2;
    pointer-events: none;
}

/* ── Add to Calendar — Outlook tlačidlo ──────────────────────────────────── */
.bev-cal-btn--outlook {
    background: #0078d4;
    color: #fff !important;
}
.bev-cal-btn--outlook:hover {
    background: #005a9e;
}

/* ── Countdown timer ─────────────────────────────────────────────────────── */
.bev-countdown {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-radius: 12px;
    padding: 18px 16px 14px;
    margin-bottom: 16px;
    text-align: center;
    color: #fff;
}
.bev-countdown__label-main {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #a5b4fc;
    margin: 0 0 12px;
    font-weight: 600;
}
.bev-countdown__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.bev-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    padding: 10px 6px 8px;
}
.bev-countdown__val {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #fff;
}
.bev-countdown__unit-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #a5b4fc;
    margin-top: 4px;
}
.bev-countdown--live {
    background: linear-gradient(135deg, #7f1d1d 0%, #dc2626 100%);
}
.bev-countdown__live-msg {
    margin: 0;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    padding: 4px 0;
}

@media (max-width: 360px) {
    .bev-countdown__val { font-size: 22px; }
}
