@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");

:root {
    --bg: #0F1117;
    --bg-soft: #171A21;
    --bg-card: #222630;
    --surface: #171A21;
    --surface-soft: #222630;
    --surface-strong: #2b303b;
    --text: #FFFFFF;
    --muted: #A7B0C0;
    --muted-light: #CBD2DF;
    --pink: #F5A4A6;
    --pink-light: #ffd2d3;
    --pink-soft: rgba(245, 164, 166, 0.14);
    --pink-pale: rgba(245, 164, 166, 0.08);
    --pink-dark: #df8184;
    --blue: #70B3FA;
    --blue-light: #a8d2ff;
    --blue-soft: rgba(112, 179, 250, 0.14);
    --blue-pale: rgba(112, 179, 250, 0.08);
    --blue-dark: #4c9bee;
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.22);
    --success: #57D68D;
    --success-soft: rgba(87, 214, 141, 0.14);
    --danger: #FF6F91;
    --danger-soft: rgba(255, 111, 145, 0.14);
    --warning: #FFD166;
    --warning-soft: rgba(255, 209, 102, 0.14);
    --site-container: 1280px;
    --site-padding: 40px;
    --panel: var(--surface);
    --panel2: var(--surface-soft);
    --gold: var(--pink);
    --gold2: var(--blue);
    --rosa3: var(--pink);
}

/* =========================
   RESET
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 80% -10%, rgba(245, 164, 166, 0.13) 0, transparent 440px),
        radial-gradient(circle at 8% 10%, rgba(112, 179, 250, 0.10) 0, transparent 500px),
        var(--bg);
    color: var(--text);
    font-family:
        Poppins,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: var(--pink);
    color: var(--bg);
}

/* =========================================================
   HEADER PÚBLICO
========================================================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 72px;
    padding: 0;
    background: rgba(15, 17, 23, 0.86);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.topbar-inner {
    width: min(calc(100% - var(--site-padding)), var(--site-container));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.topbar .brand {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    color: var(--text);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.055em;
    white-space: nowrap;
}

.topbar .brand span {
    color: var(--pink);
}

.public-nav {
    height: 100%;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.public-nav-link,
.nav-dropdown-trigger {
    min-height: 42px;
    margin: 0;
    padding: 10px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.public-nav-link:hover,
.nav-dropdown-trigger:hover,
.nav-dropdown[open] .nav-dropdown-trigger {
    border-color: rgba(245, 164, 166, 0.38);
    background: var(--pink-soft);
    color: var(--pink);
}

.guaranteed-entry-link {
    border-color: var(--pink);
    background: var(--pink);
    color: var(--bg);
}

.guaranteed-entry-link:hover {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--bg);
}

.topbar-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.topbar-right:empty {
    display: none;
}

.admin-link,
.mini-btn {
    min-height: 42px;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    transition:
        color 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.admin-link:hover,
.mini-btn:hover {
    border-color: var(--pink);
    background: var(--pink);
    color: var(--bg);
    transform: translateY(-1px);
}

/* =========================
   DROPDOWN
========================= */

.nav-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-dropdown summary {
    list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.nav-dropdown[open] .nav-dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 120;
    width: 310px;
    padding: 9px;
    display: grid;
    gap: 6px;
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    background: rgba(23, 26, 33, 0.98);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-dropdown-menu::before {
    position: absolute;
    top: -7px;
    right: 25px;
    width: 12px;
    height: 12px;
    content: "";
    border-top: 1px solid var(--line-strong);
    border-left: 1px solid var(--line-strong);
    background: rgba(23, 26, 33, 0.98);
    transform: rotate(45deg);
}

.nav-dropdown-item {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 12px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border-radius: 14px;
    color: var(--text);
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.nav-dropdown-item:hover {
    background: var(--pink-soft);
    transform: translateX(2px);
}

.nav-dropdown-item-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--pink);
    color: var(--bg);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.nav-dropdown-item strong {
    display: block;
    margin-bottom: 3px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.1;
}

.nav-dropdown-item small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

/* =========================================================
   HOME TIPO LEMA
========================================================= */

.lema-home-page {
    background:
        radial-gradient(circle at 50% -160px, rgba(245, 164, 166, 0.11), transparent 520px),
        var(--bg);
}

.lema-main {
    width: min(100% - 28px, 760px);
    margin: 0 auto;
    padding: 56px 0 80px;
}

.lema-brand-hero {
    padding: 34px 0 42px;
    text-align: center;
}

.lema-logo-mark {
    width: 142px;
    height: 142px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 164, 166, 0.35);
    border-radius: 42px;
    background:
        radial-gradient(circle at 30% 25%, rgba(245, 164, 166, 0.24), transparent 62%),
        var(--surface);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.32),
        0 0 0 8px rgba(245, 164, 166, 0.03);
    overflow: hidden;
}

.lema-logo-mark img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.lema-brand-hero h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(42px, 8vw, 62px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.07em;
}

.lema-slogan {
    margin: 16px 0 0;
    color: var(--pink);
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.lema-intro {
    max-width: 560px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.lema-socials {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.lema-socials a {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.lema-socials a:hover {
    color: var(--blue);
    transform: translateY(-3px);
}

.lema-socials svg {
    width: 33px;
    height: 33px;
}

/* =========================================================
   TARJETAS HOME
========================================================= */

.lema-events-wrapper {
    padding-top: 8px;
}

.lema-section-title {
    margin: 34px 0 18px;
    text-align: center;
}

.lema-section-title span {
    display: inline-flex;
    color: var(--pink);
    font-size: clamp(24px, 5.6vw, 34px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    text-align: center;
}

.lema-section-title-blue span {
    color: var(--blue);
}

.lema-ticket-card {
    position: relative;
    height: 178px;
    min-height: 178px;
    margin-bottom: 22px;
    padding: 16px 82px 16px 16px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    overflow: hidden;
    border: 1px solid rgba(245, 164, 166, 0.25);
    border-radius: 30px;
    background:
        radial-gradient(circle at 82% 12%, rgba(245, 164, 166, 0.18), transparent 260px),
        linear-gradient(135deg, rgba(245, 164, 166, 0.42), rgba(245, 164, 166, 0.18)),
        var(--surface);
    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.lema-ticket-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 164, 166, 0.65);
    box-shadow:
        0 30px 78px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(245, 164, 166, 0.14);
}

.lema-ticket-flyer {
    position: relative;
    z-index: 2;
    width: 112px;
    height: 140px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    background: #000;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.36);
}

.lema-ticket-flyer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lema-ticket-content {
    position: relative;
    z-index: 2;
    min-width: 0;
    overflow: hidden;
}

.lema-ticket-date {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.lema-ticket-content h2 {
    max-width: 100%;
    margin: 0;
    color: var(--pink);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.055em;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lema-ticket-location {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 16px;
    font-weight: 500;
    min-width: 0;
}

.lema-ticket-location span {
    min-width: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.lema-ticket-location svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--pink);
}

.lema-ticket-ribbon {
    position: absolute;
    right: -70px;
    bottom: 24px;
    z-index: 3;
    width: 210px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(245, 164, 166, 0.95), rgba(245, 164, 166, 0.82));
    color: var(--bg);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    transform: rotate(-45deg);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
}

.lema-ticket-card-blue,
.lema-fourvenues-card {
    border-color: rgba(112, 179, 250, 0.38);
    background:
        radial-gradient(circle at 82% 18%, rgba(112, 179, 250, 0.18), transparent 260px),
        linear-gradient(135deg, rgba(112, 179, 250, 0.24), rgba(112, 179, 250, 0.10)),
        var(--surface);
}

.lema-ticket-card-blue:hover,
.lema-fourvenues-card:hover {
    border-color: rgba(112, 179, 250, 0.75);
}

.lema-ticket-card-blue .lema-ticket-date,
.lema-fourvenues-card .lema-ticket-date {
    color: var(--blue);
}

.lema-ticket-card-blue .lema-ticket-content h2,
.lema-fourvenues-card .lema-ticket-content h2 {
    color: var(--text);
}

.lema-ticket-card-blue .lema-ticket-location svg,
.lema-fourvenues-card .lema-ticket-location svg {
    color: var(--blue);
}

.lema-ticket-ribbon-blue,
.lema-fourvenues-card .lema-ticket-ribbon {
    background:
        linear-gradient(135deg, rgba(112, 179, 250, 0.96), rgba(112, 179, 250, 0.72));
}

.lema-fourvenues-card {
    margin-bottom: 34px;
}

.lema-fourvenues-flyer {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 50%, rgba(112, 179, 250, 0.22), transparent 70%),
        #ffffff;
}

.lema-fourvenues-flyer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.lema-empty-events {
    margin-top: 20px;
    padding: 34px 24px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
    text-align: center;
}

.lema-empty-events span {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--pink);
    color: var(--bg);
    font-weight: 900;
}

.lema-empty-events h2 {
    margin: 0;
    color: var(--text);
    font-size: 28px;
    letter-spacing: -0.04em;
}

.lema-empty-events p {
    max-width: 420px;
    margin: 10px auto 0;
    color: var(--muted);
    line-height: 1.6;
}

/* =========================================================
   DETALLE EVENTO
========================================================= */

.event-detail {
    width: min(calc(100% - var(--site-padding)), var(--site-container));
    margin: 0 auto;
    padding: 42px 0 90px;
}

.back,
.page-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.back:hover,
.page-back:hover {
    color: var(--pink);
    transform: translateX(-3px);
}

.event-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 54px;
}

.flyer-box {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 30px;
    background: #000;
    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(245, 164, 166, 0.06);
}

.flyer-box img {
    width: 100%;
    height: auto;
    display: block;
}

.empty-box {
    min-height: 380px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    text-align: center;
}

.event-info {
    min-width: 0;
    position: relative;
}

.event-mini-date {
    width: fit-content;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.event-mini-date span {
    color: var(--muted-light);
    font-size: 20px;
    font-weight: 600;
}

.event-mini-date strong {
    color: var(--text);
    font-size: 22px;
    font-weight: 900;
}

.event-badges {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--pink);
    color: var(--bg);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.badge.big {
    width: fit-content;
    padding: 9px 13px;
    border: 1px solid rgba(245, 164, 166, 0.45);
    background: var(--pink-soft);
    color: var(--pink);
    box-shadow: none;
}

.badge-blue {
    border-color: rgba(112, 179, 250, 0.45) !important;
    background: rgba(112, 179, 250, 0.14) !important;
    color: var(--blue) !important;
}

.badge-blue-soft {
    border-color: rgba(112, 179, 250, 0.28) !important;
    background: rgba(112, 179, 250, 0.08) !important;
    color: var(--blue-light) !important;
}

.event-info h1 {
    margin: 0 0 18px;
    color: var(--text);
    font-size: clamp(48px, 8vw, 118px);
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: -0.09em;
}

.club {
    margin: 0 0 8px;
    color: var(--muted-light);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.1;
}

.date {
    margin: 0 0 22px;
    color: var(--pink);
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 900;
}

.event-meta-soft {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 18px 0 26px;
}

.event-meta-pill {
    padding: 11px 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.event-meta-pill strong {
    color: var(--blue);
    font-weight: 900;
}

.event-meta-pill-wide {
    width: 100%;
    justify-content: flex-start;
    border-radius: 16px;
}

.requirements {
    margin: 28px 0;
    padding: 28px 32px;
    border: 1px solid var(--line-strong);
    border-left: 8px solid var(--pink);
    border-radius: 26px;
    background: var(--surface);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
}

.requirements h2 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.055em;
}

.requirements p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 24px);
    line-height: 1.55;
    white-space: pre-line;
}

.full-warning {
    margin: 22px 0;
    padding: 16px;
    border: 1px solid rgba(255, 111, 145, 0.35);
    border-radius: 18px;
    background: var(--danger-soft);
    color: var(--danger);
    font-weight: 800;
    line-height: 1.45;
}

.event-actions-public {
    width: 100%;
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.cta-free,
.cta-buy-ticket {
    width: 100%;
    min-height: 66px;
    padding: 17px 22px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    color: var(--bg);
    font-size: clamp(16px, 2vw, 21px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.025em;
    text-align: center;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.cta-free {
    border: 1px solid var(--pink);
    background: var(--pink);
    box-shadow: 0 14px 34px rgba(245, 164, 166, 0.16);
}

.cta-buy-ticket {
    border: 1px solid var(--blue);
    background: var(--blue);
    box-shadow: 0 14px 34px rgba(112, 179, 250, 0.16);
}

.cta-free:hover,
.cta-buy-ticket:hover {
    transform: translateY(-2px);
    border-color: var(--pink);
    background: var(--pink);
    color: var(--bg);
}

.cta-free:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.download-flyer-btn,
.download-flyer-form-btn,
.event-actions-public .download-flyer-btn {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 14px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid var(--blue) !important;
    border-radius: 18px !important;
    background: transparent !important;
    color: var(--blue) !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease !important;
}

.download-flyer-btn:hover,
.download-flyer-form-btn:hover,
.event-actions-public .download-flyer-btn:hover {
    background: var(--blue) !important;
    color: var(--bg) !important;
    transform: translateY(-2px);
}

.event-note-box,
.small-note {
    margin-top: 20px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.event-note-box p {
    margin: 0;
}

.event-note-box p + p {
    margin-top: 10px;
}

/* =========================================================
   FORMULARIOS
========================================================= */

.form-page {
    min-height: calc(100vh - 72px);
    padding: 38px 16px 80px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.signup-card {
    width: 100%;
    max-width: 760px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(23, 26, 33, 0.92);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.signup-card.center {
    text-align: center;
}

.success-icon {
    margin: 0;
    color: var(--pink);
    font-size: 74px;
}

.form-head {
    margin-bottom: 26px;
    text-align: center;
}

.form-head h1,
.signup-card h1 {
    margin: 6px 0;
    color: var(--text);
    font-size: 38px;
    letter-spacing: -0.05em;
}

.form-head p:last-child {
    margin: 0;
    color: var(--muted);
}

.form-intro-card {
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface-soft);
}

.form-intro-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.people-selector {
    margin-bottom: 22px;
}

.pretty-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 900;
}

.pretty-help {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.people-list {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.person-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface-soft);
}

.person-head {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.person-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 22px;
    letter-spacing: -0.04em;
}

.person-pill {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--pink);
    color: var(--bg);
    font-weight: 900;
}

.grid-2,
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

label {
    display: block;
    margin-bottom: 14px;
    color: var(--text);
    font-weight: 800;
}

label span {
    color: var(--muted);
    font-weight: 500;
}

input,
textarea,
select,
.pretty-input,
.pretty-select {
    width: 100%;
    min-height: 50px;
    margin-top: 7px;
    padding: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 15px;
    outline: none;
    background: var(--bg);
    color: var(--text);
    font: inherit;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: #6f7888;
}

input:focus,
textarea:focus,
select:focus,
.pretty-input:focus,
.pretty-select:focus {
    border-color: var(--pink);
    background: #11141b;
    box-shadow: 0 0 0 4px rgba(245, 164, 166, 0.12);
}

.checks {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--text);
    font-weight: 700;
}

.check input {
    width: auto;
    min-height: auto;
    margin: 3px 0 0;
    accent-color: var(--pink);
}

.check.optional {
    color: var(--muted);
}

.email-match-error {
    display: none;
    margin: -4px 0 10px;
    color: var(--danger);
    font-size: 13px;
    font-weight: 800;
}

.email-match-error.show {
    display: block;
}

/* =========================================================
   ADMIN
========================================================= */

.admin-body {
    background:
        radial-gradient(circle at top right, rgba(245, 164, 166, 0.12), transparent 430px),
        var(--bg);
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 250px;
    padding: 24px;
    border-right: 1px solid var(--line);
    background: #090a0e;
    color: var(--text);
}

.sidebar .brand {
    color: #fff;
}

.sidebar .brand span {
    color: var(--pink);
}

.sidebar nav {
    margin-top: 34px;
    display: grid;
    gap: 8px;
}

.sidebar nav a {
    padding: 13px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 700;
}

.sidebar nav a:hover {
    border-color: rgba(245, 164, 166, 0.22);
    background: var(--pink-soft);
    color: var(--pink);
}

.sidebar nav a.active {
    border-color: rgba(112, 179, 250, 0.32);
    background: var(--blue-soft);
    color: var(--blue);
}

.admin-main {
    width: min(calc(100% - 250px), 1300px);
    margin-left: 250px;
    padding: 34px;
}

.admin-main.narrow {
    max-width: 850px;
}

.admin-main h1 {
    color: var(--text);
    font-size: 42px;
    letter-spacing: -0.05em;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0 28px;
}

.metrics.small {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.metrics div {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.metrics span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.metrics strong {
    display: block;
    margin-top: 6px;
    color: var(--text);
    font-size: 30px;
    overflow-wrap: anywhere;
}

.dashboard-title {
    margin-bottom: 24px;
}

.dashboard-title h1 {
    margin-bottom: 8px;
}

.dashboard-title p,
.admin-head-note {
    margin: 0;
    color: var(--muted);
}

.admin-head {
    margin: 24px 0 14px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.admin-head h2 {
    margin: 0;
    color: var(--text);
}

.admin-head-note {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
}

.admin-head-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

th,
td {
    padding: 15px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

td {
    color: var(--text);
}

tbody tr {
    transition: background 0.15s ease;
}

tbody tr:hover {
    background: rgba(245, 164, 166, 0.06);
}

.admin-form,
.detail-card {
    margin-top: 20px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.24);
}

.admin-form-section,
.edit-section {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface-soft);
}

.admin-form-section h2,
.edit-section h2 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 22px;
    letter-spacing: -0.04em;
}

.form-help {
    display: block;
    margin: -4px 0 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.flyer-note,
.limit-box {
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--bg);
    color: var(--muted);
}

.limit-box h2 {
    margin: 0 0 12px;
    color: var(--text);
}

.current-flyer {
    max-width: 260px;
    margin: 16px 0 22px;
    overflow: hidden;
    border: 2px solid var(--line-strong);
    border-radius: 18px;
    background: #000;
}

.current-flyer img {
    width: 100%;
    height: auto;
}

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.status-badge,
.status-pill {
    padding: 7px 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.status-badge.published,
.status-pill.attended {
    border-color: rgba(87, 214, 141, 0.35);
    background: var(--success-soft);
    color: var(--success);
}

.status-badge.draft,
.status-pill.confirmed {
    border-color: rgba(112, 179, 250, 0.35);
    background: var(--blue-soft);
    color: var(--blue);
}

.status-badge.archived,
.status-pill.no_show,
.status-pill.rejected {
    border-color: rgba(255, 111, 145, 0.35);
    background: var(--danger-soft);
    color: var(--danger);
}

.limit-boxes {
    min-width: 170px;
    display: grid;
    gap: 8px;
}

.limit-row {
    display: grid;
    gap: 5px;
}

.limit-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
}

.limit-head span {
    color: var(--muted);
}

.limit-head strong {
    color: var(--text);
    white-space: nowrap;
}

.limit-bar,
.gender-bar {
    width: 100%;
    height: 9px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.limit-fill,
.gender-fill {
    height: 100%;
    border-radius: 999px;
}

.limit-fill.male,
.gender-fill.male {
    background: var(--blue);
}

.limit-fill.female,
.gender-fill.female {
    background: var(--pink);
}

.events-mobile-list {
    display: none;
}

.mobile-event-card {
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.mobile-event-top {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mobile-event-top h3 {
    margin: 0;
    color: var(--text);
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.mobile-event-club {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.mobile-event-info {
    margin: 14px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-info-box,
.mobile-limits-card,
.detail-item {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
}

.mobile-info-box span,
.mobile-limits-card > span,
.detail-item span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mobile-info-box strong,
.detail-item strong,
.detail-item p {
    display: block;
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.mobile-info-box .gold {
    color: var(--pink);
}

.mobile-limits-card {
    margin: 12px 0 14px;
}

.mobile-event-actions {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-event-actions .mini-btn {
    width: 100%;
    padding: 12px 10px;
}

.mobile-event-actions .mini-btn.primary {
    border-color: var(--pink);
    background: var(--pink);
    color: var(--bg);
}

.admin-main.registrations-main {
    max-width: 1240px;
}

.event-top {
    margin-bottom: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.event-title-block h1 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.event-title-block p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

.event-date-pill {
    padding: 11px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pink);
    border-radius: 999px;
    background: var(--pink);
    color: var(--bg);
    font-weight: 900;
    white-space: nowrap;
}

.overview-panel {
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
}

.kpi-strip {
    min-height: 112px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--line);
}

.kpi-item {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: var(--surface);
}

.kpi-item span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.kpi-item strong {
    color: var(--text);
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.06em;
}

.kpi-item.main strong {
    color: var(--pink);
}

.kpi-item.success strong {
    color: var(--success);
}

.kpi-item.danger strong {
    color: var(--danger);
}

.gender-panel,
.registrations-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.gender-panel {
    padding: 18px;
}

.gender-panel-head {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gender-panel-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 20px;
    letter-spacing: -0.04em;
}

.gender-total {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.gender-bars {
    display: grid;
    gap: 14px;
}

.gender-row {
    display: grid;
    gap: 7px;
}

.gender-row-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.gender-row-head strong {
    color: var(--pink);
}

.registrations-card {
    overflow: hidden;
    border-radius: 24px;
}

.registrations-head {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.registrations-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 22px;
    letter-spacing: -0.04em;
}

.registrations-head span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.copy-confirmed-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.copy-confirmed-status {
    color: var(--success);
    font-size: 13px;
    font-weight: 800;
}

.desktop-registrations-table {
    display: block;
}

.mobile-registrations-list {
    display: none;
}

.registrations-card .table-wrap {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.registrations-card table {
    min-width: 980px;
}

.client-name {
    color: var(--text);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.muted-small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.instagram-link {
    color: var(--blue);
    font-weight: 900;
}

.instagram-link:hover {
    color: var(--pink);
}

.table-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.inline-form {
    margin: 0;
    display: inline-flex;
}

.action-btn {
    min-height: 38px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    transition:
        color 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.action-btn:hover {
    border-color: var(--pink);
    background: var(--pink);
    color: var(--bg);
}

.action-btn.confirm {
    border-color: var(--pink);
    background: var(--pink);
    color: var(--bg);
}

.action-btn.success {
    border-color: rgba(87, 214, 141, 0.35);
    background: var(--success-soft);
    color: var(--success);
}

.action-btn.danger {
    border-color: rgba(255, 111, 145, 0.35);
    background: var(--danger-soft);
    color: var(--danger);
}

.action-btn.details {
    border-color: var(--blue);
    color: var(--blue);
}

.registration-mobile-card {
    padding: 16px;
    border-bottom: 1px solid var(--line);
}

.registration-mobile-card:last-child {
    border-bottom: 0;
}

.mobile-client-top {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mobile-client-top h3 {
    margin: 0;
    color: var(--text);
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.mobile-client-id {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.mobile-client-info {
    margin-bottom: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-actions form {
    margin: 0;
}

.mobile-actions .action-btn,
.mobile-actions a.action-btn {
    width: 100%;
    min-height: 42px;
}

.detail-card h2 {
    margin: 0 0 18px;
    color: var(--text);
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.detail-item.full {
    grid-column: 1 / -1;
}

.detail-item a {
    color: var(--blue);
    font-weight: 900;
}

.detail-item a:hover {
    color: var(--pink);
}

.detail-status-form {
    margin-top: 22px;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid var(--line);
    background: rgba(23, 26, 33, 0.75);
    color: var(--muted);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
    .event-detail {
        width: min(100% - 28px, var(--site-container));
        padding: 26px 0 70px;
    }

    .event-layout {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 30px;
    }

    .flyer-box {
        max-width: 520px;
        border-radius: 24px;
    }

    .event-info h1 {
        font-size: clamp(44px, 14vw, 84px);
    }
}

@media (max-width: 820px) {
    :root {
        --site-padding: 28px;
    }

    .topbar {
        height: 64px;
    }

    .topbar-inner {
        gap: 12px;
    }

    .topbar .brand {
        font-size: 21px;
    }

    .public-nav-link {
        display: none;
    }

    .public-nav-link.guaranteed-entry-link {
        min-height: 40px;
        padding: 9px 12px;
        display: inline-flex;
        font-size: 12px;
        white-space: nowrap;
    }

    .nav-dropdown {
        height: auto;
    }

    .nav-dropdown-trigger {
        min-height: 40px;
        padding: 9px 12px;
        border-color: var(--line);
        background: rgba(255, 255, 255, 0.04);
        font-size: 13px;
    }

    .topbar-right {
        display: none;
    }

    .nav-dropdown-menu {
        position: fixed;
        top: 72px;
        right: 14px;
        left: 14px;
        width: auto;
        max-width: none;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .lema-main {
        width: min(100% - 28px, 760px);
        padding-top: 34px;
    }

    .lema-brand-hero {
        padding-top: 22px;
    }

    .lema-logo-mark {
        width: 118px;
        height: 118px;
        border-radius: 34px;
    }

    .lema-socials {
        gap: 14px;
    }

    .lema-socials a {
        width: 43px;
        height: 43px;
    }

    .lema-socials svg {
        width: 30px;
        height: 30px;
    }

    .lema-ticket-card,
    .lema-fourvenues-card {
        min-height: 146px;
        height: 146px;
        padding: 12px 58px 12px 12px;
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 13px;
        border-radius: 22px;
    }

    .lema-ticket-flyer {
        width: 86px;
        height: 112px;
        border-radius: 13px;
    }

    .lema-ticket-date {
        margin-bottom: 6px;
        font-size: 11px;
        letter-spacing: 0.055em;
    }

    .lema-ticket-content h2,
    .lema-fourvenues-card .lema-ticket-content h2 {
        font-size: 18px;
        line-height: 1.12;
        -webkit-line-clamp: 2;
    }

    .lema-ticket-location {
        margin-top: 10px;
        gap: 7px;
        font-size: 12px;
    }

    .lema-ticket-location svg {
        width: 17px;
        height: 17px;
    }

    .lema-ticket-ribbon {
        right: -68px;
        bottom: 20px;
        width: 180px;
        height: 34px;
        font-size: 10px;
    }

    .form-page {
        min-height: calc(100vh - 64px);
        padding: 22px 14px 60px;
    }

    .signup-card {
        padding: 20px;
        border-radius: 24px;
    }

    .grid-2,
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .person-card {
        padding: 15px;
        border-radius: 20px;
    }

    .sidebar {
        position: static;
        width: 100%;
        padding: 16px;
    }

    .sidebar nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 18px;
    }

    .sidebar nav a {
        min-width: 0;
        padding: 11px 8px;
        text-align: center;
        font-size: 14px;
    }

    .admin-main {
        width: 100%;
        max-width: none;
        margin-left: 0;
        padding: 20px 14px;
    }

    .admin-main h1 {
        font-size: 34px;
        line-height: 1;
    }

    .admin-head {
        display: block;
    }

    .admin-head-actions {
        margin-top: 12px;
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-head-actions .mini-btn {
        width: 100%;
    }

    .desktop-events-table,
    .desktop-registrations-table {
        display: none;
    }

    .events-mobile-list,
    .mobile-registrations-list {
        display: block;
    }

    .event-top {
        display: block;
    }

    .event-date-pill {
        margin-top: 14px;
    }

    .kpi-strip {
        grid-template-columns: repeat(2, 1fr);
        min-height: auto;
    }

    .kpi-item {
        padding: 15px;
    }

    .kpi-item strong {
        font-size: 27px;
    }

    .registrations-head {
        display: block;
        padding: 16px;
    }

    .copy-confirmed-wrap {
        margin-top: 12px;
    }

    .copy-confirmed-wrap .action-btn {
        width: 100%;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-item.full {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .lema-main {
        width: min(100% - 28px, 760px);
        padding-bottom: 56px;
    }

    .lema-brand-hero h1 {
        font-size: 39px;
    }

    .lema-slogan {
        font-size: 19px;
    }

    .lema-intro {
        font-size: 14px;
    }

    .lema-section-title {
        margin: 30px 0 16px;
    }

    .lema-section-title span {
        font-size: 22px;
    }

    .lema-ticket-card,
    .lema-fourvenues-card {
        min-height: 118px;
        height: 118px;
        padding: 9px 10px;
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 10px;
        border-radius: 18px;
    }

    .lema-ticket-flyer {
        width: 74px;
        height: 96px;
        border-radius: 12px;
    }

    .lema-ticket-date {
        font-size: 9px;
        margin-bottom: 5px;
    }

    .lema-ticket-content h2,
    .lema-fourvenues-card .lema-ticket-content h2 {
        font-size: 15px;
        line-height: 1.12;
        -webkit-line-clamp: 2;
    }

    .lema-ticket-location {
        margin-top: 8px;
        font-size: 11px;
    }

    .lema-ticket-location svg {
        width: 15px;
        height: 15px;
    }

    .lema-ticket-ribbon {
        display: none;
    }

    .event-detail {
        padding-top: 20px;
    }

    .back,
    .page-back {
        margin-bottom: 18px;
        font-size: 13px;
    }

    .flyer-box {
        border-radius: 20px;
    }

    .event-mini-date span {
        font-size: 16px;
    }

    .event-mini-date strong {
        font-size: 18px;
    }

    .event-info h1 {
        font-size: clamp(42px, 18vw, 70px);
        line-height: 0.86;
    }

    .club {
        font-size: 24px;
    }

    .date {
        font-size: 17px;
    }

    .event-meta-pill {
        font-size: 13px;
        border-radius: 16px;
    }

    .requirements {
        margin: 22px 0;
        padding: 20px;
        border-radius: 22px;
    }

    .requirements h2 {
        font-size: 25px;
    }

    .requirements p {
        font-size: 17px;
    }

    .cta-free,
    .cta-buy-ticket {
        min-height: 58px;
        font-size: 16px;
        border-radius: 18px;
    }

    .download-flyer-btn,
    .download-flyer-form-btn,
    .event-actions-public .download-flyer-btn {
        min-height: 50px !important;
        font-size: 14px !important;
    }

    .metrics {
        grid-template-columns: 1fr;
    }

    .mobile-event-info,
    .mobile-client-info,
    .mobile-event-actions,
    .mobile-actions {
        grid-template-columns: 1fr;
    }

    .mobile-event-top,
    .mobile-client-top {
        display: block;
    }

    .mobile-event-top .status-badge,
    .mobile-client-top .status-pill {
        margin-top: 10px;
    }

    .kpi-strip {
        grid-template-columns: 1fr;
    }

    .sidebar nav {
        grid-template-columns: 1fr;
    }

    .form-head h1,
    .signup-card h1 {
        font-size: 31px;
    }
}

@media (max-width: 480px) {
    .public-nav-link.guaranteed-entry-link {
        padding: 9px 10px;
        font-size: 0;
    }

    .public-nav-link.guaranteed-entry-link::after {
        content: "Entradas";
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    :root {
        --site-padding: 20px;
    }

    .topbar .brand {
        font-size: 20px;
    }

    .nav-dropdown-menu {
        right: 10px;
        left: 10px;
    }
}

@media (max-width: 390px) {
    .lema-ticket-card,
    .lema-fourvenues-card {
        grid-template-columns: 66px minmax(0, 1fr);
        min-height: 110px;
        height: 110px;
    }

    .lema-ticket-flyer {
        width: 66px;
        height: 88px;
    }

    .lema-ticket-content h2,
    .lema-fourvenues-card .lema-ticket-content h2 {
        font-size: 14px;
    }

    .lema-ticket-location {
        font-size: 10px;
    }
}

/* =========================
   SCROLLBAR
========================= */

* {
    scrollbar-color: var(--pink) var(--bg-soft);
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

*::-webkit-scrollbar-thumb {
    border: 2px solid var(--bg-soft);
    border-radius: 999px;
    background: var(--pink);
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--blue);
}
/* =========================================================
   EVENT PAGE FOURVENUES STYLE
========================================================= */

.fv-event-page {
    background: var(--bg);
}

.fv-event-hero {
    position: relative;
    min-height: calc(100vh - 72px);
    overflow: hidden;
    background: var(--bg);
}

.fv-event-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    filter: blur(26px);
    opacity: 0.20;
    transform: scale(1.08);
}

.fv-event-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(15, 17, 23, 0.98) 0%,
            rgba(15, 17, 23, 0.90) 42%,
            rgba(15, 17, 23, 0.78) 100%
        ),
        radial-gradient(
            circle at 80% 10%,
            rgba(245, 164, 166, 0.10),
            transparent 480px
        ),
        radial-gradient(
            circle at 12% 20%,
            rgba(112, 179, 250, 0.12),
            transparent 480px
        );
}

.fv-event-inner {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 48px), 1460px);
    margin: 0 auto;
    padding: 56px 0 70px;
}

.fv-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 54px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 900;
    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.fv-back:hover {
    color: var(--pink);
    transform: translateX(-3px);
}

.fv-event-grid {
    display: grid;
    grid-template-columns: minmax(300px, 520px) minmax(0, 1fr);
    align-items: end;
    gap: clamp(42px, 6vw, 92px);
}

.fv-flyer-card {
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 34px;
    background: #000;
    box-shadow:
        0 38px 100px rgba(0, 0, 0, 0.54),
        0 0 0 1px rgba(255, 255, 255, 0.04);
}

.fv-flyer-card img {
    width: 100%;
    height: auto;
    display: block;
}

.fv-empty-flyer {
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 800;
}

.fv-event-content {
    min-width: 0;
    padding-bottom: 10px;
}

.fv-date-line {
    margin-bottom: 18px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: var(--text);
    line-height: 1;
}

.fv-date-line span {
    color: var(--muted-light);
    font-size: clamp(19px, 1.8vw, 25px);
    font-weight: 600;
}

.fv-date-line strong {
    color: var(--text);
    font-size: clamp(22px, 2.2vw, 31px);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.fv-date-line em {
    margin-left: 4px;
    color: var(--pink);
    font-size: 16px;
    font-style: normal;
    font-weight: 900;
}

.fv-tags {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.fv-tags span {
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 164, 166, 0.45);
    border-radius: 999px;
    background: rgba(245, 164, 166, 0.10);
    color: var(--pink-light);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.fv-tags span.blue {
    border-color: rgba(112, 179, 250, 0.45);
    background: rgba(112, 179, 250, 0.12);
    color: var(--blue-light);
}

.fv-event-content h1 {
    max-width: 980px;
    margin: 0 0 28px;
    color: var(--text);
    font-size: clamp(64px, 8.8vw, 142px);
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.10em;
    text-wrap: balance;
}

.fv-club {
    margin-bottom: 12px;
    color: var(--muted-light);
    font-size: clamp(27px, 3.1vw, 48px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.fv-full-date {
    margin-bottom: 32px;
    color: var(--pink);
    font-size: clamp(18px, 1.8vw, 26px);
    font-weight: 900;
}

.fv-actions {
    max-width: 560px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.fv-btn {
    min-height: 66px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    border: 1px solid transparent;
    color: var(--bg);
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-align: center;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.fv-btn:hover {
    transform: translateY(-2px);
}

.fv-btn-pink {
    border-color: var(--pink);
    background: var(--pink);
    box-shadow: 0 18px 44px rgba(245, 164, 166, 0.14);
}

.fv-btn-pink:hover {
    border-color: var(--blue);
    background: var(--blue);
}

.fv-btn-blue {
    border-color: var(--blue);
    background: var(--blue);
    box-shadow: 0 18px 44px rgba(112, 179, 250, 0.14);
}

.fv-btn-blue:hover {
    border-color: var(--pink);
    background: var(--pink);
}

.fv-btn-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: var(--surface-strong);
    color: var(--muted);
}

.fv-btn-disabled:hover {
    transform: none;
}

.fv-warning {
    max-width: 560px;
    margin-top: 16px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 111, 145, 0.35);
    border-radius: 18px;
    background: rgba(255, 111, 145, 0.10);
    color: var(--danger);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.fv-event-details {
    position: relative;
    z-index: 3;
    width: min(calc(100% - 48px), 1460px);
    margin: -26px auto 0;
    padding: 0 0 90px;
}

.fv-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.fv-panel {
    padding: 28px;
    border: 1px solid var(--line-strong);
    border-radius: 28px;
    background: rgba(23, 26, 33, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.fv-panel h2 {
    margin: 0 0 18px;
    color: var(--text);
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.055em;
}

.fv-info-list {
    display: grid;
    gap: 12px;
}

.fv-info-list div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.fv-info-list span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fv-info-list strong {
    display: block;
    color: var(--text);
    font-size: 16px;
    line-height: 1.4;
}

.fv-requirements {
    border-left: 8px solid var(--pink);
}

.fv-requirements p,
.fv-note p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.fv-note p + p {
    margin-top: 12px;
}

.fv-download {
    min-height: 54px;
    margin-top: 20px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--blue);
    border-radius: 18px;
    color: var(--blue);
    font-weight: 900;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.fv-download:hover {
    background: var(--blue);
    color: var(--bg);
    transform: translateY(-2px);
}

@media (max-width: 980px) {
    .fv-event-hero {
        min-height: auto;
    }

    .fv-event-inner {
        width: min(100% - 28px, 760px);
        padding: 28px 0 44px;
    }

    .fv-back {
        margin-bottom: 26px;
    }

    .fv-event-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fv-flyer-card {
        max-width: 560px;
        margin: 0 auto;
        border-radius: 28px;
    }

    .fv-event-content h1 {
        font-size: clamp(44px, 14vw, 82px);
        line-height: 0.86;
    }

    .fv-club {
        font-size: clamp(25px, 7vw, 42px);
    }

    .fv-actions {
        max-width: none;
    }

    .fv-event-details {
        width: min(100% - 28px, 760px);
        margin-top: 0;
        padding-bottom: 70px;
    }

    .fv-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .fv-event-inner {
        padding-top: 22px;
    }

    .fv-tags {
        gap: 7px;
    }

    .fv-tags span {
        padding: 8px 11px;
        font-size: 10px;
    }

    .fv-event-content h1 {
        margin-bottom: 20px;
        font-size: clamp(42px, 17vw, 70px);
    }

    .fv-full-date {
        margin-bottom: 24px;
        font-size: 17px;
    }

    .fv-btn {
        min-height: 58px;
        border-radius: 18px;
        font-size: 15px;
    }

    .fv-panel {
        padding: 20px;
        border-radius: 22px;
    }

    .fv-requirements p,
    .fv-note p {
        font-size: 15px;
    }
}
/* =========================================================
   EVENT PAGE - FOURVENUES INSPIRED
========================================================= */

.mk-event {
    min-height: calc(100vh - 72px);
    background:
        linear-gradient(
            180deg,
            rgba(15, 17, 23, 1) 0%,
            rgba(24, 25, 30, 1) 100%
        );
}

.mk-event-shell {
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
    padding: 28px 0 90px;
}

.mk-event-top {
    margin-bottom: 54px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.mk-event-back {
    width: 32px;
    height: 32px;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.mk-event-back:hover {
    color: var(--pink);
    transform: translateX(-3px);
}

.mk-event-rpp {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
}

.mk-event-top strong {
    display: block;
    color: var(--text);
    font-size: clamp(27px, 4vw, 42px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.045em;
}

.mk-event-hero {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: center;
    gap: 34px;
}

.mk-event-flyer {
    width: 260px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 24px;
    background: #000;
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mk-event-flyer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mk-event-flyer-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 800;
}

.mk-event-main-info {
    min-width: 0;
}

.mk-event-date-line {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(21px, 2.4vw, 31px);
    font-weight: 500;
    line-height: 1.25;
}

.mk-event-date-line span {
    color: rgba(255, 255, 255, 0.55);
}

.mk-event-main-info h1 {
    max-width: 900px;
    margin: 0 0 22px;
    color: var(--text);
    font-size: clamp(38px, 5.3vw, 67px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.mk-event-main-info h2 {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(26px, 3.4vw, 43px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.mk-event-tags {
    margin: 38px 0 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.mk-event-tags span {
    min-height: 46px;
    padding: 10px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.10);
    color: var(--text);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.mk-event-description {
    max-width: 1060px;
    margin: 0 0 48px;
}

.mk-event-description p {
    margin: 0;
    color: rgba(255, 255, 255, 0.60);
    font-size: clamp(20px, 2.35vw, 30px);
    font-weight: 500;
    line-height: 1.42;
}

.mk-event-description p br {
    display: block;
    content: "";
    margin-top: 24px;
}

.mk-event-section {
    margin-top: 42px;
}

.mk-event-section h3 {
    position: relative;
    margin: 0 0 20px;
    padding-left: 18px;
    color: var(--text);
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.mk-event-section h3::before {
    position: absolute;
    left: 0;
    top: 4px;
    width: 6px;
    height: 36px;
    content: "";
    border-radius: 999px;
    background: var(--pink);
}

.mk-access-list {
    display: grid;
    gap: 14px;
}

.mk-access-card {
    min-height: 118px;
    padding: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: center;
    gap: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mk-access-card.blue {
    border-color: rgba(112, 179, 250, 0.22);
    background: rgba(112, 179, 250, 0.08);
}

.mk-access-card h4 {
    margin: 0 0 7px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.mk-access-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 18px;
    line-height: 1.35;
}

.mk-access-btn {
    min-height: 58px;
    padding: 14px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 0;
    color: var(--bg);
    font-size: 16px;
    font-weight: 900;
    text-align: center;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        background 0.18s ease;
}

.mk-access-btn:hover {
    transform: translateY(-2px);
}

.mk-access-btn.pink {
    background: var(--pink);
}

.mk-access-btn.blue {
    background: var(--blue);
}

.mk-access-btn.disabled {
    background: rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.45);
    cursor: not-allowed;
}

.mk-access-btn.disabled:hover {
    transform: none;
}

.mk-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mk-info-item {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mk-info-item.full {
    grid-column: 1 / -1;
}

.mk-info-item span {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mk-info-item strong {
    display: block;
    color: rgba(255, 255, 255, 0.80);
    font-size: 17px;
    line-height: 1.4;
}

.mk-download-flyer {
    min-height: 56px;
    margin-top: 28px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--blue);
    border-radius: 16px;
    color: var(--blue);
    font-size: 16px;
    font-weight: 900;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.mk-download-flyer:hover {
    background: var(--blue);
    color: var(--bg);
    transform: translateY(-2px);
}

.mk-event-note {
    margin-top: 26px;
    padding-bottom: 30px;
}

.mk-event-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.54);
    font-size: 15px;
    line-height: 1.55;
}

.mk-event-note p + p {
    margin-top: 10px;
}

@media (max-width: 820px) {
    .mk-event-shell {
        width: min(100% - 28px, 760px);
        padding-top: 22px;
    }

    .mk-event-top {
        margin-bottom: 34px;
    }

    .mk-event-hero {
        grid-template-columns: 132px minmax(0, 1fr);
        align-items: center;
        gap: 16px;
    }

    .mk-event-flyer {
        width: 132px;
        border-radius: 18px;
    }

    .mk-event-date-line {
        margin-bottom: 12px;
        font-size: 16px;
    }

    .mk-event-main-info h1 {
        margin-bottom: 12px;
        font-size: clamp(29px, 8.4vw, 46px);
        line-height: 1.08;
    }

    .mk-event-main-info h2 {
        font-size: clamp(21px, 5.5vw, 31px);
    }

    .mk-event-tags {
        margin: 28px 0 24px;
    }

    .mk-event-tags span {
        min-height: 40px;
        font-size: 16px;
        border-radius: 8px;
    }

    .mk-event-description p {
        font-size: 19px;
    }

    .mk-access-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mk-access-btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .mk-event-shell {
        width: min(100% - 24px, 760px);
    }

    .mk-event-top strong {
        font-size: 27px;
    }

    .mk-event-rpp {
        font-size: 14px;
    }

    .mk-event-hero {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 13px;
    }

    .mk-event-flyer {
        width: 112px;
        border-radius: 16px;
    }

    .mk-event-date-line {
        font-size: 14px;
    }

    .mk-event-main-info h1 {
        font-size: 28px;
    }

    .mk-event-main-info h2 {
        font-size: 21px;
    }

    .mk-event-description p {
        font-size: 18px;
        line-height: 1.5;
    }

    .mk-info-grid {
        grid-template-columns: 1fr;
    }

    .mk-info-item.full {
        grid-column: auto;
    }
}
/* =========================================================
   EVENT PAGE - REQUISITOS + ACCESOS EN 2 COLUMNAS SOLO PC
========================================================= */

.mk-event-desktop-split {
    margin-top: 42px;
}

/* PC */
@media (min-width: 821px) {
    .mk-event-desktop-split {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
        align-items: start;
        gap: 24px;
    }

    .mk-event-desktop-split .mk-event-section {
        margin-top: 0;
    }

    .mk-event-requirements-box,
    .mk-event-access-box {
        height: 100%;
    }

    .mk-event-description {
        margin: 0;
        padding: 24px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.055);
    }

    .mk-event-description p {
        font-size: 20px;
        line-height: 1.45;
    }

    .mk-access-card {
        min-height: 130px;
    }
}

/* Móvil y tablet: se queda uno debajo de otro */
@media (max-width: 820px) {
    .mk-event-desktop-split {
        display: block;
        margin-top: 34px;
    }

    .mk-event-desktop-split .mk-event-section + .mk-event-section {
        margin-top: 38px;
    }

    .mk-event-description {
        margin: 0 0 0;
    }
}
/* =========================================================
   FIX: URLs largas en requisitos no se salen
========================================================= */

.mk-event-desktop-split {
    min-width: 0;
}

.mk-event-requirements-box,
.mk-event-access-box,
.mk-event-description,
.mk-event-description p,
.mk-access-card,
.mk-access-card p {
    min-width: 0;
}

.mk-event-description {
    overflow: hidden;
}

.mk-event-description p {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.mk-event-description a {
    color: var(--blue);
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* En PC, evita que la columna izquierda empuje a la derecha */
@media (min-width: 821px) {
    .mk-event-desktop-split {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    }

    .mk-event-description p {
        font-size: 19px;
        line-height: 1.45;
    }
}
/* =========================================================
   FIX FORMULARIO MÓVIL: ESPACIADOS + ZOOM IOS
========================================================= */

/* Evita zoom automático en iPhone al tocar inputs, selects, textarea y checkboxes */
input,
select,
textarea,
button {
    font-size: 16px !important;
}

/* Separación general en páginas de formulario */
.form-page {
    padding-top: 32px;
}

.signup-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Botón principal de confirmar lista */
.signup-card .cta-free,
.form-page .cta-free,
button.cta-free {
    margin-top: 10px;
    margin-bottom: 0;
}

/* Botón descargar flyer, que no quede pegado al botón rosa */
.download-flyer-btn,
.download-flyer-form-btn,
.event-actions-public .download-flyer-btn {
    margin-top: 12px !important;
}

/* Caja informativa de protección de datos */
.form-intro-card,
.privacy-note,
.data-note,
.small-note-box {
    margin-top: 22px;
    margin-bottom: 8px;
}

/* Si ese texto está usando small-note directamente */
.signup-card .small-note {
    margin-top: 24px;
    padding: 22px 24px;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--muted-light);
    font-size: 16px;
    line-height: 1.65;
}

/* Checkboxes más estables en móvil */
.checks {
    margin-top: 22px;
    gap: 14px;
}

.check {
    min-height: 54px;
    padding: 15px 16px;
    align-items: center;
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
}

.check input[type="checkbox"] {
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    margin: 0;
    padding: 0;
    transform: none !important;
    zoom: 1 !important;
}

/* Evita efectos raros al pulsar labels en iOS */
label,
.check,
.check * {
    -webkit-tap-highlight-color: transparent;
}

/* Inputs normales sin zoom ni salto visual */
.pretty-input,
.pretty-select,
input,
select,
textarea {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
}

/* Separación específica entre acciones del formulario */
.form-actions,
.signup-actions {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

/* Móvil */
@media (max-width: 520px) {
    .form-page {
        padding-top: 22px;
        padding-bottom: 70px;
    }

    .signup-card {
        gap: 16px;
        padding: 20px;
    }

    .signup-card .cta-free,
    .form-page .cta-free,
    button.cta-free {
        min-height: 58px;
        border-radius: 18px;
        font-size: 16px !important;
    }

    .download-flyer-btn,
    .download-flyer-form-btn,
    .event-actions-public .download-flyer-btn {
        margin-top: 12px !important;
        min-height: 54px !important;
        border-radius: 18px !important;
        font-size: 16px !important;
    }

    .signup-card .small-note {
        margin-top: 26px;
        padding: 20px;
        font-size: 16px;
        line-height: 1.65;
    }

    .check {
        padding: 15px;
        border-radius: 16px;
    }
}
/* =========================================================
   INSTAGRAM INPUT CON @ FIJO
========================================================= */

.instagram-input-wrap {
    position: relative;
    width: 100%;
    margin-top: 7px;
}

.instagram-input-wrap span {
    position: absolute;
    left: 15px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: var(--pink);
    font-size: 16px;
    font-weight: 900;
    pointer-events: none;
}

.instagram-input-wrap input {
    margin-top: 0 !important;
    padding-left: 38px !important;
}

/* Evita zoom raro de iPhone */
.instagram-input-wrap input,
input,
select,
textarea {
    font-size: 16px !important;
}
.instagram-input-wrap {
    position: relative;
    width: 100%;
    margin-top: 7px;
}

.instagram-input-wrap span {
    position: absolute;
    left: 15px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: var(--pink);
    font-size: 16px;
    font-weight: 900;
    pointer-events: none;
}

.instagram-input-wrap input {
    margin-top: 0 !important;
    padding-left: 38px !important;
}
/* =========================================================
   ERRORES CLAROS EN CHECKBOXES
========================================================= */

.checkbox-error {
    display: none;
    margin: -6px 0 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 111, 145, 0.35);
    border-radius: 14px;
    background: rgba(255, 111, 145, 0.10);
    color: #ff9bb3;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.checkbox-error.show {
    display: block;
}

.check.check-error-state {
    border-color: rgba(255, 111, 145, 0.75) !important;
    background: rgba(255, 111, 145, 0.10) !important;
    box-shadow: 0 0 0 3px rgba(255, 111, 145, 0.10);
}

.check.check-error-state span {
    color: #ffd5df;
}

.check input[type="checkbox"] {
    accent-color: var(--pink);
}
/* =========================================================
   INSTAGRAM INPUT CON @ FIJO
========================================================= */

.instagram-input-wrap {
    position: relative;
    width: 100%;
    margin-top: 7px;
}

.instagram-input-wrap span {
    position: absolute;
    left: 15px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: var(--pink);
    font-size: 16px;
    font-weight: 900;
    pointer-events: none;
}

.instagram-input-wrap input {
    margin-top: 0 !important;
    padding-left: 38px !important;
}

/* =========================================================
   ERRORES CLAROS EN CHECKBOXES
========================================================= */

.checkbox-error {
    display: none;
    margin: -6px 0 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 111, 145, 0.35);
    border-radius: 14px;
    background: rgba(255, 111, 145, 0.10);
    color: #ff9bb3;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.checkbox-error.show {
    display: block;
}

.check.check-error-state {
    border-color: rgba(255, 111, 145, 0.75) !important;
    background: rgba(255, 111, 145, 0.10) !important;
    box-shadow: 0 0 0 3px rgba(255, 111, 145, 0.10);
}

.check.check-error-state span {
    color: #ffd5df;
}

.check input[type="checkbox"] {
    accent-color: var(--pink);
}

/* Evita zoom raro en iPhone */
input,
select,
textarea,
button {
    font-size: 16px !important;
}
/* =========================================================
   THANKS SURVEY
========================================================= */

.survey-card {
    width: 100%;
    margin-top: 28px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.035);
    text-align: left;
}

.survey-head {
    margin-bottom: 22px;
}

.survey-head span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--pink);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.survey-head h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.survey-head p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
}

.survey-form {
    display: grid;
    gap: 22px;
}

.survey-question {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
}

.survey-question h3 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.25;
}

.survey-question small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.survey-options {
    display: grid;
    gap: 10px;
}

.survey-options.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.survey-options label,
.survey-rating label {
    cursor: pointer;
}

.survey-options input,
.survey-rating input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.survey-options span {
    min-height: 52px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted-light);
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    transition: 0.18s ease;
}

.survey-options input:checked + span {
    border-color: var(--pink);
    background: var(--pink-soft);
    color: var(--text);
}

.survey-rating {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.survey-rating span {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted-light);
    font-size: 18px;
    font-weight: 900;
    transition: 0.18s ease;
}

.survey-rating input:checked + span {
    border-color: var(--pink);
    background: var(--pink);
    color: var(--bg);
}

.survey-comment {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-size: 15px;
    font-weight: 800;
}

.survey-comment span {
    color: var(--muted);
    font-weight: 600;
}

.survey-comment textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    outline: none;
}

.survey-comment textarea:focus {
    border-color: var(--pink);
}

.survey-thanks-box {
    width: 100%;
    margin-top: 24px;
    padding: 18px;
    border: 1px solid rgba(87, 214, 141, 0.3);
    border-radius: 18px;
    background: rgba(87, 214, 141, 0.1);
    color: var(--success);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
}

.cta-free.secondary {
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid var(--line);
}

@media (max-width: 620px) {
    .survey-card {
        padding: 18px;
        border-radius: 22px;
    }

    .survey-options.two {
        grid-template-columns: 1fr;
    }

    .survey-question {
        padding: 16px;
    }

    .survey-rating {
        gap: 7px;
    }

    .survey-rating span {
        min-height: 48px;
        border-radius: 14px;
    }
}
.survey-step {
    display: none;
}

.survey-step.active {
    display: block;
    animation: surveyStepIn 0.22s ease both;
}

.survey-branch {
    display: none;
}

.survey-branch.active {
    display: grid;
    gap: 22px;
}

@keyframes surveyStepIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================================================
   HOME FIXES - SHARE BUTTON + FOURVENUES + MOBILE RIBBON
========================================================= */

.lema-share-floating {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 900;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    color: var(--pink-light);
    cursor: pointer;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.lema-share-floating svg {
    width: 29px;
    height: 29px;
}

.lema-share-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
}

.lema-share-overlay.active {
    display: block;
}

.lema-share-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(12px);
}

.lema-share-modal {
    position: absolute;
    left: 50%;
    bottom: 24px;
    width: min(100% - 32px, 720px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    transform: translateX(-50%);
    padding: 34px;
    border-radius: 36px;
    background: #b87590;
    color: #ffd4e3;
    text-align: center;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}

.lema-share-handle {
    width: 74px;
    height: 8px;
    margin: 0 auto 28px;
    border-radius: 999px;
    background: rgba(255, 220, 235, .45);
}

.lema-share-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 210, 225, .55);
    color: #fff0f6;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}

.lema-share-modal h2 {
    margin: 0 0 42px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.lema-share-qr {
    width: min(100%, 330px);
    margin: 0 auto 32px;
    padding: 18px;
    border-radius: 22px;
    background: #fff;
}

.lema-share-qr img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.lema-share-name {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #ffe3ec;
}

.lema-share-url {
    margin: 0 0 34px;
    color: rgba(255, 232, 240, .68);
    font-size: 18px;
}

.lema-share-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.lema-share-actions a,
.lema-share-actions button,
.lema-copy-link {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 230, 240, .18);
    border-radius: 18px;
    background: rgba(255, 210, 228, .18);
    color: #ffe4ed;
    font-size: 17px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.lema-copy-link {
    width: 100%;
}

.share-modal-open {
    overflow: hidden;
}

/* Fourvenues: que el logo/foto ocupe todo el espacio */
.lema-fourvenues-flyer {
    background: #fff;
}

.lema-fourvenues-flyer img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    display: block;
}

/* Todos los eventos normales en rosa aunque tengan entradas */
.lema-event-card-pink {
    background: linear-gradient(135deg, rgba(245, 164, 166, .78), rgba(245, 164, 166, .60)) !important;
    border-color: rgba(245, 164, 166, .45) !important;
}

.lema-event-card-pink .lema-ticket-date,
.lema-event-card-pink .lema-ticket-location,
.lema-event-card-pink .lema-ticket-location span {
    color: rgba(255, 255, 255, .72);
}

.lema-event-card-pink h2 {
    color: #fff;
}

.lema-event-ribbon-entry {
    background: var(--pink) !important;
    color: var(--bg) !important;
}

/* En móvil muestra también la etiqueta/ribbon */
@media (max-width: 720px) {
    .lema-ticket-ribbon,
    .lema-ticket-ribbon-blue,
    .lema-event-ribbon-entry {
        display: flex !important;
        position: absolute;
        right: -42px;
        bottom: 20px;
        width: 150px;
        height: 42px;
        align-items: center;
        justify-content: center;
        transform: rotate(-45deg);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: .08em;
    }

    .lema-ticket-card {
        position: relative;
        overflow: hidden;
    }

    .lema-share-floating {
        top: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
    }

    .lema-share-modal {
        bottom: 0;
        width: 100%;
        max-height: 88vh;
        border-radius: 32px 32px 0 0;
        padding: 28px 20px;
    }

    .lema-share-actions {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   FIX BOTÓN COMPARTIR HOME
========================================================= */

.lema-share-floating {
    position: fixed;
    top: 108px;
    right: 28px;
    z-index: 850;

    width: 54px;
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.10);
    color: var(--pink-light);

    cursor: pointer;
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.lema-share-floating:hover {
    transform: translateY(-2px);
    background: rgba(245, 164, 166, 0.18);
    border-color: rgba(245, 164, 166, 0.25);
}

.lema-share-floating svg {
    width: 27px;
    height: 27px;
}

/* En pantallas grandes queda más integrado con el hero */
@media (min-width: 1000px) {
    .lema-share-floating {
        top: 118px;
        right: 34px;
    }
}

/* En móvil lo dejamos abajo para no molestar al menú */
@media (max-width: 720px) {
    .lema-share-floating {
        top: auto;
        right: 18px;
        bottom: 22px;
        z-index: 900;

        width: 54px;
        height: 54px;
    }

    .lema-share-floating svg {
        width: 26px;
        height: 26px;
    }
}
/* =========================================================
   SHARE BUTTON + MODAL ESTILO LEMA
========================================================= */

/* Botón flotante */
.lema-share-floating {
    position: fixed;
    top: 102px;
    right: 22px;
    z-index: 950;

    width: 54px;
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.10);
    color: var(--pink-light);

    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.lema-share-floating:hover {
    transform: translateY(-2px);
    background: rgba(245, 164, 166, 0.18);
    border-color: rgba(245, 164, 166, 0.28);
}

.lema-share-floating svg {
    width: 28px;
    height: 28px;
}

/* Overlay */
.lema-share-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.lema-share-overlay.active {
    display: block;
}

.lema-share-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Modal escritorio */
.lema-share-modal {
    position: absolute;
    left: 50%;
    bottom: 28px;

    width: min(100% - 36px, 680px);
    max-height: calc(100vh - 70px);
    overflow-y: auto;

    transform: translateX(-50%);

    padding: 34px 34px 30px;
    border-radius: 34px;

    background:
        linear-gradient(
            180deg,
            rgba(194, 126, 155, 0.98),
            rgba(174, 109, 137, 0.98)
        );

    color: #ffe1ec;
    text-align: center;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.58),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Barrita superior */
.lema-share-handle {
    width: 72px;
    height: 8px;
    margin: 0 auto 28px;
    border-radius: 999px;
    background: rgba(255, 220, 234, 0.48);
}

/* Cerrar */
.lema-share-close {
    position: absolute;
    top: 28px;
    right: 28px;

    width: 54px;
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(239, 169, 198, 0.95);
    color: rgba(255, 240, 247, 0.95);

    font-size: 38px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.lema-share-modal h2 {
    margin: 0 0 34px;
    padding: 0 70px;

    color: #ffd8e7;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

/* QR */
.lema-share-qr {
    width: 260px;
    max-width: 72vw;
    margin: 0 auto 28px;
    padding: 14px;

    border-radius: 20px;
    background: #ffffff;

    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.lema-share-qr img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

/* Nombre y URL */
.lema-share-name {
    margin: 0 0 8px;

    color: rgba(255, 240, 247, 0.92);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.lema-share-url {
    margin: 0 0 28px;

    color: rgba(255, 230, 240, 0.58);
    font-size: 17px;
    font-weight: 400;
}

/* Botones compartir */
.lema-share-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;

    margin-bottom: 18px;
}

.lema-share-actions a,
.lema-share-actions button {
    min-height: 96px;
    padding: 14px 10px;

    display: flex;
    align-items: end;
    justify-content: center;

    border: 1px solid rgba(255, 230, 240, 0.18);
    border-radius: 18px;

    background: rgba(255, 210, 228, 0.18);
    color: rgba(255, 238, 246, 0.9);

    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    text-align: center;

    cursor: pointer;
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.lema-share-actions a:hover,
.lema-share-actions button:hover {
    transform: translateY(-2px);
    background: rgba(255, 210, 228, 0.25);
}

/* Copiar enlace */
.lema-copy-link {
    width: 100%;
    min-height: 58px;
    padding: 14px 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1px solid rgba(255, 230, 240, 0.18);
    border-radius: 18px;

    background: rgba(255, 210, 228, 0.18);
    color: rgba(255, 238, 246, 0.9);

    font-family: inherit;
    font-size: 18px;
    font-weight: 800;

    cursor: pointer;
}

.share-modal-open {
    overflow: hidden;
}

/* =========================================================
   MÓVIL: EXACTAMENTE TIPO BOTTOM SHEET LEMA
========================================================= */

@media (max-width: 720px) {
    .lema-share-floating {
        top: 18px;
        right: 18px;
        bottom: auto;

        width: 52px;
        height: 52px;

        z-index: 950;
    }

    .lema-share-floating svg {
        width: 27px;
        height: 27px;
    }

    .lema-share-modal {
        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;
        max-height: 86vh;

        transform: none;

        padding: 18px 18px 22px;

        border-radius: 30px 30px 0 0;

        background:
            linear-gradient(
                180deg,
                rgba(198, 127, 158, 0.98),
                rgba(184, 113, 145, 0.98)
            );
    }

    .lema-share-handle {
        width: 58px;
        height: 7px;
        margin-bottom: 26px;
    }

    .lema-share-close {
        top: 24px;
        right: 22px;

        width: 52px;
        height: 52px;

        font-size: 34px;
    }

    .lema-share-modal h2 {
        margin-bottom: 28px;
        padding: 0 64px;

        font-size: 30px;
        line-height: 1.05;
    }

    .lema-share-qr {
        width: 250px;
        max-width: 72vw;

        margin-bottom: 26px;
        padding: 13px;

        border-radius: 19px;
    }

    .lema-share-name {
        font-size: 20px;
        margin-bottom: 7px;
    }

    .lema-share-url {
        margin-bottom: 26px;
        font-size: 16px;
    }

    .lema-share-actions {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 14px;
    }

    .lema-share-actions a,
    .lema-share-actions button {
        min-height: 82px;
        padding: 12px 6px;

        border-radius: 16px;

        font-size: 14px;
    }

    .lema-copy-link {
        min-height: 56px;
        border-radius: 16px;
        font-size: 17px;
    }
}

/* Móviles pequeños */
@media (max-width: 420px) {
    .lema-share-modal {
        max-height: 84vh;
        padding: 16px 14px 18px;
        border-radius: 28px 28px 0 0;
    }

    .lema-share-modal h2 {
        margin-bottom: 24px;
        font-size: 27px;
    }

    .lema-share-close {
        width: 48px;
        height: 48px;
        top: 20px;
        right: 18px;
    }

    .lema-share-qr {
        width: 220px;
        max-width: 68vw;
        margin-bottom: 22px;
    }

    .lema-share-actions {
        gap: 8px;
    }

    .lema-share-actions a,
    .lema-share-actions button {
        min-height: 76px;
        font-size: 13px;
    }
}
.lema-share-action {
    position: relative;
    flex-direction: column;
    align-items: center !important;
    justify-content: flex-end !important;
}

.lema-share-action::before {
    width: 46px;
    height: 46px;
    margin-bottom: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    font-size: 22px;
    font-weight: 900;
}

.lema-share-action.whatsapp::before {
    content: "☘";
    background: #25D366;
    color: white;
}

.lema-share-action.x::before {
    content: "𝕏";
    background: #000;
    color: white;
}

.lema-share-action.native::before {
    content: "⇧";
    background: rgba(255, 190, 215, 0.55);
    color: white;
}

.lema-share-action strong {
    font-size: inherit;
    font-weight: 500;
}
/* =========================================================
   FIX FINAL HOME MOONKEY - SHARE + CARDS + RESPONSIVE
   Pegar al final del style.css
========================================================= */

/* -------- HOME MÁS PEQUEÑA EN PC -------- */

@media (min-width: 901px) {
    .lema-main {
        width: min(100% - 32px, 680px) !important;
        padding-top: 42px !important;
        padding-bottom: 70px !important;
    }

    .lema-brand-hero {
        padding: 28px 0 34px !important;
    }

    .lema-logo-mark {
        width: 124px !important;
        height: 124px !important;
        margin-bottom: 18px !important;
        border-radius: 36px !important;
    }

    .lema-brand-hero h1 {
        font-size: 54px !important;
    }

    .lema-slogan {
        margin-top: 14px !important;
        font-size: 24px !important;
    }

    .lema-intro {
        max-width: 520px !important;
        margin-top: 18px !important;
        font-size: 14px !important;
        line-height: 1.65 !important;
    }

    .lema-socials {
        margin-top: 24px !important;
        gap: 14px !important;
    }

    .lema-socials a {
        width: 42px !important;
        height: 42px !important;
    }

    .lema-socials svg {
        width: 29px !important;
        height: 29px !important;
    }

    .lema-section-title {
        margin: 30px 0 16px !important;
    }

    .lema-section-title span {
        font-size: 30px !important;
    }

    .lema-ticket-card {
        height: 150px !important;
        min-height: 150px !important;
        margin-bottom: 18px !important;
        padding: 14px 72px 14px 14px !important;
        grid-template-columns: 96px minmax(0, 1fr) !important;
        gap: 18px !important;
        border-radius: 25px !important;
    }

    .lema-ticket-flyer {
        width: 96px !important;
        height: 122px !important;
        border-radius: 15px !important;
    }

    .lema-ticket-date {
        font-size: 13px !important;
        margin-bottom: 7px !important;
    }

    .lema-ticket-content h2 {
        font-size: 22px !important;
        line-height: 1.08 !important;
    }

    .lema-ticket-location {
        margin-top: 12px !important;
        font-size: 14px !important;
    }

    .lema-ticket-location svg {
        width: 19px !important;
        height: 19px !important;
    }

    .lema-ticket-ribbon {
        right: -66px !important;
        bottom: 22px !important;
        width: 190px !important;
        height: 38px !important;
        font-size: 11px !important;
    }

    .lema-fourvenues-card {
        margin-bottom: 30px !important;
    }
}

/* -------- TARJETAS -------- */

.lema-fourvenues-flyer {
    padding: 0 !important;
    background: #ffffff !important;
}

.lema-fourvenues-flyer img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    display: block !important;
}

.lema-event-card-pink {
    background:
        radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.08), transparent 240px),
        linear-gradient(135deg, rgba(245, 164, 166, 0.78), rgba(245, 164, 166, 0.58)) !important;
    border-color: rgba(245, 164, 166, 0.45) !important;
}

.lema-event-card-pink .lema-ticket-date,
.lema-event-card-pink .lema-ticket-location,
.lema-event-card-pink .lema-ticket-location span {
    color: rgba(255, 255, 255, 0.76) !important;
}

.lema-event-card-pink h2 {
    color: #ffffff !important;
}

.lema-event-ribbon-entry {
    background: var(--pink) !important;
    color: var(--bg) !important;
}

/* -------- BOTÓN COMPARTIR DEFINITIVO -------- */

.lema-share-floating {
    position: fixed !important;
    top: 94px !important;
    right: 18px !important;
    z-index: 90 !important;

    width: 42px !important;
    height: 42px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 999px !important;

    background: rgba(255, 255, 255, 0.10) !important;
    color: var(--pink-light) !important;

    cursor: pointer !important;

    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease !important;
}

.lema-share-floating:hover {
    transform: translateY(-2px) !important;
    background: rgba(245, 164, 166, 0.18) !important;
    border-color: rgba(245, 164, 166, 0.28) !important;
}

.lema-share-floating svg {
    width: 22px !important;
    height: 22px !important;
}

/* En móvil: debajo del menú, no encima */
@media (max-width: 820px) {
    .lema-share-floating {
        top: 78px !important;
        right: 14px !important;
        bottom: auto !important;
        z-index: 90 !important;

        width: 42px !important;
        height: 42px !important;
    }

    .lema-share-floating svg {
        width: 22px !important;
        height: 22px !important;
    }
}

/* En móviles muy pequeños: más abajo para no pisar dropdown/tienda */
@media (max-width: 430px) {
    .lema-share-floating {
        top: 74px !important;
        right: 12px !important;
        width: 40px !important;
        height: 40px !important;
    }

    .lema-share-floating svg {
        width: 21px !important;
        height: 21px !important;
    }
}

/* -------- MODAL COMPARTIR -------- */

.lema-share-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2000 !important;
    display: none !important;
}

.lema-share-overlay.active {
    display: block !important;
}

.lema-share-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.72) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

.lema-share-modal {
    position: absolute !important;
    left: 50% !important;
    bottom: 24px !important;

    width: min(100% - 36px, 520px) !important;
    max-height: calc(100vh - 62px) !important;
    overflow-y: auto !important;

    transform: translateX(-50%) !important;

    padding: 28px 28px 24px !important;
    border-radius: 30px !important;

    background:
        linear-gradient(
            180deg,
            rgba(198, 127, 158, 0.98),
            rgba(178, 108, 139, 0.98)
        ) !important;

    color: #ffe1ec !important;
    text-align: center !important;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.58),
        inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.lema-share-handle {
    width: 64px !important;
    height: 7px !important;
    margin: 0 auto 24px !important;
    border-radius: 999px !important;
    background: rgba(255, 220, 234, 0.48) !important;
}

.lema-share-close {
    position: absolute !important;
    top: 22px !important;
    right: 22px !important;

    width: 48px !important;
    height: 48px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: rgba(239, 169, 198, 0.95) !important;
    color: rgba(255, 240, 247, 0.95) !important;

    font-size: 34px !important;
    font-weight: 300 !important;
    line-height: 1 !important;

    cursor: pointer !important;

    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.lema-share-modal h2 {
    margin: 0 0 28px !important;
    padding: 0 60px !important;

    color: #ffd8e7 !important;
    font-size: 30px !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.045em !important;
}

.lema-share-qr {
    width: 230px !important;
    max-width: 70vw !important;
    margin: 0 auto 24px !important;
    padding: 12px !important;

    border-radius: 18px !important;
    background: #ffffff !important;

    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12) !important;
}

.lema-share-qr img {
    width: 100% !important;
    display: block !important;
    border-radius: 9px !important;
}

.lema-share-name {
    margin: 0 0 7px !important;
    color: rgba(255, 240, 247, 0.92) !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
}

.lema-share-url {
    margin: 0 0 24px !important;
    color: rgba(255, 230, 240, 0.62) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
}

.lema-share-actions {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
}

.lema-share-actions a,
.lema-share-actions button {
    min-height: 82px !important;
    padding: 12px 8px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-direction: column !important;

    border: 1px solid rgba(255, 230, 240, 0.18) !important;
    border-radius: 16px !important;

    background: rgba(255, 210, 228, 0.18) !important;
    color: rgba(255, 238, 246, 0.9) !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;

    cursor: pointer !important;
}

.lema-share-action::before {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 8px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 999px !important;

    font-size: 19px !important;
    font-weight: 900 !important;
}

.lema-share-action.whatsapp::before {
    content: "☘" !important;
    background: #25D366 !important;
    color: white !important;
}

.lema-share-action.x::before {
    content: "𝕏" !important;
    background: #000 !important;
    color: white !important;
}

.lema-share-action.native::before {
    content: "⇧" !important;
    background: rgba(255, 190, 215, 0.55) !important;
    color: white !important;
}

.lema-share-action strong {
    font-size: inherit !important;
    font-weight: 600 !important;
}

.lema-copy-link {
    width: 100% !important;
    min-height: 52px !important;
    padding: 13px 16px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    border: 1px solid rgba(255, 230, 240, 0.18) !important;
    border-radius: 16px !important;

    background: rgba(255, 210, 228, 0.18) !important;
    color: rgba(255, 238, 246, 0.9) !important;

    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 800 !important;

    cursor: pointer !important;
}

.share-modal-open {
    overflow: hidden !important;
}

/* -------- MODAL MÓVIL LEMA -------- */

@media (max-width: 720px) {
    .lema-share-modal {
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        width: 100% !important;
        max-height: 82vh !important;

        transform: none !important;

        padding: 16px 16px 20px !important;

        border-radius: 28px 28px 0 0 !important;
    }

    .lema-share-handle {
        width: 54px !important;
        height: 6px !important;
        margin-bottom: 22px !important;
    }

    .lema-share-close {
        top: 18px !important;
        right: 18px !important;

        width: 46px !important;
        height: 46px !important;

        font-size: 31px !important;
    }

    .lema-share-modal h2 {
        margin-bottom: 24px !important;
        padding: 0 58px !important;
        font-size: 27px !important;
    }

    .lema-share-qr {
        width: 210px !important;
        max-width: 64vw !important;
        margin-bottom: 22px !important;
        padding: 11px !important;
    }

    .lema-share-name {
        font-size: 18px !important;
    }

    .lema-share-url {
        margin-bottom: 22px !important;
        font-size: 14px !important;
    }

    .lema-share-actions {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .lema-share-actions a,
    .lema-share-actions button {
        min-height: 74px !important;
        padding: 10px 5px !important;
        border-radius: 14px !important;
        font-size: 12px !important;
    }

    .lema-share-action::before {
        width: 34px !important;
        height: 34px !important;
        margin-bottom: 7px !important;
        font-size: 17px !important;
    }

    .lema-copy-link {
        min-height: 50px !important;
        border-radius: 14px !important;
        font-size: 15px !important;
    }
}

/* -------- TARJETAS EN MÓVIL -------- */

@media (max-width: 720px) {
    .lema-ticket-card {
        position: relative !important;
        overflow: hidden !important;
    }

    .lema-ticket-ribbon,
    .lema-ticket-ribbon-blue,
    .lema-event-ribbon-entry {
        display: flex !important;
        position: absolute !important;
        right: -43px !important;
        bottom: 18px !important;
        width: 150px !important;
        height: 38px !important;
        align-items: center !important;
        justify-content: center !important;
        transform: rotate(-45deg) !important;
        font-size: 10px !important;
        font-weight: 900 !important;
        letter-spacing: 0.08em !important;
    }
}

@media (max-width: 520px) {
    .lema-ticket-card,
    .lema-fourvenues-card {
        padding-right: 54px !important;
    }

    .lema-ticket-ribbon,
    .lema-ticket-ribbon-blue,
    .lema-event-ribbon-entry {
        right: -47px !important;
        bottom: 15px !important;
        width: 150px !important;
        height: 34px !important;
        font-size: 9px !important;
    }
}
.admin-quick-actions,
.admin-form-actions {
    display: grid;
    gap: 12px;
}

.admin-form-actions {
    margin-top: 18px;
}

.mini-btn.danger,
.danger-action {
    border-color: rgba(255, 111, 145, 0.45) !important;
    background: rgba(255, 111, 145, 0.14) !important;
    color: var(--danger) !important;
}

.mini-btn.danger:hover,
.danger-action:hover {
    background: var(--danger) !important;
    color: var(--bg) !important;
}

.status-alert {
    margin: 16px 0;
    padding: 15px 16px;
    border-radius: 16px;
    font-weight: 800;
    line-height: 1.45;
}

.status-alert.archived {
    border: 1px solid rgba(255, 111, 145, 0.35);
    background: rgba(255, 111, 145, 0.10);
    color: var(--danger);
}
/* =========================================================
   ADMIN ANALYTICS
========================================================= */

.analytics-admin {
    max-width: 1500px;
}

.analytics-hero {
    margin-bottom: 26px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.analytics-hero h1 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.analytics-hero p {
    margin: 0;
    color: var(--muted-light);
    font-size: 16px;
    line-height: 1.5;
}

.analytics-range-pill {
    width: fit-content;
    margin-top: 18px;
    padding: 10px 14px;
    display: inline-flex;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--pink-light);
    font-weight: 800;
    font-size: 13px;
}

.analytics-tabs {
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
}

.analytics-tabs a {
    padding: 13px 18px;
    border-radius: 13px;
    color: var(--muted-light);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.analytics-tabs a.active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text);
}

.analytics-grid-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    margin-bottom: 24px;
}

.analytics-panel,
.analytics-mini-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background:
        radial-gradient(circle at 80% 10%, rgba(245, 164, 166, 0.09), transparent 280px),
        rgba(23, 26, 33, 0.72);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.analytics-panel {
    padding: 26px;
    margin-bottom: 24px;
}

.chart-panel {
    min-height: 420px;
}

.analytics-panel-head {
    margin-bottom: 24px;
}

.analytics-panel-head.inline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.analytics-panel-head h2 {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.analytics-panel-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.analytics-side-cards {
    display: grid;
    gap: 16px;
}

.analytics-mini-card {
    padding: 18px;
}

.analytics-mini-card span {
    display: block;
    margin-bottom: 5px;
    color: var(--text);
    font-size: 17px;
    font-weight: 900;
}

.analytics-mini-card small {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.analytics-mini-card strong {
    display: block;
    margin-top: 20px;
    color: var(--pink-light);
    font-size: 34px;
    line-height: 1;
}

.analytics-region-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 20px;
}

.analytics-map-placeholder {
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background:
        radial-gradient(circle at center, rgba(245, 164, 166, 0.10), transparent 230px),
        rgba(0, 0, 0, 0.18);
    text-align: center;
}

.analytics-map-placeholder div {
    max-width: 360px;
}

.analytics-map-placeholder strong {
    display: block;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 24px;
}

.analytics-map-placeholder span {
    color: var(--muted-light);
    line-height: 1.5;
}

.analytics-country-list {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
}

.analytics-country-list h3 {
    margin: 0 0 20px;
    color: var(--text);
    font-size: 20px;
}

.analytics-country-row,
.analytics-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.analytics-country-row {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.analytics-country-row:last-child {
    border-bottom: 0;
}

.analytics-country-row span {
    color: var(--text);
    font-weight: 900;
}

.analytics-country-row strong {
    color: var(--pink-light);
}

.analytics-subtitle {
    margin: 28px 0 14px;
    color: var(--text);
    font-size: 23px;
    letter-spacing: -0.04em;
}

.analytics-link-list {
    display: grid;
    gap: 12px;
}

.analytics-link-row {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
}

.analytics-link-row strong {
    display: block;
    color: var(--text);
    font-size: 16px;
}

.analytics-link-row span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.analytics-link-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.analytics-link-stats span {
    color: var(--pink-light);
    font-size: 19px;
    font-weight: 900;
    text-align: center;
}

.analytics-link-stats small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
}

.analytics-empty {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--muted);
    text-align: center;
}

.analytics-device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.analytics-device-grid div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
}

.analytics-device-grid span {
    display: block;
    color: var(--muted);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
}

.analytics-device-grid strong {
    display: block;
    margin-top: 8px;
    color: var(--pink-light);
    font-size: 30px;
}

@media (max-width: 1000px) {
    .analytics-hero,
    .analytics-panel-head.inline {
        display: block;
    }

    .analytics-tabs {
        margin-top: 18px;
        overflow-x: auto;
    }

    .analytics-grid-main,
    .analytics-region-grid {
        grid-template-columns: 1fr;
    }

    .analytics-side-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .analytics-panel {
        padding: 18px;
        border-radius: 20px;
    }

    .analytics-side-cards {
        grid-template-columns: 1fr;
    }

    .analytics-link-row,
    .analytics-country-row {
        display: block;
    }

    .analytics-link-stats {
        margin-top: 14px;
        justify-content: flex-start;
    }

    .analytics-tabs a {
        padding: 11px 13px;
        font-size: 12px;
        white-space: nowrap;
    }
}
/* =========================================================
   ANALYTICS CHART FIX LEMA STYLE
========================================================= */

.analytics-admin {
    max-width: 1500px;
}

.analytics-grid-main {
    align-items: stretch;
}

.analytics-panel.chart-panel {
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

.analytics-chart-wrap {
    position: relative;
    width: 100%;
    height: 395px;
    margin-top: 20px;
}

.analytics-chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}

.analytics-panel {
    background:
        radial-gradient(circle at 78% 16%, rgba(245, 164, 166, 0.10), transparent 320px),
        rgba(23, 26, 33, 0.86) !important;
}

.analytics-mini-card {
    min-height: 130px;
}

@media (max-width: 1000px) {
    .analytics-panel.chart-panel {
        min-height: 430px;
    }

    .analytics-chart-wrap {
        height: 310px;
    }
}

@media (max-width: 620px) {
    .analytics-panel.chart-panel {
        min-height: 390px;
    }

    .analytics-chart-wrap {
        height: 270px;
    }
}
/* =========================================================
   FIX ANALYTICS PAÍSES - BLOQUE IZQUIERDO
========================================================= */

.analytics-map-placeholder {
    position: relative;
    min-height: 360px;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    background:
        radial-gradient(circle at 50% 45%, rgba(245, 164, 166, 0.10), transparent 360px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(15, 17, 23, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 45px rgba(0, 0, 0, 0.20);
}

.analytics-map-placeholder::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        radial-gradient(circle at 28% 35%, rgba(112, 179, 250, 0.08), transparent 220px),
        radial-gradient(circle at 74% 62%, rgba(245, 164, 166, 0.09), transparent 260px);
    opacity: 1;
    pointer-events: none;
}

.analytics-map-placeholder::after {
    position: absolute;
    inset: 22px;
    content: "";
    border-radius: 22px;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.analytics-map-placeholder > div {
    position: relative;
    z-index: 2;
    max-width: 520px;
    text-align: center;
}

.analytics-map-placeholder strong {
    display: block;
    margin-bottom: 18px;
    color: var(--text);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.analytics-map-placeholder span {
    display: block;
    color: var(--muted-light);
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 500;
    line-height: 1.55;
}

.analytics-country-list {
    min-height: 360px;
}

.analytics-country-row small {
    margin-left: 8px;
    color: var(--pink);
    font-size: 18px;
    font-weight: 900;
}

/* Móvil */
@media (max-width: 900px) {
    .analytics-map-placeholder {
        min-height: 260px;
        padding: 26px;
    }

    .analytics-map-placeholder strong {
        font-size: 28px;
    }

    .analytics-map-placeholder span {
        font-size: 16px;
    }
}
/* =========================================================
   ANALYTICS REAL MAP
========================================================= */

.analytics-real-map-wrap {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(10, 12, 18, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 20px 55px rgba(0, 0, 0, 0.25);
}

#analyticsCountryMap {
    width: 100%;
    height: 420px;
    min-height: 420px;
    z-index: 1;
    background: #11141b;
}

.analytics-map-empty {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 30px;
    text-align: center;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 42%, rgba(245, 164, 166, 0.12), transparent 280px),
        rgba(10, 12, 18, 0.72);
}

.analytics-map-empty strong {
    color: var(--text);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 900;
    letter-spacing: -0.05em;
}

.analytics-map-empty span {
    max-width: 440px;
    color: var(--muted-light);
    font-size: 17px;
    line-height: 1.5;
}

.leaflet-container {
    font-family: inherit;
    background: #11141b;
}

.leaflet-tile-pane {
    filter: grayscale(1) invert(1) brightness(0.72) contrast(1.1) saturate(0.7);
}

.leaflet-control-zoom {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}

.leaflet-control-zoom a {
    width: 34px !important;
    height: 34px !important;
    line-height: 34px !important;
    background: rgba(20, 23, 31, 0.92) !important;
    color: #fff !important;
    border: 0 !important;
    font-weight: 900;
}

.leaflet-control-zoom a:hover {
    background: rgba(247, 186, 187, 0.24) !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 16px;
    background: rgba(18, 20, 28, 0.96);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.leaflet-popup-tip {
    background: rgba(18, 20, 28, 0.96);
}

.leaflet-popup-content {
    margin: 14px 16px;
    color: #cbd2df;
    font-size: 14px;
    line-height: 1.45;
}

.leaflet-popup-content strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 16px;
}

.leaflet-tooltip {
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    background: rgba(18, 20, 28, 0.95);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    font-weight: 800;
}

@media (max-width: 900px) {
    .analytics-real-map-wrap,
    #analyticsCountryMap {
        min-height: 320px;
        height: 320px;
    }
}
/* =========================================================
   ANALYTICS REAL MAP
========================================================= */

.analytics-real-map-wrap {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(10, 12, 18, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 20px 55px rgba(0, 0, 0, 0.25);
}

#analyticsCountryMap {
    width: 100%;
    height: 420px;
    min-height: 420px;
    z-index: 1;
    background: #11141b;
}

.analytics-map-empty {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 30px;
    text-align: center;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 42%, rgba(245, 164, 166, 0.12), transparent 280px),
        rgba(10, 12, 18, 0.72);
}

.analytics-map-empty strong {
    color: var(--text);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 900;
    letter-spacing: -0.05em;
}

.analytics-map-empty span {
    max-width: 440px;
    color: var(--muted-light);
    font-size: 17px;
    line-height: 1.5;
}

.leaflet-container {
    font-family: inherit;
    background: #11141b;
}

.leaflet-tile-pane {
    filter: grayscale(1) invert(1) brightness(0.72) contrast(1.1) saturate(0.7);
}

.leaflet-control-zoom {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}

.leaflet-control-zoom a {
    width: 34px !important;
    height: 34px !important;
    line-height: 34px !important;
    background: rgba(20, 23, 31, 0.92) !important;
    color: #fff !important;
    border: 0 !important;
    font-weight: 900;
}

.leaflet-control-zoom a:hover {
    background: rgba(247, 186, 187, 0.24) !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 16px;
    background: rgba(18, 20, 28, 0.96);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.leaflet-popup-tip {
    background: rgba(18, 20, 28, 0.96);
}

.leaflet-popup-content {
    margin: 14px 16px;
    color: #cbd2df;
    font-size: 14px;
    line-height: 1.45;
}

.leaflet-popup-content strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 16px;
}

.leaflet-tooltip {
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    background: rgba(18, 20, 28, 0.95);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    font-weight: 800;
}

@media (max-width: 900px) {
    .analytics-real-map-wrap,
    #analyticsCountryMap {
        min-height: 320px;
        height: 320px;
    }
}
/* =========================================================
   RIBBON ACCESOS - ESTILO VERDE COMO "COMPRAR"
========================================================= */

.lema-event-ribbon-entry {
    background: #6f8f72 !important;
    color: #ffffff !important;
    border-left: 2px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 10px 24px rgba(0, 0, 0, 0.16);
}

.lema-event-ribbon-entry span {
    color: #ffffff !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}
.admin-check-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.045);
    cursor: pointer;
}

.admin-check-option input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--pink);
    flex: 0 0 auto;
}

.admin-check-option span {
    color: var(--text);
    font-weight: 800;
    line-height: 1.25;
}

/* =========================================================
   THANKS QR ACCESS
========================================================= */

.qr-thanks-section {
    width: 100%;
    margin: 30px 0;
    padding: 22px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(247, 186, 187, 0.14), transparent 320px),
        rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.qr-thanks-head {
    text-align: left;
    margin-bottom: 18px;
}

.qr-thanks-head span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(247, 186, 187, 0.14);
    color: var(--pink);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.qr-thanks-head h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1;
}

.qr-thanks-head p {
    margin: 0;
    color: var(--muted-light);
    line-height: 1.5;
}

.qr-thanks-list {
    display: grid;
    gap: 16px;
}

.qr-thanks-card {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(10, 12, 18, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.qr-thanks-image {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #fff;
    padding: 10px;
}

.qr-thanks-image img {
    width: 126px;
    height: 126px;
    display: block;
    object-fit: contain;
}

.qr-thanks-info {
    min-width: 0;
    text-align: left;
}

.qr-thanks-info h3 {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 22px;
    line-height: 1.1;
}

.qr-thanks-info p {
    margin: 0 0 5px;
    color: var(--muted-light);
}

.qr-code-pill,
.qr-warning-pill {
    display: inline-flex;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.qr-code-pill {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.qr-code-pill strong {
    margin-left: 4px;
    color: var(--pink);
}

.qr-warning-pill {
    color: #fff;
    background: rgba(255, 160, 122, 0.18);
}

.qr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.qr-actions .cta-free {
    width: auto;
    min-width: 132px;
    padding: 12px 16px;
    font-size: 13px;
}

.qr-thanks-note {
    margin-top: 16px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(247, 186, 187, 0.08);
    border: 1px solid rgba(247, 186, 187, 0.14);
}

.qr-thanks-note p {
    margin: 0;
    color: var(--muted-light);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 680px) {
    .qr-thanks-section {
        padding: 16px;
    }

    .qr-thanks-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .qr-thanks-info {
        text-align: center;
    }

    .qr-actions {
        justify-content: center;
    }

    .qr-thanks-image img {
        width: 160px;
        height: 160px;
    }
}
/* =========================================================
   ADMIN QR SCANNER
========================================================= */

.qr-reader-box {
    width: 100%;
    min-height: 280px;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(10, 12, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.qr-reader-box video {
    border-radius: 22px;
}

.qr-scan-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 0;
}

.qr-scan-actions .cta-free {
    width: auto;
}

.qr-scan-result {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.045);
    color: var(--text);
}

.qr-scan-result strong {
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 1.1;
}

.qr-scan-result p {
    margin: 6px 0;
    color: var(--muted-light);
    line-height: 1.4;
}

.qr-scan-result.empty {
    color: var(--muted-light);
}

.qr-scan-result.loading {
    border-color: rgba(112, 179, 250, 0.36);
    background: rgba(112, 179, 250, 0.08);
}

.qr-scan-result.success {
    border-color: rgba(82, 211, 132, 0.42);
    background: rgba(82, 211, 132, 0.10);
}

.qr-scan-result.success strong {
    color: #52d384;
}

.qr-scan-result.error {
    border-color: rgba(255, 95, 95, 0.42);
    background: rgba(255, 95, 95, 0.10);
}

.qr-scan-result.error strong {
    color: #ff7777;
}
/* =========================================================
   ADMIN QR EVENT SELECTOR
========================================================= */

.qr-door-layout {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.qr-door-events,
.qr-door-scanner {
    padding: 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(247, 186, 187, 0.10), transparent 280px),
        rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255,255,255,0.10);
}

.qr-door-head {
    margin-bottom: 18px;
}

.qr-door-head span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(247, 186, 187, 0.14);
    color: var(--pink);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.qr-door-head h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 28px;
    line-height: 1;
}

.qr-door-head p {
    margin: 0;
    color: var(--muted-light);
    line-height: 1.45;
}

.qr-event-selector {
    display: grid;
    gap: 12px;
    max-height: 620px;
    overflow: auto;
    padding-right: 4px;
}

.qr-event-option {
    width: 100%;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    background: rgba(10, 12, 18, 0.58);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.qr-event-option:hover {
    transform: translateY(-2px);
    border-color: rgba(247, 186, 187, 0.35);
    background: rgba(247, 186, 187, 0.07);
}

.qr-event-option.selected {
    border-color: rgba(247, 186, 187, 0.75);
    background:
        linear-gradient(135deg, rgba(247, 186, 187, 0.16), rgba(112, 179, 250, 0.08)),
        rgba(10, 12, 18, 0.74);
    box-shadow: 0 0 0 3px rgba(247, 186, 187, 0.10);
}

.qr-event-date {
    width: 62px;
    height: 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
}

.qr-event-date strong {
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
}

.qr-event-date small {
    margin-top: 4px;
    color: var(--muted-light);
    font-size: 11px;
    font-weight: 800;
}

.qr-event-info {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.qr-event-info strong {
    overflow: hidden;
    color: var(--text);
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.qr-event-info small {
    overflow: hidden;
    color: var(--muted-light);
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.qr-event-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.qr-event-status.published {
    color: #52d384;
    background: rgba(82, 211, 132, 0.12);
}

.qr-event-status.draft {
    color: #f4c76b;
    background: rgba(244, 199, 107, 0.12);
}

.qr-selected-event {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    color: var(--muted-light);
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
}

.qr-selected-event.active {
    color: var(--text);
    border-color: rgba(247, 186, 187, 0.22);
    background: rgba(247, 186, 187, 0.08);
}

.qr-manual-box,
.qr-result-wrap {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.qr-manual-box h3,
.qr-result-wrap h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 20px;
}

@media (max-width: 980px) {
    .qr-door-layout {
        grid-template-columns: 1fr;
    }

    .qr-event-selector {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 640px) {
    .qr-door-events,
    .qr-door-scanner {
        padding: 16px;
        border-radius: 22px;
    }

    .qr-event-option {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .qr-event-date {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .qr-event-status {
        grid-column: 1 / -1;
        justify-self: start;
    }
}
/* =========================================================
   ADMIN QR SELECT + SCANNER PAGE
========================================================= */

.qr-select-page,
.qr-scan-page {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.qr-select-hero,
.qr-scan-event-header,
.qr-scan-camera-card,
.qr-scan-side-card {
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.10);
    background:
        radial-gradient(circle at top right, rgba(247, 186, 187, 0.10), transparent 300px),
        rgba(255,255,255,0.045);
}

.qr-select-hero {
    padding: 34px;
    margin-bottom: 24px;
}

.qr-select-hero span,
.qr-scan-event-header span,
.qr-door-head span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(247, 186, 187, 0.14);
    color: var(--pink);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.qr-select-hero h1,
.qr-scan-event-header h1 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(34px, 6vw, 64px);
    letter-spacing: -0.06em;
    line-height: 0.95;
}

.qr-select-hero p,
.qr-scan-event-header p,
.qr-door-head p {
    margin: 0;
    max-width: 680px;
    color: var(--muted-light);
    line-height: 1.5;
}

.qr-select-grid {
    display: grid;
    gap: 14px;
}

.qr-select-card {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(10,12,18,0.62);
    color: var(--text);
    text-decoration: none;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.qr-select-card:hover {
    transform: translateY(-2px);
    border-color: rgba(247, 186, 187, 0.45);
    background: rgba(247, 186, 187, 0.07);
}

.qr-select-card.qr-disabled {
    opacity: 0.72;
}

.qr-select-date {
    width: 74px;
    height: 74px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
}

.qr-select-date strong {
    color: var(--text);
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

.qr-select-date small {
    margin-top: 5px;
    color: var(--muted-light);
    font-size: 12px;
    font-weight: 900;
}

.qr-select-info {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.qr-select-info strong {
    overflow: hidden;
    color: var(--text);
    font-size: 20px;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.qr-select-info small {
    overflow: hidden;
    color: var(--muted-light);
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.qr-select-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.qr-status {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 999px;
    font-style: normal;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.qr-status.published,
.qr-status.qr-on {
    color: #52d384;
    background: rgba(82, 211, 132, 0.12);
}

.qr-status.draft {
    color: #f4c76b;
    background: rgba(244, 199, 107, 0.12);
}

.qr-status.qr-off {
    color: #ff9f7a;
    background: rgba(255, 159, 122, 0.12);
}

.qr-select-action {
    color: var(--pink);
    font-weight: 900;
    white-space: nowrap;
}

.qr-scan-event-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 26px;
    margin-bottom: 24px;
}

.qr-scan-event-lock {
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(82, 211, 132, 0.12);
    color: #52d384;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.qr-scan-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 24px;
    align-items: start;
}

.qr-scan-camera-card,
.qr-scan-side-card {
    padding: 24px;
}

.qr-door-head {
    margin-bottom: 18px;
}

.qr-door-head h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 30px;
    line-height: 1;
}

.qr-reader-box {
    width: 100%;
    min-height: 340px;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(10, 12, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.qr-reader-box video {
    border-radius: 24px;
}

.qr-scan-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 0;
}

.qr-scan-actions .cta-free {
    width: auto;
}

.qr-scan-result {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.045);
    color: var(--text);
}

.qr-scan-result strong {
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 1.1;
}

.qr-scan-result p {
    margin: 6px 0;
    color: var(--muted-light);
    line-height: 1.4;
}

.qr-scan-result.empty {
    color: var(--muted-light);
}

.qr-scan-result.loading {
    border-color: rgba(112, 179, 250, 0.36);
    background: rgba(112, 179, 250, 0.08);
}

.qr-scan-result.success {
    border-color: rgba(82, 211, 132, 0.42);
    background: rgba(82, 211, 132, 0.10);
}

.qr-scan-result.success strong {
    color: #52d384;
}

.qr-scan-result.error {
    border-color: rgba(255, 95, 95, 0.42);
    background: rgba(255, 95, 95, 0.10);
}

.qr-scan-result.error strong {
    color: #ff7777;
}

.qr-manual-box {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.qr-manual-box h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 20px;
}

@media (max-width: 980px) {
    .qr-scan-layout {
        grid-template-columns: 1fr;
    }

    .qr-scan-event-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .qr-select-card {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .qr-select-badges,
    .qr-select-action {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .qr-select-hero,
    .qr-scan-event-header,
    .qr-scan-camera-card,
    .qr-scan-side-card {
        padding: 18px;
        border-radius: 22px;
    }

    .qr-select-card {
        padding: 14px;
        border-radius: 20px;
    }

    .qr-select-date {
        width: 58px;
        height: 58px;
        border-radius: 17px;
    }

    .qr-select-date strong {
        font-size: 22px;
    }

    .qr-reader-box {
        min-height: 280px;
    }
}
/* =========================================================
   QR RESULT LOCKED
========================================================= */

.qr-scan-result.fixed {
    position: relative;
    border-width: 2px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

.qr-scan-result.fixed strong {
    font-size: clamp(28px, 4vw, 42px);
}

.qr-scan-result.fixed p {
    font-size: 16px;
}

.qr-read-next-btn {
    width: 100%;
    margin-top: 18px;
    padding: 15px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--pink);
    color: #111;
    font-family: inherit;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.qr-read-next-btn:hover {
    transform: translateY(-1px);
}

.qr-read-next-btn:active {
    transform: translateY(0);
}

#startCameraBtn:disabled,
#manualCheckBtn:disabled,
#manualCode:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
/* =========================================================
   ADMIN QR SELECT + SCANNER PAGE
========================================================= */

.qr-select-page,
.qr-scan-page {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.qr-select-hero,
.qr-scan-event-header,
.qr-scan-camera-card,
.qr-scan-side-card {
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.10);
    background:
        radial-gradient(circle at top right, rgba(247, 186, 187, 0.10), transparent 300px),
        rgba(255,255,255,0.045);
}

.qr-select-hero {
    padding: 34px;
    margin-bottom: 24px;
}

.qr-select-hero span,
.qr-scan-event-header span,
.qr-door-head span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(247, 186, 187, 0.14);
    color: var(--pink);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.qr-select-hero h1,
.qr-scan-event-header h1 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(34px, 6vw, 64px);
    letter-spacing: -0.06em;
    line-height: 0.95;
}

.qr-select-hero p,
.qr-scan-event-header p,
.qr-door-head p {
    margin: 0;
    max-width: 680px;
    color: var(--muted-light);
    line-height: 1.5;
}

.qr-select-grid {
    display: grid;
    gap: 14px;
}

.qr-select-card {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(10,12,18,0.62);
    color: var(--text);
    text-decoration: none;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.qr-select-card:hover {
    transform: translateY(-2px);
    border-color: rgba(247, 186, 187, 0.45);
    background: rgba(247, 186, 187, 0.07);
}

.qr-select-card.qr-disabled {
    opacity: 0.72;
}

.qr-select-date {
    width: 74px;
    height: 74px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
}

.qr-select-date strong {
    color: var(--text);
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

.qr-select-date small {
    margin-top: 5px;
    color: var(--muted-light);
    font-size: 12px;
    font-weight: 900;
}

.qr-select-info {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.qr-select-info strong {
    overflow: hidden;
    color: var(--text);
    font-size: 20px;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.qr-select-info small {
    overflow: hidden;
    color: var(--muted-light);
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.qr-select-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.qr-status {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 999px;
    font-style: normal;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.qr-status.published,
.qr-status.qr-on {
    color: #52d384;
    background: rgba(82, 211, 132, 0.12);
}

.qr-status.draft {
    color: #f4c76b;
    background: rgba(244, 199, 107, 0.12);
}

.qr-status.qr-off {
    color: #ff9f7a;
    background: rgba(255, 159, 122, 0.12);
}

.qr-select-action {
    color: var(--pink);
    font-weight: 900;
    white-space: nowrap;
}

.qr-past-events-action {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.qr-past-events-action .cta-free {
    width: auto;
}

.qr-scan-event-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 26px;
    margin-bottom: 24px;
}

.qr-scan-event-lock {
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(82, 211, 132, 0.12);
    color: #52d384;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.qr-scan-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 24px;
    align-items: start;
}

.qr-scan-camera-card,
.qr-scan-side-card {
    padding: 24px;
}

.qr-door-head {
    margin-bottom: 18px;
}

.qr-door-head h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 30px;
    line-height: 1;
}

.qr-mobile-title {
    display: none;
}

.qr-reader-box {
    width: 100%;
    min-height: 340px;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(10, 12, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.qr-reader-box video {
    border-radius: 24px;
}

.qr-scan-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 0;
}

.qr-scan-actions .cta-free {
    width: auto;
}

.qr-scan-result {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.045);
    color: var(--text);
}

.qr-scan-result strong {
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 1.1;
}

.qr-scan-result p {
    margin: 6px 0;
    color: var(--muted-light);
    line-height: 1.4;
}

.qr-scan-result.empty {
    color: var(--muted-light);
}

.qr-scan-result.loading {
    border-color: rgba(112, 179, 250, 0.36);
    background: rgba(112, 179, 250, 0.08);
}

.qr-scan-result.success {
    border-color: rgba(82, 211, 132, 0.42);
    background: rgba(82, 211, 132, 0.10);
}

.qr-scan-result.success strong {
    color: #52d384;
}

.qr-scan-result.error {
    border-color: rgba(255, 95, 95, 0.42);
    background: rgba(255, 95, 95, 0.10);
}

.qr-scan-result.error strong {
    color: #ff7777;
}

.qr-scan-result.fixed {
    position: relative;
    border-width: 2px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

.qr-scan-result.fixed strong {
    font-size: clamp(28px, 4vw, 42px);
}

.qr-scan-result.fixed p {
    font-size: 16px;
}

.qr-read-next-btn {
    width: 100%;
    margin-top: 18px;
    padding: 15px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--pink);
    color: #111;
    font-family: inherit;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.qr-read-next-btn:hover {
    transform: translateY(-1px);
}

.qr-read-next-btn:active {
    transform: translateY(0);
}

#startCameraBtn:disabled,
#manualCheckBtn:disabled,
#manualCode:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.qr-manual-box {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.qr-manual-box h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 20px;
}

/* =========================================================
   QR MOBILE SIMPLIFIED
========================================================= */

@media (max-width: 980px) {
    .qr-scan-layout {
        grid-template-columns: 1fr;
    }

    .qr-scan-event-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .qr-select-card {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .qr-select-badges,
    .qr-select-action {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .qr-mobile-main {
        padding-left: 12px;
        padding-right: 12px;
    }

    .qr-mobile-back {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .qr-select-hero {
        padding: 18px;
        border-radius: 22px;
        margin-bottom: 16px;
    }

    .qr-select-hero span {
        display: none;
    }

    .qr-select-hero h1 {
        font-size: 32px;
        line-height: 1;
    }

    .qr-select-hero p {
        font-size: 14px;
        line-height: 1.35;
    }

    .qr-select-card {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 12px;
        padding: 13px;
        border-radius: 18px;
    }

    .qr-select-date {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .qr-select-date strong {
        font-size: 22px;
    }

    .qr-select-info strong {
        font-size: 15px;
    }

    .qr-select-info small {
        font-size: 12px;
    }

    .qr-select-badges {
        gap: 6px;
    }

    .qr-status {
        padding: 6px 8px;
        font-size: 10px;
    }

    .qr-select-action {
        display: none;
    }

    .qr-scan-event-header {
        padding: 14px;
        border-radius: 18px;
        margin-bottom: 12px;
    }

    .qr-scan-event-header span,
    .qr-mobile-hide-copy {
        display: none;
    }

    .qr-scan-event-header h1 {
        margin: 0;
        font-size: 22px;
        line-height: 1.05;
        letter-spacing: -0.04em;
    }

    .qr-scan-event-header p {
        margin-top: 5px;
        font-size: 13px;
        line-height: 1.3;
    }

    .qr-scan-event-lock {
        padding: 8px 10px;
        font-size: 10px;
    }

    .qr-scan-layout {
        gap: 12px;
    }

    .qr-scan-camera-card,
    .qr-scan-side-card {
        padding: 14px;
        border-radius: 18px;
        background: rgba(255,255,255,0.04);
    }

    .qr-mobile-title {
        display: block;
        margin-bottom: 10px;
        color: var(--text);
        font-size: 18px;
        font-weight: 900;
    }

    .qr-reader-box {
        min-height: 250px;
        border-radius: 16px;
    }

    .qr-reader-box video {
        border-radius: 16px;
    }

    .qr-scan-actions {
        display: grid;
        grid-template-columns: 1fr 0.55fr;
        gap: 8px;
        margin-top: 10px;
    }

    .qr-scan-actions .cta-free {
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .qr-scan-result {
        padding: 14px;
        border-radius: 16px;
    }

    .qr-scan-result strong {
        font-size: 21px;
    }

    .qr-scan-result.fixed strong {
        font-size: 27px;
    }

    .qr-scan-result p {
        margin: 5px 0;
        font-size: 14px;
        line-height: 1.35;
    }

    .qr-manual-box {
        margin-top: 14px;
        padding-top: 14px;
    }

    .qr-manual-box h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .qr-manual-box label {
        font-size: 13px;
    }

    .qr-manual-box input {
        min-height: 44px;
        font-size: 14px;
    }

    .qr-manual-box .cta-free {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .qr-read-next-btn {
        margin-top: 14px;
        padding: 14px 16px;
        font-size: 14px;
    }
}

.mobile-instagram-link {
    display: inline-flex;
    color: var(--pink);
    font-weight: 900;
    text-decoration: none;
    word-break: break-word;
    position: relative;
    z-index: 5;
    touch-action: manipulation;
}

.mobile-instagram-link:active {
    opacity: 0.75;
}
/* =========================================================
   REGISTRATIONS SEARCH + SORT
========================================================= */

.registrations-tools {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(220px, 320px) auto;
    gap: 14px;
    align-items: end;
    margin: 18px 0 20px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
}

.registrations-search-box,
.registrations-sort-box {
    display: grid;
    gap: 7px;
}

.registrations-search-box label,
.registrations-sort-box label {
    color: var(--muted-light);
    font-size: 13px;
    font-weight: 800;
}

.registrations-search-box input,
.registrations-sort-box select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    background: rgba(10,12,18,0.70);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.registrations-search-box input:focus,
.registrations-sort-box select:focus {
    border-color: rgba(247, 186, 187, 0.55);
    box-shadow: 0 0 0 3px rgba(247, 186, 187, 0.10);
}

.registrations-tools-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.registrations-tools-actions .action-btn {
    min-height: 46px;
    white-space: nowrap;
}

.mobile-instagram-link {
    display: inline-flex;
    color: var(--pink);
    font-weight: 900;
    text-decoration: none;
    word-break: break-word;
    position: relative;
    z-index: 20;
    touch-action: manipulation;
    pointer-events: auto;
}

.mobile-instagram-link:active {
    opacity: 0.75;
}

@media (max-width: 860px) {
    .registrations-tools {
        grid-template-columns: 1fr;
        padding: 14px;
        border-radius: 18px;
    }

    .registrations-tools-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .registrations-tools-actions .action-btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .registrations-tools {
        margin-top: 14px;
        gap: 11px;
    }

    .registrations-search-box input,
    .registrations-sort-box select {
        min-height: 44px;
        font-size: 13px;
    }
}
/* =========================================================
   REGISTRATIONS LIVE SEARCH + DROPDOWN SORT
========================================================= */

.registrations-live-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin: 18px 0 20px;
}

.registrations-live-search input {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(10,12,18,0.72);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.registrations-live-search input::placeholder {
    color: rgba(255,255,255,0.42);
}

.registrations-live-search input:focus {
    border-color: rgba(247, 186, 187, 0.60);
    box-shadow: 0 0 0 4px rgba(247, 186, 187, 0.10);
}

.registrations-filter-dropdown {
    position: relative;
}

.registrations-filter-btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.065);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.registrations-filter-btn span {
    color: var(--pink);
}

.registrations-filter-btn b {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.18s ease;
}

.registrations-filter-btn.open b {
    transform: rotate(180deg);
}

.registrations-filter-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 40;
    width: 280px;
    display: none;
    padding: 8px;
    border-radius: 18px;
    background: #151821;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 80px rgba(0,0,0,0.42);
}

.registrations-filter-menu.open {
    display: grid;
    gap: 6px;
}

.registrations-filter-menu button {
    width: 100%;
    padding: 12px 13px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: rgba(255,255,255,0.78);
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.registrations-filter-menu button:hover,
.registrations-filter-menu button.active {
    background: rgba(247, 186, 187, 0.12);
    color: var(--pink);
}

.no-results-row[hidden],
.registration-item[hidden] {
    display: none !important;
}

.mobile-instagram-link {
    display: inline-flex;
    color: var(--pink);
    font-weight: 900;
    text-decoration: none;
    word-break: break-word;
    position: relative;
    z-index: 20;
    touch-action: manipulation;
    pointer-events: auto;
}

.mobile-instagram-link:active {
    opacity: 0.75;
}

@media (max-width: 780px) {
    .registrations-live-tools {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .registrations-live-search input {
        min-height: 48px;
        padding: 0 15px;
        font-size: 14px;
    }

    .registrations-filter-btn {
        width: 100%;
        justify-content: space-between;
        min-height: 48px;
    }

    .registrations-filter-menu {
        left: 0;
        right: 0;
        width: 100%;
    }
}

/* =========================================================
   REGISTRATIONS ORDER DROPDOWN - CLEAN FIX
========================================================= */

.registrations-live-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin: 18px 0 20px;
}

.registrations-filter-dropdown {
    position: relative;
    display: flex;
    justify-content: flex-end;
    z-index: 50;
}

.registrations-filter-btn {
    appearance: none !important;
    -webkit-appearance: none !important;

    min-height: 54px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 18px;
    border: 1px solid rgba(247, 186, 187, 0.22) !important;
    border-radius: 999px !important;

    background: rgba(255, 255, 255, 0.065) !important;
    color: var(--text) !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 900 !important;

    cursor: pointer;
    box-shadow: none !important;
    white-space: nowrap;
}

.registrations-filter-btn span {
    color: var(--pink) !important;
    font-weight: 900;
}

.registrations-filter-btn b {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    border-radius: 50%;
    background: rgba(247, 186, 187, 0.12);
    color: var(--pink);

    font-size: 15px;
    line-height: 1;
    transition: transform 0.18s ease;
}

.registrations-filter-btn.open b {
    transform: rotate(180deg);
}

.registrations-filter-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;

    width: 310px;
    display: none !important;

    padding: 8px;
    border-radius: 20px;

    background: #151821 !important;
    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.registrations-filter-menu.open {
    display: grid !important;
    gap: 6px;
}

.registrations-filter-menu button {
    appearance: none !important;
    -webkit-appearance: none !important;

    width: 100% !important;
    min-height: 44px;

    display: flex !important;
    align-items: center;
    justify-content: flex-start;

    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 14px !important;

    background: transparent !important;
    color: rgba(255, 255, 255, 0.78) !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-align: left !important;

    cursor: pointer;
    box-shadow: none !important;
}

.registrations-filter-menu button:hover,
.registrations-filter-menu button.active {
    background: rgba(247, 186, 187, 0.12) !important;
    color: var(--pink) !important;
}

@media (max-width: 780px) {
    .registrations-live-tools {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .registrations-filter-dropdown {
        justify-content: stretch;
    }

    .registrations-filter-btn {
        width: 100%;
        justify-content: space-between;
        min-height: 48px;
    }

    .registrations-filter-menu {
        left: 0;
        right: 0;
        width: 100%;
    }
}
/* =========================================================
   ADMIN CRM
========================================================= */

.crm-main {
    position: relative;
}

.crm-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 22px;
}

.crm-top span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--pink);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.crm-top h1 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.crm-top p {
    margin: 0;
    max-width: 640px;
    color: var(--muted-light);
    line-height: 1.45;
}

.crm-top-stats {
    display: flex;
    gap: 10px;
}

.crm-top-stats div {
    min-width: 120px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.08);
}

.crm-top-stats div span {
    margin: 0 0 6px;
    color: var(--muted-light);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}

.crm-top-stats div strong {
    color: var(--text);
    font-size: 28px;
    line-height: 1;
}

.crm-card {
    border-radius: 30px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.10);
    overflow: hidden;
}

.crm-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.crm-search input {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(10,12,18,0.72);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.crm-search input::placeholder {
    color: rgba(255,255,255,0.42);
}

.crm-search input:focus {
    border-color: rgba(247, 186, 187, 0.60);
    box-shadow: 0 0 0 4px rgba(247, 186, 187, 0.10);
}

.crm-sort-dropdown {
    position: relative;
    z-index: 30;
}

.crm-sort-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid rgba(247, 186, 187, 0.22);
    border-radius: 999px;
    background: rgba(255,255,255,0.065);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.crm-sort-btn span {
    color: var(--pink);
}

.crm-sort-btn b {
    transition: transform 0.18s ease;
}

.crm-sort-btn.open b {
    transform: rotate(180deg);
}

.crm-sort-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    display: none;
    padding: 8px;
    border-radius: 18px;
    background: #151821;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 80px rgba(0,0,0,0.42);
}

.crm-sort-menu.open {
    display: grid;
    gap: 6px;
}

.crm-sort-menu button {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: rgba(255,255,255,0.78);
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.crm-sort-menu button:hover,
.crm-sort-menu button.active {
    background: rgba(247, 186, 187, 0.12);
    color: var(--pink);
}

.crm-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.crm-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.crm-table th,
.crm-table td {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: left;
    vertical-align: middle;
}

.crm-table th {
    color: var(--muted-light);
    background: rgba(255,255,255,0.035);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.crm-client-row {
    cursor: pointer;
    transition: background 0.15s ease;
}

.crm-client-row:hover {
    background: rgba(247, 186, 187, 0.06);
}

.crm-client-cell {
    display: flex;
    gap: 12px;
    align-items: center;
}

.crm-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(247, 186, 187, 0.16);
    color: var(--pink);
    font-size: 17px;
    font-weight: 900;
}

.crm-client-cell strong {
    display: block;
    color: var(--text);
    font-size: 15px;
}

.crm-client-cell span,
.crm-muted {
    display: block;
    color: var(--muted-light);
    font-size: 13px;
}

.crm-contact-icons {
    display: flex;
    gap: 7px;
}

.crm-contact-icons a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    color: var(--text);
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
}

.crm-contact-icons a:hover {
    background: rgba(247, 186, 187, 0.16);
    color: var(--pink);
}

.crm-badge {
    display: inline-flex;
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
}

.crm-badge.yes,
.crm-badge.attended {
    color: #52d384;
    background: rgba(82, 211, 132, 0.13);
}

.crm-badge.no,
.crm-badge.rejected,
.crm-badge.no_show {
    color: #ff8e8e;
    background: rgba(255, 95, 95, 0.13);
}

.crm-badge.pending {
    color: #f4c76b;
    background: rgba(244, 199, 107, 0.13);
}

.crm-badge.confirmed,
.crm-badge.gender {
    color: var(--pink);
    background: rgba(247, 186, 187, 0.13);
}

.crm-detail-panel {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 100;
    width: min(100%, 620px);
    background: rgba(12, 14, 20, 0.98);
    border-left: 1px solid rgba(255,255,255,0.10);
    box-shadow: -30px 0 90px rgba(0,0,0,0.55);
    overflow-y: auto;
}

.crm-detail-inner {
    padding: 28px;
}

.crm-detail-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.crm-detail-head span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--pink);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.crm-detail-head h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(34px, 6vw, 54px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.crm-detail-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--text);
    background: rgba(255,255,255,0.07);
    text-decoration: none;
    font-size: 30px;
    line-height: 1;
}

.crm-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.crm-tabs {
    display: flex;
    gap: 6px;
    margin-top: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.crm-tabs button {
    padding: 14px 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--muted-light);
    font-family: inherit;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

.crm-tabs button.active {
    color: var(--pink);
    border-bottom-color: var(--pink);
}

.crm-tab-panel {
    display: none;
}

.crm-tab-panel.active {
    display: block;
}

.crm-detail-section {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.crm-detail-section h3 {
    margin: 0 0 18px;
    color: var(--text);
    font-size: 22px;
}

.crm-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.crm-detail-grid div,
.crm-summary-grid div {
    min-width: 0;
}

.crm-detail-grid span,
.crm-summary-grid span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted-light);
    font-size: 14px;
    font-weight: 800;
}

.crm-detail-grid strong,
.crm-summary-grid strong {
    display: block;
    color: var(--text);
    font-size: 17px;
    word-break: break-word;
}

.crm-detail-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.crm-detail-actions a {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(247, 186, 187, 0.12);
    color: var(--pink);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
}

.crm-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.crm-summary-grid div {
    padding: 15px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.crm-summary-grid strong {
    font-size: 28px;
}

.crm-event-list {
    display: grid;
    gap: 10px;
}

.crm-event-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 15px;
    border-radius: 18px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
}

.crm-event-item strong {
    display: block;
    color: var(--text);
    font-size: 15px;
}

.crm-event-item span,
.crm-event-item small,
.crm-empty-text {
    display: block;
    margin-top: 4px;
    color: var(--muted-light);
    font-size: 13px;
    line-height: 1.45;
}

.crm-client-row[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .crm-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .crm-top-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .crm-toolbar {
        grid-template-columns: 1fr;
    }

    .crm-sort-btn {
        width: 100%;
        justify-content: space-between;
    }

    .crm-sort-menu {
        left: 0;
        right: 0;
        width: 100%;
    }

    .crm-detail-grid,
    .crm-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .crm-top h1 {
        font-size: 44px;
    }

    .crm-top-stats {
        grid-template-columns: 1fr;
    }

    .crm-card {
        border-radius: 22px;
    }

    .crm-toolbar {
        padding: 14px;
    }

    .crm-search input,
    .crm-sort-btn {
        min-height: 48px;
    }

    .crm-detail-panel {
        width: 100%;
    }

    .crm-detail-inner {
        padding: 20px;
    }

    .crm-detail-head h2 {
        font-size: 34px;
    }

    .crm-tabs {
        overflow-x: auto;
    }

    .crm-event-item {
        flex-direction: column;
    }
}
/* =========================================================
   ADMIN CRM
========================================================= */

.crm-main {
    position: relative;
}

.crm-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 22px;
}

.crm-top span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--pink);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.crm-top h1 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.crm-top p {
    margin: 0;
    max-width: 640px;
    color: var(--muted-light);
    line-height: 1.45;
}

.crm-top-stats {
    display: flex;
    gap: 10px;
}

.crm-top-stats div {
    min-width: 120px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.08);
}

.crm-top-stats div span {
    margin: 0 0 6px;
    color: var(--muted-light);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}

.crm-top-stats div strong {
    color: var(--text);
    font-size: 28px;
    line-height: 1;
}

.crm-card {
    border-radius: 30px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.10);
    overflow: hidden;
}

.crm-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.crm-search input {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(10,12,18,0.72);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.crm-search input::placeholder {
    color: rgba(255,255,255,0.42);
}

.crm-search input:focus {
    border-color: rgba(247, 186, 187, 0.60);
    box-shadow: 0 0 0 4px rgba(247, 186, 187, 0.10);
}

.crm-sort-dropdown {
    position: relative;
    z-index: 30;
}

.crm-sort-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid rgba(247, 186, 187, 0.22);
    border-radius: 999px;
    background: rgba(255,255,255,0.065);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.crm-sort-btn span {
    color: var(--pink);
}

.crm-sort-btn b {
    transition: transform 0.18s ease;
}

.crm-sort-btn.open b {
    transform: rotate(180deg);
}

.crm-sort-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    display: none;
    padding: 8px;
    border-radius: 18px;
    background: #151821;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 80px rgba(0,0,0,0.42);
}

.crm-sort-menu.open {
    display: grid;
    gap: 6px;
}

.crm-sort-menu button {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: rgba(255,255,255,0.78);
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.crm-sort-menu button:hover,
.crm-sort-menu button.active {
    background: rgba(247, 186, 187, 0.12);
    color: var(--pink);
}

.crm-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.crm-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.crm-table th,
.crm-table td {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: left;
    vertical-align: middle;
}

.crm-table th {
    color: var(--muted-light);
    background: rgba(255,255,255,0.035);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.crm-client-row {
    cursor: pointer;
    transition: background 0.15s ease;
}

.crm-client-row:hover {
    background: rgba(247, 186, 187, 0.06);
}

.crm-client-cell {
    display: flex;
    gap: 12px;
    align-items: center;
}

.crm-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(247, 186, 187, 0.16);
    color: var(--pink);
    font-size: 17px;
    font-weight: 900;
}

.crm-client-cell strong {
    display: block;
    color: var(--text);
    font-size: 15px;
}

.crm-client-cell span,
.crm-muted {
    display: block;
    color: var(--muted-light);
    font-size: 13px;
}

.crm-contact-icons {
    display: flex;
    gap: 7px;
}

.crm-contact-icons a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    color: var(--text);
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
}

.crm-contact-icons a:hover {
    background: rgba(247, 186, 187, 0.16);
    color: var(--pink);
}

.crm-badge {
    display: inline-flex;
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
}

.crm-badge.yes,
.crm-badge.attended {
    color: #52d384;
    background: rgba(82, 211, 132, 0.13);
}

.crm-badge.no,
.crm-badge.rejected,
.crm-badge.no_show {
    color: #ff8e8e;
    background: rgba(255, 95, 95, 0.13);
}

.crm-badge.pending {
    color: #f4c76b;
    background: rgba(244, 199, 107, 0.13);
}

.crm-badge.confirmed,
.crm-badge.gender {
    color: var(--pink);
    background: rgba(247, 186, 187, 0.13);
}

.crm-detail-panel {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 100;
    width: min(100%, 620px);
    background: rgba(12, 14, 20, 0.98);
    border-left: 1px solid rgba(255,255,255,0.10);
    box-shadow: -30px 0 90px rgba(0,0,0,0.55);
    overflow-y: auto;
}

.crm-detail-inner {
    padding: 28px;
}

.crm-detail-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.crm-detail-head span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--pink);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.crm-detail-head h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(34px, 6vw, 54px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.crm-detail-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--text);
    background: rgba(255,255,255,0.07);
    text-decoration: none;
    font-size: 30px;
    line-height: 1;
}

.crm-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.crm-tabs {
    display: flex;
    gap: 6px;
    margin-top: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.crm-tabs button {
    padding: 14px 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--muted-light);
    font-family: inherit;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

.crm-tabs button.active {
    color: var(--pink);
    border-bottom-color: var(--pink);
}

.crm-tab-panel {
    display: none;
}

.crm-tab-panel.active {
    display: block;
}

.crm-detail-section {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.crm-detail-section h3 {
    margin: 0 0 18px;
    color: var(--text);
    font-size: 22px;
}

.crm-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.crm-detail-grid span,
.crm-summary-grid span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted-light);
    font-size: 14px;
    font-weight: 800;
}

.crm-detail-grid strong,
.crm-summary-grid strong {
    display: block;
    color: var(--text);
    font-size: 17px;
    word-break: break-word;
}

.crm-detail-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.crm-detail-actions a {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(247, 186, 187, 0.12);
    color: var(--pink);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
}

.crm-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.crm-summary-grid div {
    padding: 15px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.crm-summary-grid strong {
    font-size: 28px;
}

.crm-event-list {
    display: grid;
    gap: 10px;
}

.crm-event-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 15px;
    border-radius: 18px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
}

.crm-event-item strong {
    display: block;
    color: var(--text);
    font-size: 15px;
}

.crm-event-item span,
.crm-event-item small,
.crm-empty-text {
    display: block;
    margin-top: 4px;
    color: var(--muted-light);
    font-size: 13px;
    line-height: 1.45;
}

.crm-client-row[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .crm-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .crm-top-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .crm-toolbar {
        grid-template-columns: 1fr;
    }

    .crm-sort-btn {
        width: 100%;
        justify-content: space-between;
    }

    .crm-sort-menu {
        left: 0;
        right: 0;
        width: 100%;
    }

    .crm-detail-grid,
    .crm-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .crm-top h1 {
        font-size: 44px;
    }

    .crm-top-stats {
        grid-template-columns: 1fr;
    }

    .crm-card {
        border-radius: 22px;
    }

    .crm-toolbar {
        padding: 14px;
    }

    .crm-search input,
    .crm-sort-btn {
        min-height: 48px;
    }

    .crm-detail-panel {
        width: 100%;
    }

    .crm-detail-inner {
        padding: 20px;
    }

    .crm-detail-head h2 {
        font-size: 34px;
    }

    .crm-tabs {
        overflow-x: auto;
    }

    .crm-event-item {
        flex-direction: column;
    }
}
.qr-download-admin-btn {
    white-space: nowrap;
}

.mobile-qr-download {
    margin-top: 14px;
}

.mobile-qr-download .action-btn {
    width: 100%;
    justify-content: center;
}
/* =========================================================
   REGISTRATIONS QR DOWNLOAD
========================================================= */

.qr-event-enabled-note {
    display: block;
    margin-top: 6px;
    color: var(--pink);
    font-size: 13px;
    font-weight: 800;
}

.qr-download-admin-btn {
    white-space: nowrap;
}

.qr-empty-text {
    color: var(--muted-light);
    font-size: 13px;
    font-weight: 800;
}

.mobile-qr-download {
    margin-top: 14px;
}

.mobile-qr-download .action-btn {
    width: 100%;
    justify-content: center;
}
.desktop-header-text {
    display: inline !important;
}

.mobile-header-text {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-main-login-link .desktop-header-text {
        display: none !important;
    }

    .mobile-main-login-link .mobile-header-text {
        display: inline !important;
    }

    .mobile-main-login-link {
        white-space: nowrap !important;
    }
}
.crm-stars-clickable {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.crm-star-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.28);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 1px;
    transition: .15s ease;
}

.crm-star-btn.active {
    color: #f7babb;
}

.crm-star-btn:hover,
.crm-star-btn:hover ~ .crm-star-btn {
    color: rgba(255,255,255,.28);
}

.crm-stars-clickable:hover .crm-star-btn {
    color: #f7babb;
}

.crm-stars-clickable .crm-star-btn:hover ~ .crm-star-btn {
    color: rgba(255,255,255,.28);
}

.crm-star-btn:disabled {
    opacity: .45;
    cursor: wait;
}

.crm-rating-help {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.48);
    font-size: 13px;
}

.crm-stars-detail {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    margin-bottom: 18px;
}

.crm-stars-detail .crm-star-btn {
    font-size: 38px;
}

.crm-clear-rating-btn {
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.72);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
    width: fit-content;
}

.crm-clear-rating-btn:hover {
    border-color: rgba(247,186,187,.45);
    color: #f7babb;
}
.inline-form {
    display: inline-flex;
    margin: 0;
}

.success-box {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(82, 211, 132, 0.12);
    border: 1px solid rgba(82, 211, 132, 0.24);
    color: #52d384;
}

.success-box p {
    margin: 0;
    font-weight: 800;
}

/* =========================================================
   DASHBOARD EVENT ACTIONS DROPDOWN
========================================================= */

.event-actions-dropdown {
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
    z-index: 20;
}

.event-actions-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.event-actions-toggle span {
    display: inline-flex;
    transition: transform 0.18s ease;
}

.event-actions-dropdown.open .event-actions-toggle span {
    transform: rotate(180deg);
}

.event-actions-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 190px;
    display: none;
    padding: 8px;
    border-radius: 18px;
    background: #151821;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 80px rgba(0,0,0,0.42);
}

.event-actions-dropdown.open .event-actions-menu {
    display: grid;
    gap: 6px;
}

.event-actions-menu a,
.event-actions-menu button {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 13px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: rgba(255,255,255,0.82);
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.event-actions-menu a:hover,
.event-actions-menu button:hover {
    background: rgba(247, 186, 187, 0.12);
    color: var(--pink);
}

.event-actions-menu form {
    margin: 0;
}

.mobile-event-actions .event-actions-dropdown,
.event-actions-dropdown.mobile {
    width: 100%;
}

.mobile-event-actions .event-actions-toggle,
.event-actions-dropdown.mobile .event-actions-toggle {
    width: 100%;
    justify-content: center;
}

.event-actions-dropdown.mobile .event-actions-menu {
    left: 0;
    right: 0;
    width: 100%;
}
/* =========================================================
   DASHBOARD EVENT ACTIONS DROPDOWN - FIX OVERLAP
========================================================= */

.desktop-events-table {
    overflow: visible !important;
}

.desktop-events-table table {
    overflow: visible !important;
}

.desktop-events-table tbody tr {
    position: relative;
}

.desktop-events-table tbody tr.actions-row-open {
    z-index: 999;
}

.event-actions-dropdown {
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
    z-index: 5;
}

.event-actions-dropdown.open {
    z-index: 99999;
}

.event-actions-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.event-actions-toggle span {
    display: inline-flex;
    transition: transform 0.18s ease;
}

.event-actions-dropdown.open .event-actions-toggle span {
    transform: rotate(180deg);
}

.event-actions-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;

    width: 210px;
    display: none;

    padding: 10px;
    border-radius: 22px;

    background: #151821;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 28px 90px rgba(0,0,0,0.55);

    z-index: 999999;
}

.event-actions-dropdown.open .event-actions-menu {
    display: grid;
    gap: 7px;
}

.event-actions-menu a,
.event-actions-menu button {
    appearance: none;
    -webkit-appearance: none;

    width: 100%;
    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 0 14px;
    border: 0;
    border-radius: 14px;

    background: transparent;
    color: rgba(255,255,255,0.86);

    font-family: inherit;
    font-size: 14px;
    font-weight: 900;

    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.event-actions-menu a:hover,
.event-actions-menu button:hover {
    background: rgba(247, 186, 187, 0.12);
    color: var(--pink);
}

.event-actions-menu form {
    margin: 0;
}

.mobile-event-actions .event-actions-dropdown,
.event-actions-dropdown.mobile {
    width: 100%;
}

.mobile-event-actions .event-actions-toggle,
.event-actions-dropdown.mobile .event-actions-toggle {
    width: 100%;
    justify-content: center;
}

.event-actions-dropdown.mobile .event-actions-menu {
    left: 0;
    right: 0;
    width: 100%;
}

.edit-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.edit-page-head h1 {
    margin-bottom: 8px;
}

.duplicate-event-edit-form {
    display: inline-flex;
    margin: 0;
    flex: 0 0 auto;
}

.duplicate-event-edit-form button {
    font-family: inherit;
    cursor: pointer;
}

.duplicate-event-btn {
    border: 1px solid rgba(247, 186, 187, 0.22);
}

.success-box {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(82, 211, 132, 0.12);
    border: 1px solid rgba(82, 211, 132, 0.24);
    color: #52d384;
}

.success-box p {
    margin: 0;
    font-weight: 800;
}

@media (max-width: 700px) {
    .edit-page-head {
        flex-direction: column;
    }

    .duplicate-event-edit-form,
    .duplicate-event-edit-form .mini-btn {
        width: 100%;
    }

    .duplicate-event-edit-form .mini-btn {
        justify-content: center;
    }
}

/* =========================================================
   ADMIN LAYOUT FIX - SIDEBAR
========================================================= */

.admin-main {
    margin-left: 280px;
    width: calc(100% - 280px);
    max-width: none;
    padding-left: 32px;
    padding-right: 32px;
}

@media (max-width: 980px) {
    .admin-main {
        margin-left: 0;
        width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }
}
/* =========================================================
   FIX SIDEBAR ADMIN
========================================================= */

main.admin-main.venues-page {
    margin-left: 280px !important;
    width: calc(100vw - 280px) !important;
    max-width: none !important;
    padding: 34px 34px 34px 34px !important;
    box-sizing: border-box !important;
}

@media (max-width: 980px) {
    main.admin-main.venues-page {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 18px !important;
    }
}
/* =========================================================
   VENUES TABLE FINAL FIX
========================================================= */

.venue-panel {
    overflow: visible !important;
}

.venues-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

.venues-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    border-collapse: collapse;
}

.venues-table th,
.venues-table td {
    padding: 16px 14px !important;
    vertical-align: middle !important;
}

.venues-table th:nth-child(1),
.venues-table td:nth-child(1) {
    width: 18% !important;
}

.venues-table th:nth-child(2),
.venues-table td:nth-child(2) {
    width: 14% !important;
}

.venues-table th:nth-child(3),
.venues-table td:nth-child(3) {
    width: 42% !important;
}

.venues-table th:nth-child(4),
.venues-table td:nth-child(4) {
    width: 11% !important;
    text-align: center !important;
}

.venues-table th:nth-child(5),
.venues-table td:nth-child(5) {
    width: 15% !important;
    text-align: right !important;
}

.venue-name {
    font-size: 16px !important;
    line-height: 1.25 !important;
}

.venue-sub {
    word-break: normal !important;
}

.venue-flyer-thumb {
    width: 82px !important;
    height: 110px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
}

.venue-flyer-missing {
    white-space: nowrap !important;
}

.venue-actions-dropdown {
    position: relative !important;
    display: inline-flex !important;
    justify-content: flex-end !important;
    z-index: 20 !important;
}

.venue-actions-dropdown.open {
    z-index: 99999 !important;
}

.venue-actions-toggle {
    min-height: 46px !important;
    padding: 0 18px !important;
    font-size: 15px !important;
    gap: 8px !important;
}

.venue-actions-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    width: 180px !important;
    display: none;
    padding: 8px !important;
    border-radius: 18px !important;
    background: #151821 !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 24px 80px rgba(0,0,0,.42) !important;
    z-index: 999999 !important;
}

.venue-actions-dropdown.open .venue-actions-menu {
    display: grid !important;
    gap: 6px !important;
}

@media (max-width: 900px) {
    .venues-table-wrap {
        overflow-x: auto !important;
    }

    .venues-table {
        min-width: 720px !important;
    }
}
/* =========================================================
   FIX FINAL TABLA SALAS - SCROLL HORIZONTAL
========================================================= */

.venue-panel {
    overflow: hidden !important;
}

.venues-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    border-radius: 18px !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 12px !important;
}

.venues-table-wrap::-webkit-scrollbar {
    height: 10px !important;
}

.venues-table-wrap::-webkit-scrollbar-track {
    background: rgba(255,255,255,.08) !important;
    border-radius: 999px !important;
}

.venues-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(247,186,187,.55) !important;
    border-radius: 999px !important;
}

.venues-table {
    width: 1250px !important;
    min-width: 1250px !important;
    max-width: none !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.venues-table th,
.venues-table td {
    box-sizing: border-box !important;
    white-space: normal !important;
    vertical-align: middle !important;
}

.venues-table th:nth-child(1),
.venues-table td:nth-child(1) {
    width: 180px !important;
}

.venues-table th:nth-child(2),
.venues-table td:nth-child(2) {
    width: 150px !important;
}

.venues-table th:nth-child(3),
.venues-table td:nth-child(3) {
    width: 540px !important;
}

.venues-table th:nth-child(4),
.venues-table td:nth-child(4) {
    width: 140px !important;
    text-align: center !important;
}

.venues-table th:nth-child(5),
.venues-table td:nth-child(5) {
    width: 240px !important;
    text-align: right !important;
    padding-right: 28px !important;
}

.venue-status {
    position: static !important;
    display: inline-flex !important;
    width: auto !important;
    min-width: auto !important;
    white-space: nowrap !important;
}

.venue-actions-dropdown {
    position: relative !important;
    display: inline-flex !important;
    justify-content: flex-end !important;
    width: auto !important;
    max-width: none !important;
    z-index: 20 !important;
}

.venue-actions-toggle {
    min-width: 128px !important;
    min-height: 44px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    gap: 8px !important;
}

.venue-actions-menu {
    right: 0 !important;
    left: auto !important;
    z-index: 999999 !important;
}

.venue-flyer-thumb {
    width: 86px !important;
    height: 116px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
}

.venue-flyer-missing {
    white-space: nowrap !important;
}

/* En móvil y pantallas medianas mantenemos scroll */
@media (max-width: 1400px) {
    .venues-table {
        width: 1250px !important;
        min-width: 1250px !important;
    }
}

@media (max-width: 640px) {
    .venues-table {
        width: 1150px !important;
        min-width: 1150px !important;
    }

    .venues-table th:nth-child(3),
    .venues-table td:nth-child(3) {
        width: 460px !important;
    }
}
/* =========================================================
   FIX DEFINITIVO: TABLA SALAS DESLIZABLE + ACCIONES SEPARADO
========================================================= */

.venue-panel {
    overflow: hidden !important;
}

.venues-table-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: scroll !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 14px !important;
    border-radius: 18px !important;
}

.venues-table-wrap::-webkit-scrollbar {
    height: 12px !important;
}

.venues-table-wrap::-webkit-scrollbar-track {
    background: rgba(255,255,255,.08) !important;
    border-radius: 999px !important;
}

.venues-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(247,186,187,.60) !important;
    border-radius: 999px !important;
}

.venues-table {
    width: 1450px !important;
    min-width: 1450px !important;
    max-width: 1450px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.venues-table th,
.venues-table td {
    box-sizing: border-box !important;
    position: static !important;
    vertical-align: middle !important;
}

/* Sala */
.venues-table th:nth-child(1),
.venues-table td:nth-child(1) {
    width: 210px !important;
}

/* Flyer */
.venues-table th:nth-child(2),
.venues-table td:nth-child(2) {
    width: 170px !important;
}

/* Ubicación */
.venues-table th:nth-child(3),
.venues-table td:nth-child(3) {
    width: 600px !important;
}

/* Estado */
.venues-table th:nth-child(4),
.venues-table td:nth-child(4) {
    width: 190px !important;
    text-align: center !important;
}

/* Acciones */
.venues-table th:nth-child(5),
.venues-table td:nth-child(5) {
    width: 280px !important;
    text-align: right !important;
    padding-right: 36px !important;
}

.venue-status {
    position: static !important;
    display: inline-flex !important;
    width: auto !important;
    min-width: 82px !important;
    justify-content: center !important;
    white-space: nowrap !important;
    margin: 0 !important;
    transform: none !important;
}

.venue-actions-dropdown {
    position: relative !important;
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 50 !important;
}

.venue-actions-toggle {
    width: auto !important;
    min-width: 150px !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    font-size: 15px !important;
    justify-content: center !important;
    gap: 8px !important;
    transform: none !important;
}

.venue-actions-menu {
    right: 0 !important;
    left: auto !important;
    z-index: 999999 !important;
}

.venue-flyer-thumb {
    width: 92px !important;
    height: 124px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
}

@media (max-width: 1600px) {
    .venues-table {
        width: 1450px !important;
        min-width: 1450px !important;
        max-width: 1450px !important;
    }
}