@charset "utf-8";
/* ===========================
           ESTILOS BASE (Sincronizados con Perfil/Chat)
           =========================== */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: 'Quicksand', sans-serif;
            background-color: #EED638; /* Amarillo Hatties */
            color: #2e2e2e;
            min-height: 100vh;
        }

        /* TOP BAR */
        .topbar {
            background-color: #2e2e2e;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 28px;
            position: sticky;
            top: 0; z-index: 100;
        }
        .topbar-logo { color: #EED638; font-weight: 700; font-size: 1.4rem; }
        .logout-btn {
            color: #ffffff;
            text-decoration: none;
            font-size: 1.1rem;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 20px;
            padding: 6px 16px;
            font-weight: 700;
        }

        /* LAYOUT */
        .layout { display: flex; min-height: calc(100vh - 54px); }

        /* SIDEBAR */
        .sidebar {
            width: 180px;
            background-color: #2e2e2e;
            display: flex; flex-direction: column;
            padding: 24px 0; gap: 4px;
            flex-shrink: 0;
        }
        .nav-item {
            color: rgba(255, 255, 255, 0.6);
            padding: 12px 20px;
            text-decoration: none;
            font-weight: 700; font-size: 0.9rem;
            border-left: 3px solid transparent;
        }
        .nav-item.activo {
            color: #EED638;
            border-left-color: #EED638;
            background-color: rgba(238, 214, 56, 0.08);
        }

        /* CONTENIDO PRINCIPAL */
        .contenido { flex: 1; padding: 36px 40px; }

        .seccion-titulo {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 24px;
            color: #2e2e2e;
        }

        .sub-titulo {
            font-size: 1.2rem;
            font-weight: 700;
            margin: 40px 0 20px 0;
            opacity: 0.8;
        }

        /* ===========================
           ESTILOS DE LAS TARJETAS (EVENTS)
           =========================== */
        .events-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 24px;
        }

        .event-card {
            background-color: #2e2e2e;
            border-radius: 16px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            transition: transform 0.2s;
            position: relative;
        }

        .event-card:hover { transform: translateY(-5px); }

        .event-img {
            width: 100%;
            height: 150px;
            background-color: #444;
            object-fit: cover;
        }

        .event-body {
            padding: 20px;
            color: white;
        }

        .event-date {
            color: #EED638;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 8px;
            display: block;
        }

        .event-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .event-desc {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.7);
            line-height: 1.4;
            margin-bottom: 15px;
        }

        .event-footer {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 12px;
            font-size: 0.75rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .location-tag {
            background-color: rgba(255,255,255,0.1);
            padding: 4px 8px;
            border-radius: 6px;
        }

        /* ESTADOS ESPECIALES */
        .status-dot {
            width: 10px; height: 10px;
            background-color: #4CAF50; /* Verde */
            border-radius: 50%;
            display: inline-block;
            margin-right: 5px;
            box-shadow: 0 0 8px #4CAF50;
        }

        /* Look para eventos pasados (turned off) */
        .past-event {
            opacity: 0.6;
            filter: grayscale(0.5);
        }
        .past-event .event-date { color: #aaa; }
        .past-event:hover { transform: none; }

        /* Responsive */
        @media (max-width: 700px) {
            .sidebar { width: 80px; }
            .nav-item span { display: none; }
            .contenido { padding: 20px; }
        }
