/* Agenda pública con glassmorphism */
.agenda-page {
    background: transparent !important;
    min-height: 100vh;
    padding: 2rem 0;
}

.agenda-container {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.agenda-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.agenda-container:hover::before {
    left: 100%;
}

.agenda-container > * {
    position: relative;
    z-index: 2;
}

.agenda-header {
    text-align: center;
    margin-bottom: 3rem;
}

.agenda-header h1 {
    color: #ffffff !important;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.agenda-header p {
    color: #e2e8f0 !important;
    font-size: 1.2rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.filters-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.filters .form-select,
.filters .form-control {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: #ffffff !important;
    backdrop-filter: blur(10px);
    min-width: 150px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filters .form-select::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #e91e63;
    pointer-events: none;
}

.filters .form-select option {
    background: rgba(30, 30, 30, 0.95) !important;
    color: #ffffff !important;
    padding: 8px 12px;
}

.filters .form-select::placeholder,
.filters .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.filters .form-select:focus,
.filters .form-control:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #e91e63 !important;
    box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.25) !important;
    color: #ffffff !important;
}

.filters .form-select:hover,
.filters .form-control:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.filters .btn {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%) !important;
    border: none !important;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: white !important;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.filters .btn:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    color: white !important;
}

.filters .btn-outline-primary {
    background: transparent !important;
    border: 1px solid #e91e63 !important;
    color: #e91e63 !important;
}

.filters .btn-outline-primary:hover {
    background: #e91e63 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.timeline-item {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.timeline-item:hover::before {
    left: 100%;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.timeline-item > * {
    position: relative;
    z-index: 2;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.timeline-time {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.timeline-type {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.timeline-title {
    color: #ffffff !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.timeline-description {
    color: #e2e8f0 !important;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

.timeline-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db !important;
    font-size: 0.9rem;
}

.meta-item i {
    color: #e91e63 !important;
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(233, 30, 99, 0.4);
}

.timeline-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.timeline-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.timeline-actions .btn-primary {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.timeline-actions .btn-primary:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    color: white;
}

.btn-inscribirse {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-inscribirse:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: white !important;
}

.timeline-actions .btn-secondary {
    background: rgba(107, 114, 128, 0.8) !important;
    color: white !important;
    backdrop-filter: blur(10px);
}

.no-activities {
    text-align: center;
    padding: 4rem 2rem;
    color: #9ca3af !important;
}

.no-activities i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-activities h3 {
    color: #e2e8f0 !important;
    margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.no-activities p {
    color: #9ca3af !important;
    margin-bottom: 2rem;
}

.days-view {
    display: block;
}

.days-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.day-section {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

.day-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.day-section:hover::before {
    left: 100%;
}

.day-header {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.day-events {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.day-event {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.day-event:last-child {
    margin-bottom: 0;
}

.day-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.3s;
    z-index: 1;
}

.day-event:hover::before {
    left: 100%;
}

.day-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.day-event > * {
    position: relative;
    z-index: 2;
}

.event-time {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.event-title {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.event-description {
    color: #e2e8f0 !important;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: #d1d5db !important;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.event-meta i {
    color: #e91e63 !important;
    font-size: 0.9rem;
}

.no-events {
    text-align: center;
    padding: 2rem;
    color: #9ca3af !important;
}

.no-events i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

/* Modal styles */
.modal-content {
    background: rgba(30, 30, 30, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px 16px 0 0;
}

.modal-title {
    color: white !important;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.modal-body {
    background: transparent !important;
    color: #e2e8f0 !important;
}

.modal-footer {
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 16px 16px;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white !important;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.activity-details h5 {
    color: #ffffff !important;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.activity-details p {
    color: #e2e8f0 !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

.activity-meta {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-row:last-child {
    border-bottom: none;
}

.meta-label {
    font-weight: 600;
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.meta-value {
    color: #d1d5db !important;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

.export-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 2rem;
    color: #e2e8f0 !important;
}

/* Modal glassmorphism */
.modal-content {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.btn-close-white {
    filter: invert(1);
}

.modal-body {
    background: transparent !important;
    color: #e2e8f0 !important;
}

.activity-details h5 {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.activity-meta {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.meta-label {
    font-weight: 600;
    color: #e91e63 !important;
}

.meta-value {
    color: #d1d5db !important;
}

/* Responsive */
@media (max-width: 768px) {
    .agenda-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .agenda-header h1 {
        font-size: 2rem;
    }

    .filters-section {
        padding: 1rem;
    }

    .filters {
        flex-direction: column;
        gap: 0.75rem;
    }

    .filters .form-select,
    .filters .form-control {
        min-width: 100%;
    }

    .timeline-item {
        padding: 1rem;
    }

    .timeline-meta {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .timeline-actions {
        flex-direction: column;
    }

    .timeline-actions .btn {
        width: 100%;
    }

    .days-container {
        gap: 1rem;
    }

    .day-section {
        margin-bottom: 1rem;
    }

    .day-header {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .day-events {
        padding: 1rem;
    }

    .day-event {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .event-title {
        font-size: 1rem;
    }

    .event-description {
        font-size: 0.85rem;
    }

    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .filters .btn span {
        display: none;
    }

    .timeline-title {
        font-size: 1.1rem;
    }

    .timeline-description {
        font-size: 0.85rem;
    }
}
