/* ============================================
   Evenimente — Listing & Detail (frontend)
   Uses theme tokens defined in styles.css
   ============================================ */

/* ====== Listing: Hero ====== */
.ev-hero {
    padding: 7rem 0 4rem;
    overflow: hidden;
}
.ev-hero-bg {
    background: linear-gradient(180deg, hsl(222, 47%, 8%) 0%, hsl(222, 47%, 6%) 100%);
}
.ev-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    pointer-events: none;
}
.ev-hero-glow-1 {
    width: 480px;
    height: 480px;
    background: hsl(187, 100%, 50%);
    top: -180px;
    right: -120px;
    opacity: 0.18;
}
.ev-hero-glow-2 {
    width: 420px;
    height: 420px;
    background: hsl(38, 100%, 50%);
    bottom: -180px;
    left: -120px;
    opacity: 0.16;
}

/* ====== Listing: Section ====== */
.ev-listing {
    padding-top: 3rem;
    padding-bottom: 5rem;
}

/* ====== Card ====== */
.ev-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.ev-card-link:hover { color: inherit; }

.ev-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border-radius: 1.25rem;
}
.ev-card-link:hover .ev-card {
    transform: translateY(-6px);
    border-color: hsla(187, 100%, 50%, 0.45);
    box-shadow: 0 20px 60px -20px hsla(187, 100%, 50%, 0.35);
}

/* Card media */
.ev-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--muted);
}
.ev-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.ev-card-link:hover .ev-card-img { transform: scale(1.06); }

.ev-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsla(187, 100%, 50%, 0.5);
    font-size: 4rem;
    background: linear-gradient(135deg, hsla(187, 100%, 50%, 0.08), hsla(38, 100%, 50%, 0.08));
}
.ev-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, hsla(222, 47%, 6%, 0.55) 100%);
    pointer-events: none;
}

/* Card badges */
.ev-card-tip {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(12px);
}
.ev-card-tip i { font-size: 0.85rem; }
.ev-card-tip--primary {
    background: hsla(187, 100%, 50%, 0.92);
    color: var(--primary-foreground);
}
.ev-card-tip--secondary {
    background: hsla(38, 100%, 50%, 0.92);
    color: var(--secondary-foreground);
}

.ev-card-date {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
    text-align: center;
    min-width: 64px;
    box-shadow: 0 6px 20px hsla(222, 47%, 3%, 0.5);
}
.ev-card-date-day {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 700;
    color: var(--foreground);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.ev-card-date-month {
    display: block;
    font-size: 0.7rem;
    margin-top: 0.2rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ev-card-countdown {
    position: absolute;
    bottom: 0.875rem;
    left: 0.875rem;
    background: hsla(0, 85%, 60%, 0.95);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px hsla(0, 85%, 60%, 0.4);
}

/* Card body */
.ev-card-body {
    padding: 1.5rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.ev-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}
.ev-card-desc {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}
.ev-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    color: var(--muted-foreground);
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
}
.ev-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.ev-card-meta-item i { color: var(--primary); }

.ev-card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.25s ease;
}
.ev-card-link:hover .ev-card-cta { gap: 0.85rem; }
.ev-card-cta i { transition: transform 0.25s ease; }

/* ====== Empty state ====== */
.ev-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: hsla(187, 100%, 50%, 0.08);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

/* ============================================
   DETAIL PAGE
   ============================================ */
.ev-detail-hero {
    padding: 7rem 0 4rem;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
}
.ev-detail-hero-bg {
    background: var(--background);
}
.ev-detail-hero-img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}
.ev-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 80% at 50% 0%, hsla(222, 47%, 6%, 0.55) 0%, hsla(222, 47%, 6%, 0.85) 60%, hsla(222, 47%, 6%, 1) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.2) 0%, hsla(222, 47%, 6%, 0.85) 100%);
}

.ev-detail-back {
    text-decoration: none;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.ev-detail-back:hover {
    color: var(--primary);
    transform: translateX(-3px);
}

.ev-detail-hero-content {
    max-width: 820px;
}

/* ====== Body section ====== */
.ev-detail-body {
    padding-top: 3rem;
    padding-bottom: 5rem;
}

/* Cards */
.ev-detail-card {
    border-radius: 1.25rem;
    overflow: hidden;
}
.ev-detail-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}
.ev-detail-card-header h2 {
    color: var(--foreground);
}
.ev-detail-card-header i {
    font-size: 1.15rem;
}
.ev-detail-card-body {
    padding: 1.5rem;
}

/* Description content */
.ev-detail-description {
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.75;
}
.ev-detail-description p { margin-bottom: 1rem; }
.ev-detail-description h1,
.ev-detail-description h2,
.ev-detail-description h3,
.ev-detail-description h4 {
    color: var(--foreground);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.ev-detail-description ul,
.ev-detail-description ol {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}
.ev-detail-description li { margin-bottom: 0.4rem; }
.ev-detail-description a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ev-detail-description img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1rem 0;
}

/* Aside info list */
.ev-detail-aside { position: sticky; top: 100px; }

.ev-detail-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ev-detail-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}
.ev-detail-info-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.ev-info-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 0.6rem;
    background: hsla(187, 100%, 50%, 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.ev-info-label {
    display: block;
    font-size: 0.7rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.15rem;
}
.ev-info-value {
    display: block;
    color: var(--foreground);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
}
.ev-info-hint {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted-foreground);
    font-size: 0.78rem;
    line-height: 1.4;
}
.ev-info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.45rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
}
.ev-info-link:hover { color: var(--secondary); }

/* Pachete list */
.ev-detail-pachete {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.ev-detail-pachete li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--foreground);
    font-size: 0.9rem;
}
.ev-detail-pachete li > span:nth-of-type(1) { flex: 1 1 auto; }

/* Action card */
.ev-detail-action .ev-detail-card-body { padding: 1.5rem 1.25rem; }
.ev-detail-back-list {
    text-decoration: none;
    color: var(--muted-foreground);
    font-size: 0.85rem;
}
.ev-detail-back-list:hover { color: var(--primary); }

/* ====== Description: 3-line clamp + read more ====== */
.ev-description-wrap { position: relative; }

.ev-detail-description.ev-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* fade-out effect for the clamped text */
    -webkit-mask-image: linear-gradient(180deg, #000 60%, rgba(0,0,0,0.35) 100%);
            mask-image: linear-gradient(180deg, #000 60%, rgba(0,0,0,0.35) 100%);
}
.ev-detail-description.ev-expanded {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-mask-image: none;
            mask-image: none;
}

.ev-readmore-link {
    margin-top: 0.85rem;
    background: none;
    border: 0;
    padding: 0;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}
.ev-readmore-link:hover { color: var(--secondary); }
.ev-readmore-link i {
    transition: transform 0.25s ease;
    font-size: 0.85rem;
}
.ev-readmore-link[aria-expanded="true"] i { transform: rotate(180deg); }

/* ====== Zoom Card ====== */
.ev-zoom-card {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid hsla(187, 100%, 50%, 0.18);
    box-shadow: 0 18px 60px -28px hsla(187, 100%, 50%, 0.5);
}
.ev-zoom-card-header {
    gap: 0.75rem;
}
.ev-zoom-card-header h2 { flex: 1 1 auto; }

.ev-zoom-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ev-zoom-badge-live {
    background: hsla(0, 85%, 60%, 0.15);
    color: hsl(0, 85%, 70%);
    border: 1px solid hsla(0, 85%, 60%, 0.45);
}
.ev-zoom-badge-soon {
    background: hsla(38, 100%, 50%, 0.12);
    color: var(--secondary);
    border: 1px solid hsla(38, 100%, 50%, 0.35);
}
.ev-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: hsl(0, 85%, 60%);
    box-shadow: 0 0 0 0 hsla(0, 85%, 60%, 0.7);
    animation: evPulse 1.5s infinite;
}
@keyframes evPulse {
    0% { box-shadow: 0 0 0 0 hsla(0, 85%, 60%, 0.7); }
    70% { box-shadow: 0 0 0 10px hsla(0, 85%, 60%, 0); }
    100% { box-shadow: 0 0 0 0 hsla(0, 85%, 60%, 0); }
}

.ev-zoom-card-body { padding: 1.75rem 1.5rem; }
.ev-meet-state { display: block; }
.ev-meet-state.hide { display: none; }

/* ====== Countdown ====== */
.ev-countdown {
    text-align: center;
    padding: 0.5rem 0 0.25rem;
}
.ev-countdown-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
}
.ev-countdown-label i { color: var(--primary); }

.ev-countdown-grid {
    display: inline-flex;
    align-items: stretch;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.ev-countdown-box {
    min-width: 92px;
    padding: 1rem 1rem 0.75rem;
    border-radius: 0.85rem;
    background:
        linear-gradient(180deg, hsla(222, 47%, 12%, 0.85) 0%, hsla(222, 47%, 8%, 0.95) 100%);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 hsla(187, 100%, 50%, 0.08), 0 8px 22px -8px hsla(222, 47%, 3%, 0.6);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}
.ev-countdown-box::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsla(187, 100%, 50%, 0.5), transparent);
}
.ev-countdown-box-seconds .ev-countdown-num {
    color: var(--secondary);
}

.ev-countdown-num {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2.6rem;
    line-height: 1;
    font-weight: 700;
    color: var(--foreground);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.ev-countdown-box-seconds .ev-countdown-num {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ev-countdown-unit {
    margin-top: 0.4rem;
    color: var(--muted-foreground);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.ev-countdown-sep {
    align-self: center;
    color: hsla(187, 100%, 50%, 0.35);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    padding: 0 0.1rem;
    user-select: none;
}
.ev-countdown-flip {
    animation: evFlip 0.5s ease;
}
@keyframes evFlip {
    0% { transform: translateY(-3px); opacity: 0.4; }
    100% { transform: translateY(0); opacity: 1; }
}

.ev-meet-helper {
    color: var(--muted-foreground);
    font-size: 0.85rem;
}

/* ====== Ready / Embed / Past states ====== */
.ev-meet-ready {
    text-align: center;
    padding: 0.5rem 0;
}
.ev-meet-ready-icon,
.ev-meet-past-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: hsla(187, 100%, 50%, 0.12);
    color: var(--primary);
    border: 1px solid hsla(187, 100%, 50%, 0.3);
}
.ev-meet-past-icon {
    background: hsla(142, 71%, 45%, 0.14);
    color: hsl(142, 71%, 55%);
    border-color: hsla(142, 71%, 45%, 0.4);
}
.ev-meet-actions {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}
.ev-meet-no-link {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Fallback panel (shown only when SDK init fails) */
.ev-meet-fallback {
    margin-top: 1.5rem;
}
.ev-meet-fallback-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    border-radius: 0.85rem;
    background: hsla(38, 100%, 50%, 0.08);
    border: 1px solid hsla(38, 100%, 50%, 0.25);
    text-align: center;
}
.ev-meet-fallback-inner i { font-size: 1.5rem; }

/* Embed view */
.ev-meet-embed { padding: 0; }
.ev-meet-embed-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 0.85rem;
    margin-bottom: 1rem;
}
.ev-meet-embed-toolbar-left,
.ev-meet-embed-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ev-meet-embed-title {
    color: var(--foreground);
    font-weight: 600;
    font-size: 0.9rem;
}
.ev-meet-fallback-link {
    color: var(--muted-foreground);
    font-size: 0.8125rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.ev-meet-fallback-link:hover { color: var(--primary); }
.ev-btn-leave {
    background: hsla(0, 85%, 60%, 0.12);
    color: hsl(0, 85%, 70%);
    border: 1px solid hsla(0, 85%, 60%, 0.4);
    padding: 0.4rem 0.9rem;
    border-radius: 0.55rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}
.ev-btn-leave:hover {
    background: hsla(0, 85%, 60%, 0.2);
    color: hsl(0, 85%, 75%);
}

.ev-zoom-root {
    width: 100%;
    min-height: 720px;
    aspect-ratio: 16 / 9;
    border-radius: 0.85rem;
    overflow: hidden;
    background: hsl(222, 47%, 4%);
    border: 1px solid hsla(187, 100%, 50%, 0.15);
    box-shadow: inset 0 0 0 4px hsla(222, 47%, 8%, 0.6), 0 12px 40px -12px hsla(187, 100%, 50%, 0.25);
}

/* ====== Locked state (no access) ====== */
.ev-meet-locked { padding: 0; }

.ev-locked-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid hsla(38, 100%, 50%, 0.18);
    box-shadow: inset 0 0 0 4px hsla(222, 47%, 8%, 0.6), 0 12px 40px -12px hsla(38, 100%, 50%, 0.25);
    margin-bottom: 1.75rem;
}
.ev-locked-blur {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, hsla(187, 100%, 50%, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 70% 75%, hsla(38, 100%, 50%, 0.16) 0%, transparent 55%),
        linear-gradient(135deg, hsl(222, 47%, 8%) 0%, hsl(222, 47%, 4%) 100%);
    filter: blur(2px) saturate(0.85);
}
.ev-locked-blur::before,
.ev-locked-blur::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, hsla(187, 100%, 50%, 0.06) 0 1px, transparent 1px 32px),
        repeating-linear-gradient(90deg, hsla(187, 100%, 50%, 0.06) 0 1px, transparent 1px 32px);
    pointer-events: none;
    filter: blur(1px);
    mix-blend-mode: screen;
}
.ev-locked-blur::after {
    background-image: linear-gradient(180deg, transparent 0%, hsla(222, 47%, 4%, 0.6) 100%);
}
.ev-locked-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 60%, hsla(38, 100%, 50%, 0.18) 0%, transparent 45%);
    animation: evLockedGlow 4s ease-in-out infinite;
}
@keyframes evLockedGlow {
    0%, 100% { opacity: 0.55; }
    50%      { opacity: 1; }
}

.ev-locked-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px) saturate(1.2);
    -webkit-backdrop-filter: blur(6px) saturate(1.2);
    background: hsla(222, 47%, 4%, 0.4);
}

.ev-locked-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsla(38, 100%, 50%, 0.25), hsla(38, 100%, 50%, 0.1));
    border: 1px solid hsla(38, 100%, 50%, 0.55);
    color: var(--secondary);
    font-size: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px hsla(38, 100%, 50%, 0.08), 0 12px 36px hsla(38, 100%, 50%, 0.35);
    animation: evLockBounce 3s ease-in-out infinite;
}
@keyframes evLockBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.ev-locked-countdown { margin-bottom: 1.5rem; }
.ev-locked-countdown .ev-countdown-label {
    justify-content: center;
    width: 100%;
}
.ev-locked-countdown .ev-countdown-grid {
    display: flex;
    justify-content: center;
}

.ev-locked-message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: 0.85rem;
    background: hsla(38, 100%, 50%, 0.08);
    border: 1px solid hsla(38, 100%, 50%, 0.2);
    margin-bottom: 1.25rem;
}
.ev-locked-message i {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.ev-locked-message p {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    line-height: 1.55;
}

.ev-locked-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}
.ev-locked-login-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}
.ev-locked-login-link:hover { color: var(--primary); }
.ev-locked-login-link strong { color: var(--primary); }

/* ====== Cod-de-acces invitation row (inside locked card) ====== */
.ev-locked-cod-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    max-width: 640px;
    margin: 1.75rem auto 0;
    padding: 1.25rem 1.25rem;
    background:
        linear-gradient(135deg, hsla(38, 100%, 50%, 0.08), hsla(187, 100%, 50%, 0.05));
    border: 1px solid hsla(38, 100%, 50%, 0.28);
    border-radius: 0.85rem;
    text-align: left;
}
.ev-locked-cod-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 0.7rem;
    background: hsla(38, 100%, 50%, 0.18);
    color: var(--secondary);
    border: 1px solid hsla(38, 100%, 50%, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 14px hsla(38, 100%, 50%, 0.18);
}
.ev-locked-cod-content { flex: 1 1 auto; min-width: 0; }
.ev-locked-cod-title {
    margin: 0 0 0.2rem 0;
    color: var(--foreground);
    font-size: 1rem;
    font-weight: 700;
}
.ev-locked-cod-subtitle {
    margin: 0 0 0.85rem 0;
    color: var(--muted-foreground);
    font-size: 0.85rem;
    line-height: 1.5;
}

.ev-locked-cod-input-group { max-width: 100%; }
.ev-locked-cod-input {
    background: hsla(222, 47%, 5%, 0.7) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--foreground) !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: 'Space Grotesk', 'Courier New', monospace;
    font-weight: 600;
}
.ev-locked-cod-input::placeholder {
    color: hsla(210, 30%, 70%, 0.45);
    text-transform: none;
    letter-spacing: normal;
    font-weight: normal;
}
.ev-locked-cod-input:focus {
    border-color: hsla(187, 100%, 50%, 0.55) !important;
    box-shadow: 0 0 0 3px hsla(187, 100%, 50%, 0.15) !important;
}
.ev-locked-cod-submit {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    padding: 0.65rem 1.1rem !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem !important;
}

/* Too-early state: shown when > 15 min before the event starts */
.ev-locked-cod-too-early {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 0.65rem;
    background: hsla(38, 100%, 50%, 0.06);
    border: 1px dashed hsla(38, 100%, 50%, 0.32);
    color: var(--muted-foreground);
    font-size: 0.85rem;
    line-height: 1.5;
}
.ev-locked-cod-too-early i {
    flex-shrink: 0;
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}
.ev-locked-cod-too-early strong {
    color: var(--foreground);
    margin-bottom: 0.15rem;
}

@media (max-width: 575.98px) {
    .ev-locked-cod-row {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .ev-locked-cod-icon { margin: 0 auto; }
}

/* ====== Inquiry Modal ====== */
.ev-inquiry-modal .modal-dialog { max-width: 580px; }

.ev-inquiry-content {
    background: hsl(222, 47%, 8%);
    border: 1px solid var(--glass-border);
    border-radius: 1.1rem;
    color: var(--foreground);
    overflow: hidden;
    box-shadow: 0 30px 80px -20px hsla(222, 47%, 3%, 0.9);
}
.ev-inquiry-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(135deg, hsla(187, 100%, 50%, 0.08), hsla(38, 100%, 50%, 0.05));
}
.ev-inquiry-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.7rem;
    background: hsla(187, 100%, 50%, 0.14);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.ev-inquiry-header .modal-title {
    color: var(--foreground);
    font-weight: 700;
    margin-bottom: 0.1rem;
}
.ev-inquiry-subtitle {
    color: var(--muted-foreground);
    font-size: 0.8rem;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ev-inquiry-body { padding: 1.4rem 1.5rem 1rem; }
.ev-inquiry-intro {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}
.ev-inquiry-input {
    background: hsla(222, 47%, 5%, 0.7);
    border: 1px solid var(--glass-border);
    color: var(--foreground);
    border-radius: 0.6rem;
    padding: 0.65rem 0.85rem;
}
.ev-inquiry-input::placeholder { color: hsla(210, 30%, 70%, 0.45); }
.ev-inquiry-input:focus {
    background: hsla(222, 47%, 5%, 0.95);
    border-color: hsla(187, 100%, 50%, 0.55);
    box-shadow: 0 0 0 3px hsla(187, 100%, 50%, 0.15);
    color: var(--foreground);
}
.ev-inquiry-input.is-invalid {
    border-color: hsla(0, 85%, 60%, 0.55);
    box-shadow: 0 0 0 3px hsla(0, 85%, 60%, 0.12);
}
.ev-inquiry-modal .form-label {
    color: var(--foreground);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}
.ev-inquiry-footer {
    border-top: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    background: hsla(222, 47%, 5%, 0.5);
}

.ev-inquiry-success {
    text-align: center;
    padding: 1.5rem 1rem 0.5rem;
}
.ev-inquiry-success i {
    font-size: 3rem;
    color: hsl(142, 71%, 55%);
    margin-bottom: 0.75rem;
    display: block;
    animation: evPopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ev-inquiry-success h5 { color: var(--foreground); }
.ev-inquiry-success p { color: var(--muted-foreground); }
@keyframes evPopIn {
    0%   { transform: scale(0.4); opacity: 0; }
    100% { transform: scale(1);   opacity: 1; }
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
    .ev-zoom-root { min-height: 280px; aspect-ratio: 16 / 10; }
    .ev-locked-stage { min-height: 220px; }
    .ev-locked-icon { width: 78px; height: 78px; font-size: 2.1rem; }
}

/* ====== Responsive ====== */
@media (max-width: 991.98px) {
    .ev-detail-aside { position: static; }
    .ev-detail-hero { padding: 6rem 0 3rem; min-height: auto; }
}
@media (max-width: 575.98px) {
    .ev-hero { padding: 6rem 0 3rem; }
    .ev-card-body { padding: 1.25rem; }
    .ev-card-title { font-size: 1.1rem; }
    .ev-detail-hero-content h1 { font-size: 2.25rem; }

    .ev-countdown-box { min-width: 64px; padding: 0.75rem 0.5rem 0.5rem; }
    .ev-countdown-num { font-size: 1.85rem; }
    .ev-countdown-unit { font-size: 0.6rem; }
    .ev-countdown-sep { font-size: 1.3rem; }
    .ev-countdown-grid { gap: 0.3rem; }
    .ev-zoom-root { min-height: 380px; }
    .ev-meet-embed-toolbar { padding: 0.6rem 0.75rem; }
}

/* ============================================
   Ticket purchase card (paid intalnire_fizica)
   ============================================ */
.ev-ticket-card {
    position: relative;
    overflow: hidden;
    border: 1px solid hsla(187, 100%, 50%, 0.28);
    background:
        radial-gradient(circle at 0% 0%, hsla(187, 100%, 50%, 0.10) 0%, transparent 55%),
        radial-gradient(circle at 100% 100%, hsla(38, 100%, 50%, 0.08) 0%, transparent 55%),
        var(--card);
    box-shadow: 0 14px 40px hsla(187, 100%, 50%, 0.06);
}
.ev-ticket-card-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.ev-ticket-card-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, hsla(187, 100%, 50%, 0.22) 0%, transparent 70%);
    filter: blur(50px);
    border-radius: 50%;
}
.ev-ticket-card-inner {
    position: relative;
    z-index: 2;
    padding: 1.5rem 1.4rem 1.4rem;
}
.ev-ticket-card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}
.ev-ticket-card-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--primary) 0%, hsl(187, 100%, 42%) 100%);
    color: hsl(222, 47%, 6%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 6px 20px hsla(187, 100%, 50%, 0.35);
}
.ev-ticket-card-head-text { line-height: 1.15; min-width: 0; flex: 1; }
.ev-ticket-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 5px;
}
.ev-ticket-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--foreground);
    letter-spacing: -0.01em;
}

.ev-ticket-price-block {
    position: relative;
    margin-bottom: 1.25rem;
    padding: 1.1rem 1.15rem 1.15rem;
    border-radius: 14px;
    background: hsla(222, 47%, 12%, 0.55);
    border: 1px solid hsla(187, 100%, 50%, 0.18);
}
.ev-ticket-price-block.has-discount {
    border-color: hsla(38, 100%, 50%, 0.4);
    background:
        linear-gradient(135deg, hsla(38, 100%, 50%, 0.06) 0%, hsla(187, 100%, 50%, 0.04) 100%),
        hsla(222, 47%, 12%, 0.55);
}
.ev-ticket-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: hsla(38, 100%, 50%, 0.18);
    border: 1px solid hsla(38, 100%, 50%, 0.35);
    color: hsl(38, 100%, 70%);
    margin-bottom: 0.65rem;
    letter-spacing: 0.02em;
}
.ev-ticket-discount-badge i { font-size: 0.85rem; }
.ev-ticket-discount-badge strong { color: hsl(38, 100%, 80%); font-weight: 700; }

.ev-ticket-prices {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    flex-wrap: wrap;
}
.ev-ticket-price-old {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--muted-foreground);
    opacity: 0.65;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: hsla(0, 84%, 65%, 0.85);
}
.ev-ticket-price-new {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
}
.ev-ticket-price-suffix {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted-foreground);
    -webkit-text-fill-color: var(--muted-foreground);
    background: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}
.ev-ticket-savings {
    margin: 0.65rem 0 0 0;
    font-size: 0.78rem;
    color: hsl(38, 100%, 75%);
    font-weight: 600;
}
.ev-ticket-savings i { margin-right: 4px; }

.ev-ticket-hint {
    font-size: 0.78rem;
    color: var(--muted-foreground);
    opacity: 0.85;
    margin: 0.65rem 0 0 0;
    line-height: 1.5;
}
.ev-ticket-hint i { color: var(--primary); }
.ev-ticket-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.ev-ticket-link:hover { text-decoration: underline; }

.ev-ticket-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.3rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.86rem;
    color: var(--muted-foreground);
}
.ev-ticket-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    line-height: 1.4;
}
.ev-ticket-features i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.ev-ticket-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
    padding: 0.5rem 0.7rem 0.5rem 0.85rem;
    border-radius: 12px;
    background: hsla(222, 47%, 12%, 0.55);
    border: 1px solid hsla(187, 100%, 50%, 0.18);
}
.ev-ticket-qty-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}
.ev-ticket-qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid hsla(187, 100%, 50%, 0.30);
    border-radius: 10px;
    overflow: hidden;
    background: hsla(0, 0%, 0%, 0.18);
}
.ev-ticket-qty-btn {
    width: 36px;
    border: none;
    background: transparent;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ev-ticket-qty-btn:hover { background: hsla(187, 100%, 50%, 0.12); }
.ev-ticket-qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.ev-ticket-qty-input {
    width: 52px;
    border: none;
    border-left: 1px solid hsla(187, 100%, 50%, 0.20);
    border-right: 1px solid hsla(187, 100%, 50%, 0.20);
    background: transparent;
    color: var(--foreground);
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    -moz-appearance: textfield;
}
.ev-ticket-qty-input::-webkit-outer-spin-button,
.ev-ticket-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.ev-ticket-qty-input:focus { outline: none; }

.ev-ticket-cta {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.95rem;
}
.ev-ticket-cta i { font-size: 1.15rem; }
.ev-ticket-cta.dezactivat {
    opacity: 0.85;
    cursor: default;
    pointer-events: none;
    background: hsla(187, 100%, 50%, 0.15);
    color: var(--primary);
    border: 1px solid hsla(187, 100%, 50%, 0.3);
}
.ev-ticket-cta-disabled {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: hsla(0, 0%, 100%, 0.04);
    border: 1px solid hsla(0, 0%, 100%, 0.06);
    color: var(--muted-foreground);
    font-size: 0.85rem;
    font-weight: 600;
}
.ev-ticket-secure {
    margin: 0.85rem 0 0 0;
    text-align: center;
    font-size: 0.74rem;
    color: var(--muted-foreground);
    opacity: 0.75;
    letter-spacing: 0.02em;
}
.ev-ticket-secure i { color: var(--primary); }

@media (max-width: 768px) {
    .ev-ticket-card-inner { padding: 1.2rem; }
    .ev-ticket-price-new { font-size: 1.85rem; }
    .ev-ticket-card-icon { width: 42px; height: 42px; font-size: 1.3rem; }
    .ev-ticket-title { font-size: 1.1rem; }
}

/* Zoom Meeting SDK popout panels (Participants, Chat, Settings) are rendered
   at body level and need to stack above the page sidebar cards. Use a broad
   selector because Zoom's class names are generated and vary by panel. */
[class*="zmwebsdk-"] {
    z-index: 10000 !important;
}
