/* Events Page Specific Styles */

/* Event Card Styles */
.event-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
}

/* Event Status Styles */
.event-status-upcoming {
    background: #3b82f6;
    color: white;
}

.event-status-ongoing {
    background: #10b981;
    color: white;
}

.event-status-past {
    background: #6b7280;
    color: white;
}

/* Filter Button Styles */
.filter-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

/* Calendar Widget Styles */
.calendar-widget {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
}

.calendar-widget.open {
    transform: translateY(0);
}

.calendar-day {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.calendar-day:hover {
    background: #f3f4f6;
    transform: scale(1.05);
}

.calendar-day.today {
    background: #dc2626;
    color: white;
    font-weight: bold;
}

.calendar-day.has-event {
    background: #3b82f6;
    color: white;
}

.calendar-day.selected {
    background: #10b981;
    color: white;
    transform: scale(1.1);
}

/* Calendar Toggle */
.calendar-toggle {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #374151;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.calendar-toggle:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.calendar-toggle.active {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

/* Quick Actions */
.quick-actions {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.quick-action-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #374151;
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.quick-action-btn.active {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
    transform: scale(1.1);
}

/* Event Indicators */
.event-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.event-indicator.multiple {
    background: #10b981;
}

.event-indicator.urgent {
    background: #ef4444;
    animation: pulse-urgent 2s infinite;
}

@keyframes pulse-urgent {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Calendar Header */
.calendar-header {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border-radius: 16px 16px 0 0;
    margin: -16px -16px 16px -16px;
    padding: 16px;
}

/* Month Navigation */
.month-nav {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px;
    backdrop-filter: blur(10px);
}

.month-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    color: white;
}

.month-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.month-nav-btn.active {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: bold;
}

/* Today Button */
.today-btn {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.today-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Event Preview */
.event-preview {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-preview.show {
    transform: translateY(0);
    opacity: 1;
}

/* Swipe Indicator */
.swipe-indicator {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.swipe-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    background: #dc2626;
    border-radius: 2px;
    animation: swipe-hint 2s infinite;
}

@keyframes swipe-hint {
    0% { transform: translateX(0); }
    50% { transform: translateX(20px); }
    100% { transform: translateX(0); }
}

/* Loading Spinner */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-top: 2px solid #dc2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.notification-toast.show {
    transform: translateX(0);
}

.notification-toast.success {
    border-left: 4px solid #10b981;
}

.notification-toast.error {
    border-left: 4px solid #ef4444;
}

.notification-toast.info {
    border-left: 4px solid #3b82f6;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Icon Colors */
.calendar-icon {
    background: #dc2626;
    color: white;
}

.location-icon {
    background: #3b82f6;
    color: white;
}

.time-icon {
    background: #10b981;
    color: white;
}

.people-icon {
    background: #f59e0b;
    color: white;
}
