/* Congreso Internacional Edumedios — tema oscuro + teal (referencia landing educativa) */
:root {
    --edum-bg: #070b10;
    --edum-bg-2: #0c1219;
    --edum-card: rgba(255, 255, 255, 0.04);
    --edum-border: rgba(45, 212, 191, 0.28);
    --edum-teal: #2dd4bf;
    --edum-teal-2: #14b8a6;
    --edum-teal-glow: rgba(45, 212, 191, 0.35);
    --edum-text: #f8fafc;
    --edum-muted: #94a3b8;
    --edum-ok: #34d399;
    --edum-warn: #fbbf24;
    --edum-err: #f87171;
    --edum-radius: 18px;
    --edum-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

.edum-body {
    margin: 0;
    min-height: 100vh;
    font-family: "DM Sans", system-ui, sans-serif;
    color: var(--edum-text);
    background: var(--edum-bg);
}

.edum-pub-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 60% at 10% 0%, rgba(45, 212, 191, 0.12), transparent 50%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(20, 184, 166, 0.08), transparent 45%),
        linear-gradient(180deg, #070b10 0%, #0a1018 50%, #070b10 100%);
    pointer-events: none;
}

.edum-pub-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(45, 212, 191, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 191, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, black, transparent);
}

/* —— Header público —— */
.edum-pub-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
}

.edum-logo {
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.edum-logo-img {
    display: block;
    height: 44px;
    width: auto;
    max-width: min(360px, 72vw);
    object-fit: contain;
    object-position: left center;
}

.edum-topbar .edum-logo-img {
    height: 38px;
    max-width: min(280px, 48vw);
}

.edum-logo--center {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 0.75rem;
}

.edum-logo--center .edum-logo-img {
    height: 52px;
    max-width: min(420px, 100%);
    object-position: center;
}

@media (max-width: 900px) {
    .edum-topbar .edum-logo-img {
        height: 32px;
        max-width: min(220px, 58vw);
    }
}

.edum-pub-nav {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.edum-pub-nav a {
    color: var(--edum-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.edum-pub-nav a:hover,
.edum-pub-nav a.edum-nav-active {
    color: var(--edum-teal);
    border-bottom-color: var(--edum-teal);
}

/* —— Hero landing —— */
.edum-hero-wrap {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (max-width: 900px) {
    .edum-hero-wrap { grid-template-columns: 1fr; }
    .edum-hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
}

.edum-label-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.edum-label-line::before {
    content: "";
    width: 48px;
    height: 2px;
    background: var(--edum-teal);
    border-radius: 2px;
}

.edum-label-line span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--edum-teal);
    text-transform: uppercase;
}

.edum-hero-title {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: #fff;
}

.edum-hero-desc {
    color: var(--edum-muted);
    line-height: 1.65;
    font-size: 1rem;
    margin: 0 0 1.25rem;
    max-width: 520px;
}

.edum-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.edum-pill {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--edum-border);
    background: rgba(45, 212, 191, 0.06);
    color: var(--edum-teal);
    font-size: 0.85rem;
    font-weight: 500;
}

.edum-pill i { margin-right: 0.35rem; opacity: 0.85; }

.edum-cta-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 340px;
}

.edum-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.edum-btn-primary {
    background: linear-gradient(135deg, var(--edum-teal), var(--edum-teal-2));
    color: #042f2e;
    box-shadow: 0 0 32px var(--edum-teal-glow);
}

.edum-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 40px rgba(45, 212, 191, 0.5);
}

.edum-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid var(--edum-border);
}

.edum-btn-outline:hover {
    background: rgba(45, 212, 191, 0.08);
    border-color: var(--edum-teal);
}

.edum-hero-visual img {
    width: 100%;
    border-radius: var(--edum-radius);
    box-shadow: var(--edum-shadow);
    border: 1px solid var(--edum-border);
    object-fit: cover;
    aspect-ratio: 4/5;
    max-height: 520px;
}

.edum-hero-media-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.edum-hero-promo-img {
    width: 100%;
    border-radius: var(--edum-radius);
    box-shadow: var(--edum-shadow);
    border: 1px solid rgba(45, 212, 191, 0.25);
    object-fit: cover;
    aspect-ratio: 1 / 1;
    max-height: none;
    display: block;
    background: rgba(15, 23, 42, 0.6);
}

.edum-hero-video-wrap {
    border-radius: var(--edum-radius);
    overflow: hidden;
    border: 1px solid rgba(45, 212, 191, 0.25);
    box-shadow: var(--edum-shadow);
    background: #000;
}

.edum-hero-video-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--edum-teal);
    background: rgba(45, 212, 191, 0.08);
    border-bottom: 1px solid rgba(45, 212, 191, 0.15);
}

.edum-hero-video {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    background: #000;
    vertical-align: middle;
}

.edum-hero-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    max-height: 520px;
    border-radius: var(--edum-radius);
    background: linear-gradient(145deg, rgba(45, 212, 191, 0.15), rgba(15, 23, 42, 0.9));
    border: 1px solid var(--edum-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--edum-teal);
    font-size: 3rem;
}

/* —— Auth —— */
.edum-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.edum-auth-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    background: var(--edum-card);
    border: 1px solid var(--edum-border);
    border-radius: var(--edum-radius);
    padding: 2rem;
    backdrop-filter: blur(12px);
}

.edum-auth-card h1 {
    font-family: "Outfit", sans-serif;
    margin: 0 0 0.75rem;
    font-size: 1.45rem;
}

.edum-muted { color: var(--edum-muted); font-size: 0.92rem; line-height: 1.55; }
.edum-muted a { color: var(--edum-teal); }

.edum-form label {
    display: block;
    margin: 0.85rem 0 0.35rem;
    font-size: 0.85rem;
    color: var(--edum-muted);
}

.edum-input,
.edum-select,
.edum-textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(0, 0, 0, 0.35);
    color: var(--edum-text);
    font: inherit;
}

.edum-textarea { min-height: 90px; resize: vertical; }

.edum-input:focus,
.edum-select:focus,
.edum-textarea:focus {
    outline: none;
    border-color: var(--edum-teal);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.edum-flash {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin: 0.75rem 0;
    font-size: 0.9rem;
}

.edum-flash-ok { background: rgba(52, 211, 153, 0.15); color: var(--edum-ok); border: 1px solid rgba(52, 211, 153, 0.35); }
.edum-flash-err { background: rgba(248, 113, 113, 0.12); color: var(--edum-err); border: 1px solid rgba(248, 113, 113, 0.35); }
.edum-flash-warn { background: rgba(251, 191, 36, 0.12); color: var(--edum-warn); border: 1px solid rgba(251, 191, 36, 0.35); }

/* —— Panel admin —— */
.edum-app {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.edum-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: rgba(7, 11, 16, 0.92);
    border-bottom: 1px solid var(--edum-border);
    backdrop-filter: blur(10px);
}

.edum-topbar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.edum-topbar nav a {
    color: var(--edum-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.edum-topbar nav a:hover,
.edum-topbar nav a.edum-nav-active {
    color: var(--edum-teal);
    background: rgba(45, 212, 191, 0.1);
    border-color: var(--edum-border);
}

.edum-user-chip {
    font-size: 0.85rem;
    color: var(--edum-muted);
}

.edum-container {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem 2.5rem;
}

.edum-page-title {
    font-family: "Outfit", sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

.edum-grid-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.edum-stat {
    background: var(--edum-card);
    border: 1px solid var(--edum-border);
    border-radius: var(--edum-radius);
    padding: 1.1rem 1.2rem;
}

.edum-stat strong {
    display: block;
    font-family: "Outfit", sans-serif;
    font-size: 1.75rem;
    color: var(--edum-teal);
    line-height: 1.1;
}

.edum-stat span { font-size: 0.82rem; color: var(--edum-muted); }

.edum-card {
    background: var(--edum-card);
    border: 1px solid var(--edum-border);
    border-radius: var(--edum-radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.edum-card h2 {
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    margin: 0 0 1rem;
}

.edum-table-wrap { overflow-x: auto; }

.edum-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.edum-table th,
.edum-table td {
    padding: 0.65rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.edum-table th { color: var(--edum-muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }

.edum-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--edum-border);
    background: rgba(45, 212, 191, 0.1);
    color: var(--edum-teal);
}

.edum-badge-ganado { border-color: rgba(52, 211, 153, 0.5); color: var(--edum-ok); background: rgba(52, 211, 153, 0.12); }
.edum-badge-perdido { border-color: rgba(248, 113, 113, 0.4); color: var(--edum-err); background: rgba(248, 113, 113, 0.1); }
.edum-badge-warn { border-color: rgba(251, 191, 36, 0.45); color: var(--edum-warn); background: rgba(251, 191, 36, 0.1); }

.edum-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.edum-toolbar .edum-input,
.edum-toolbar .edum-select { max-width: 220px; }

.edum-btn-sm {
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
}

.edum-btn-danger {
    background: rgba(248, 113, 113, 0.15);
    color: var(--edum-err);
    border: 1px solid rgba(248, 113, 113, 0.35);
}

.edum-btn-danger:hover {
    background: rgba(248, 113, 113, 0.25);
}

.edum-link-danger {
    color: var(--edum-err) !important;
}

.edum-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0 1rem;
}

.edum-form-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.edum-pipeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.edum-pipe-col {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    padding: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.edum-pipe-col h3 {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--edum-muted);
}

.edum-pipe-col strong {
    font-family: "Outfit", sans-serif;
    font-size: 1.35rem;
    color: var(--edum-teal);
}

.edum-link { color: var(--edum-teal); text-decoration: none; }
.edum-link:hover { text-decoration: underline; }

.edum-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.edum-num-cliente {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.15rem 0.45rem;
    border-radius: 8px;
    background: rgba(45, 212, 191, 0.15);
    color: var(--edum-teal);
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
}

.edum-row-muted td {
    opacity: 0.72;
}

.edum-row-muted .edum-num-cliente {
    background: rgba(148, 163, 184, 0.15);
    color: var(--edum-muted);
}

.edum-badge-tipo {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.edum-badge-tipo-expositor {
    background: rgba(45, 212, 191, 0.18);
    color: var(--edum-teal);
}

.edum-badge-tipo-visitante {
    background: rgba(167, 139, 250, 0.2);
    color: #c4b5fd;
}

.edum-num-visitante {
    background: rgba(167, 139, 250, 0.18);
    color: #c4b5fd;
    font-size: 0.78rem;
}

.edum-filtro-tipos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.edum-chip-tipo {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: var(--edum-muted);
    text-decoration: none;
    font-size: 0.82rem;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.edum-chip-tipo:hover {
    border-color: var(--edum-teal);
    color: var(--edum-teal);
}

.edum-chip-tipo.is-active {
    border-color: var(--edum-teal);
    background: rgba(45, 212, 191, 0.12);
    color: var(--edum-teal);
}

.edum-gestion-cliente-card {
    border-color: rgba(45, 212, 191, 0.35);
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.06), rgba(0, 0, 0, 0.15));
}

.edum-gestion-botones {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
    gap: 0.55rem;
}

.edum-gestion-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 4.25rem;
    padding: 0.65rem 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(0, 0, 0, 0.28);
    color: var(--edum-text);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: transform 0.12s, border-color 0.12s, background 0.12s, box-shadow 0.12s;
}

.edum-gestion-btn i {
    font-size: 1.15rem;
    opacity: 0.95;
}

.edum-gestion-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.edum-gestion-btn:active {
    transform: translateY(0);
}

.edum-gestion-btn--ok {
    border-color: rgba(45, 212, 191, 0.55);
    color: #99f6e4;
}

.edum-gestion-btn--ok:hover {
    background: rgba(45, 212, 191, 0.15);
}

.edum-gestion-btn--warn {
    border-color: rgba(234, 179, 8, 0.55);
    color: #fde68a;
}

.edum-gestion-btn--warn:hover {
    background: rgba(234, 179, 8, 0.12);
}

.edum-gestion-btn--whatsapp {
    border-color: rgba(37, 211, 102, 0.55);
    color: #86efac;
}

.edum-gestion-btn--whatsapp:hover {
    background: rgba(37, 211, 102, 0.12);
}

.edum-gestion-btn--err {
    border-color: rgba(239, 68, 68, 0.5);
    color: #fca5a5;
}

.edum-gestion-btn--err:hover {
    background: rgba(239, 68, 68, 0.12);
}

.edum-gestion-btn--pending {
    border-color: rgba(96, 165, 250, 0.5);
    color: #93c5fd;
}

.edum-gestion-btn--pending:hover {
    background: rgba(96, 165, 250, 0.12);
}

.edum-gestion-botones--compact {
    grid-template-columns: repeat(4, 2.15rem);
    gap: 0.35rem;
    min-width: 9.5rem;
}

.edum-gestion-form--compact {
    margin: 0;
}

.edum-gestion-form--compact .edum-gestion-btn {
    min-height: 2.15rem;
    width: 2.15rem;
    padding: 0;
    border-radius: 8px;
}

.edum-gestion-form--compact .edum-gestion-btn i {
    font-size: 0.95rem;
}

.edum-gestion-cell {
    min-width: 10rem;
    vertical-align: middle;
}

.edum-acciones-cell {
    white-space: nowrap;
    font-size: 0.88rem;
}

@media (max-width: 900px) {
    .edum-gestion-botones--compact {
        grid-template-columns: repeat(4, 2rem);
    }
}

@media (max-width: 520px) {
    .edum-gestion-botones {
        grid-template-columns: 1fr 1fr;
    }
}

.edum-toolbar-wrap {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
}

.edum-stands-tarifario {
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(45, 212, 191, 0.2);
}

.edum-table-stands-ref {
    font-size: 0.88rem;
}

.edum-table-stands-ref th,
.edum-table-stands-ref td {
    padding: 0.45rem 0.6rem;
}

.edum-stand-color {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 3px;
    margin-right: 0.35rem;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.edum-stand-plano-field {
    grid-column: 1 / -1;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    background: rgba(70, 179, 230, 0.08);
    border: 1px dashed rgba(45, 212, 191, 0.35);
}

.edum-stand-plano-field[hidden] {
    display: none !important;
}
