/* =============================================
   OBRADOIROS — Aula Page Layout
   (Programa-style two-column layout)
   ============================================= */

/* Two-column layout: timeline left, workshop sidebar right */
.aula-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: start;
}

/* ── LEFT: Timeline section ── */
.aula-timeline {
    padding-top: 2.5rem;
    padding-right: 3rem;
    padding-bottom: 4rem;
}

/* Day separator */
.aula-day-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    margin-top: 2.5rem;
    position: relative;
}

.aula-day-badge:first-child {
    margin-top: 0;
}

.aula-day-badge i {
    width: 14px;
    height: 14px;
}

/* Connecting line from badge to sidebar */
.aula-day-badge::after {
    content: '';
    position: absolute;
    left: calc(100% + 1.25rem);
    top: 50%;
    transform: translateY(-50%);
    width: 100vw;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(59, 130, 246, 0.35) 0%,
        rgba(255, 255, 255, 0.10) 25%,
        rgba(255, 255, 255, 0.06) 55%,
        transparent 85%
    );
}

/* Session timeline list */
.aula-session-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Vertical timeline line */
.aula-session-list::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    border-radius: 2px;
}

/* Individual session item */
.aula-session {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.aula-session:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

/* Timeline dot */
.aula-session::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translate(1px, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid;
    background: var(--bg-deep, #06122c);
}

.aula-session-time {
    font-variant-numeric: tabular-nums;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    min-width: 90px;
}

.aula-session-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
}

.aula-session-tickets {
    font-size: 0.68rem;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    white-space: nowrap;
}

/* ── RIGHT: Workshop sidebar ── */
.aula-sidebar {
    position: relative;
    padding-top: 2.5rem;
    padding-left: 2.5rem;
    padding-bottom: 6rem;
}

/* Vertical separator bar */
.aula-sidebar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 8%,
        rgba(255, 255, 255, 0.08) 92%,
        transparent 100%
    );
}

/* Sidebar header -> moved to shared.css */

/* ── Workshop card in sidebar ── */
.sidebar-workshop {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.sidebar-workshop::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.sidebar-workshop:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.sidebar-workshop:hover::after {
    opacity: 1;
}

.sidebar-workshop-img {
    width: 100%;
    height: 130px;
    overflow: hidden;
}

.sidebar-workshop-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sidebar-workshop:hover .sidebar-workshop-img img {
    transform: scale(1.06);
}

.sidebar-workshop-body {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
    position: relative;
    z-index: 2;
}

.sidebar-workshop-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.sidebar-workshop-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Back button (above layout) ── */
.aula-back-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem 0;
}

.aula-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    transition: all 0.25s ease;
}

.aula-back:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.aula-back i {
    width: 14px;
    height: 14px;
}

/* ── Sidebar Localización section ── */
.sidebar-localizacion-aula {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-localizacion-aula .aula-sidebar-header {
    margin-bottom: 1.25rem;
    padding-bottom: 0;
}

/* Futuristic map placeholder with real image */
.aula-map-placeholder {
    position: relative;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    background: url('../img/localizaciones/Museo.webp') center/cover no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.25rem;
}

.aula-map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.aula-map-grid {
    display: none;
}

.aula-map-pin {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
}

.aula-map-pin-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--aula-color, #3b82f6);
    box-shadow: 0 0 14px var(--aula-color, #3b82f6), 0 0 25px var(--aula-color, #3b82f6);
    position: relative;
    z-index: 2;
}

.aula-map-pulse {
    position: absolute;
    top: 50%; left: 50%;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--aula-color, #3b82f6);
    opacity: 0.6;
    animation: aulaMapPulse 2.4s ease-out infinite;
    z-index: 1;
}

@keyframes aulaMapPulse {
    0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}

.aula-map-label {
    position: absolute;
    bottom: 12px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 3;
}

.aula-map-label span {
    font-family: var(--font-primary);
    font-size: 0.65rem;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.aula-map-label span:last-child {
    font-weight: 600;
    color: #fff;
    font-size: 0.75rem;
}

/* Venue chips */
.aula-venue-chips {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.aula-venue-chip {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: background 0.3s ease;
}

.aula-venue-chip:hover {
    background: rgba(255, 255, 255, 0.04);
}

.aula-venue-chip-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aula-color, #3b82f6);
}

.aula-venue-chip-icon i {
    width: 16px;
    height: 16px;
}

.aula-venue-chip-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.aula-venue-chip-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.aula-venue-chip-value {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
}

/* =============================================
   RESPONSIVE — ≤1024px: stacked
   ============================================= */
@media (max-width: 1024px) {
    .aula-back-container {
        padding: 1rem 1.5rem 0;
    }

    .aula-layout {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }

    .aula-timeline {
        padding-right: 0;
    }

    .aula-day-badge::after {
        display: none;
    }

    .aula-sidebar {
        padding-top: 1rem;
        padding-left: 0;
        padding-bottom: 5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 1rem;
    }

    .aula-sidebar::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .aula-back-container {
        padding: 1rem 1rem 0;
    }

    .aula-layout {
        padding: 0 1rem;
    }

    .aula-timeline {
        padding-top: 1.5rem;
    }

    .sidebar-workshop-img {
        height: 110px;
    }
}
        /* ── HUB: 3-Column Vertical Grid ── */
        .aulas-grid-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        /* Location badge on cards */
        .card-location-badge {
            background: rgba(10, 18, 38, 0.7);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 0.35rem 0.75rem;
            border-radius: 100px;
            font-size: 0.75rem;
            font-weight: 600;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .card-location-badge i {
            width: 12px;
            height: 12px;
        }

        /* ── Sidebar: All Workshops List ── */
        .sidebar-aula-group {
            margin-bottom: 1.75rem;
        }

        .sidebar-aula-group:last-child {
            margin-bottom: 0;
        }

        .sidebar-aula-name {
            font-family: var(--font-display);
            font-size: 0.85rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .sidebar-aula-name i {
            width: 14px;
            height: 14px;
        }

        .sidebar-mini-workshops {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .sidebar-mini-workshops li {
            font-size: 0.78rem;
            color: var(--text-secondary);
            padding: 0.45rem 0 0.45rem 1.25rem;
            position: relative;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            line-height: 1.4;
        }

        .sidebar-mini-workshops li:last-child {
            border-bottom: none;
        }

        .sidebar-mini-workshops li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 12px;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
        }

        /* ── Responsive ── */
        @media (max-width: 1024px) {
            .aulas-grid-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .aulas-grid-container {
                grid-template-columns: 1fr;
            }
            .aula-cta-text {
                display: none;
            }
            .aula-card-desc {
                display: none;
            }
            .aulas-card-content {
                padding: 1rem !important;
            }
            .aula-glow-icon {
                width: 38px !important;
                height: 38px !important;
            }
            .aula-glow-icon i {
                width: 20px !important;
                height: 20px !important;
            }
        }

/* =============================================
   AULA TOP ACTIONS (SPA NAVIGATION)
   ============================================= */
.aula-top-actions {
    max-width: 1400px;
    margin: 1.5rem auto 0;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.aula-action-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.aula-action-back:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.aula-subnav-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
    flex-wrap: wrap; 
}

.aula-subnav-wrapper::-webkit-scrollbar {
    display: none;
}

/* Base pill styles (imported manually so they don't break if section-cards is missing) */
.filter-pill {
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.filter-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

@media (max-width: 1024px) {
    .aula-top-actions {
        padding: 0 1rem;
        margin-top: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .aula-action-back {
        justify-content: center;
    }
    .aula-subnav-wrapper {
        justify-content: center;
    }
    .filter-pill {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    .hide-mobile {
        display: none;
    }
}

/* =============================================
   SPA PAGE TRANSITIONS
   ============================================= */
.aula-layout, .page-hero {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.spa-fade {
    opacity: 0 !important;
    transform: translateY(10px) !important;
    pointer-events: none;
}

/* =============================================
   GLOBAL SCHEDULE (Calendar by time slot)
   Styled to match programa.html timeline
   ============================================= */
.global-schedule {
    position: relative;
    padding-left: 0;
}

/* Vertical timeline line — matching programa.html */
.global-schedule::before {
    content: '';
    position: absolute;
    left: 124px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.08) 5%, rgba(255,255,255,0.08) 95%, transparent 100%);
}

.schedule-slot {
    display: flex;
    gap: 4rem;
    position: relative;
    padding-bottom: 1.75rem;
}

/* Line separating hours, starting after the vertical line (only on the cards side) */
.schedule-slot::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 164px; /* Time col (100px) + Gap (4rem/64px) = 164px */
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.08) 0%, transparent 100%);
}

.schedule-slot:last-child::after {
    display: none;
}

/* ── Time column ── */
.schedule-slot-time {
    width: 100px;
    flex-shrink: 0;
    text-align: right;
    padding-top: 1rem;
}

.schedule-slot-time-label {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}

/* Hide old element — we don't need it anymore */
.schedule-slot-line {
    display: none;
}

/* ── Glowing dot — matching programa.html ── */
.schedule-slot::before {
    content: '';
    position: absolute;
    left: 124px;
    top: 1.35rem;
    width: 10px;
    height: 10px;
    background: var(--accent-blue, #3b82f6);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--accent-blue, #3b82f6);
    z-index: 2;
    transition: transform 0.3s ease;
}

.schedule-slot:hover::before {
    transform: translateX(-50%) scale(1.3);
}

/* ── Events grid ── */
.schedule-slot-events {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    flex: 1;
    padding-top: 0.5rem;
}

.schedule-event {
    flex: 1 1 200px;
    max-width: 280px;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.schedule-event-aula {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.schedule-event-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

.schedule-event-meta {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    margin-top: 0.15rem;
}

/* Mobile */
@media (max-width: 640px) {
    .global-schedule::before {
        left: 12px;
    }
    .schedule-slot {
        flex-direction: column;
        gap: 0.5rem;
        padding-left: 2rem;
        padding-bottom: 1.75rem;
    }
    .schedule-slot::after {
        left: 2rem;
    }
    .schedule-slot::before {
        left: 12px;
        top: 0.4rem;
        width: 8px;
        height: 8px;
    }
    .schedule-slot-time {
        width: auto;
        text-align: left;
        padding-top: 0;
    }
    .schedule-slot-time-label {
        font-size: 0.85rem;
    }
    .schedule-event {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* =============================================
   OBRADOIROS TAB BAR (Glassmorphism)
   ============================================= */
.ob-tabs-bar {
    display: flex;
    gap: 0.25rem;
    padding: 0.3rem;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
}

.ob-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-display, inherit);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.ob-tab i {
    width: 16px;
    height: 16px;
}

.ob-tab:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.05);
}

.ob-tab.active {
    background: rgba(59, 130, 246, 0.15);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* Tab Panes */
.ob-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ob-tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Mobile tabs */
@media (max-width: 640px) {
    .ob-tab span {
        display: none;
    }
    .ob-tab i {
        width: 20px;
        height: 20px;
    }
    .ob-tab {
        padding: 0.7rem;
    }
}
@media (min-width: 641px) and (max-width: 900px) {
    .ob-tab {
        font-size: 0.8rem;
        padding: 0.6rem 0.75rem;
    }
}

/* Elegant horizontal line removed per user request */
.schedule-slot-time {
    position: relative;
}

/* Premium Sidebar Subtitle Badge */
.aula-sidebar-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.aula-sidebar-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    margin: 0;
}

.aula-sidebar-subtitle {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: rgba(59, 130, 246, 0.1); /* fallback */
    background: color-mix(in srgb, var(--aula-color, #3b82f6) 15%, rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.25); /* fallback */
    border: 1px solid color-mix(in srgb, var(--aula-color, #3b82f6) 30%, transparent);
    border-radius: 8px;
    color: var(--aula-color, #3b82f6);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* =============================================
   SIDEBAR TABLEVIEW REDESIGN (Restored)
   ============================================= */
.sidebar-aula-group {
    margin-bottom: 2.25rem;
}

.sidebar-aula-header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    transition: opacity 0.2s;
}

.sidebar-aula-header-row:hover {
    opacity: 0.8;
}

.sidebar-aula-header-row i {
    width: 18px;
    height: 18px;
}

.sidebar-mini-workshops {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-mini-workshop-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-mini-workshop-link:hover {
    background: rgba(255, 255, 255, 0.07);
    color: white;
    transform: translateX(6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.workshop-bullet {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}

.workshop-bullet i {
    width: 14px;
    height: 14px;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.sidebar-mini-workshop-link:hover .workshop-bullet i {
    opacity: 1;
    color: var(--accent-blue);
}

.workshop-name {
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Mobile specific sidebar adjustments */
@media (max-width: 992px) {
    .aula-sidebar {
        padding-left: 0;
        padding-top: 2rem;
    }
    .aula-sidebar::before {
        display: none;
    }
    .sidebar-mini-workshop-link {
        padding: 1.1rem;
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.08);
    }
}
