/* GW2 Community Calendar Styles */

/* Hauptkalender Container */
.gw2-calendar-container {
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Event-Liste Widget */
.gw2-events-list {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.gw2-events-list h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4em;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.gw2-events-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gw2-event-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gw2-event-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.gw2-event-item h4 {
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-size: 1.1em;
}

.gw2-event-time {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.gw2-event-date {
    font-weight: bold;
    color: #495057;
}

.gw2-event-location {
    color: #28a745;
    font-size: 0.9em;
    margin-top: 5px;
}

.gw2-event-description {
    color: #6c757d;
    font-size: 0.9em;
    margin-top: 8px;
    line-height: 1.4;
}

/* Nächste Events Widget */
.gw2-next-events {
    color: white;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.gw2-next-events h3 {
    margin-bottom: 15px;
    font-size: 1.4em;
    text-align: center;
}

.gw2-next-events-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gw2-next-event-item {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.gw2-next-event-title {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.gw2-next-event-date {
    font-size: 0.9em;
    opacity: 0.9;
    margin-bottom: 3px;
}

.gw2-next-event-countdown {
    font-size: 0.8em;
    opacity: 0.8;
    font-style: italic;
}

.gw2-next-event-location {
    font-size: 0.9em;
    opacity: 0.9;
    margin-top: 5px;
}

/* Event Countdown Widget */
.gw2-event-countdown {
    color: white;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.gw2-event-countdown h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
}

.gw2-countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.gw2-countdown-days {
    background: rgba(255,255,255,0.2);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
}

.gw2-countdown-time {
    background: rgba(255,255,255,0.2);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
}

.gw2-countdown-date {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.gw2-countdown-location {
    font-size: 0.9em;
    opacity: 0.9;
}



/* Heutige Events Widget */
.gw2-today-events {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.gw2-today-events h3 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 1.4em;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 8px;
}

.gw2-today-events-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gw2-today-event-item {
    background: white;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.gw2-today-event-title {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.gw2-today-event-time {
    color: #e67e22;
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 3px;
}

.gw2-today-event-location {
    color: #27ae60;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gw2-countdown-timer {
        flex-direction: column;
        gap: 10px;
    }
    
    .gw2-event-item,
    .gw2-next-event-item,
    .gw2-today-event-item {
        padding: 10px;
    }
    
    .gw2-events-list,
    .gw2-next-events,
    .gw2-event-countdown,
    .gw2-today-events {
        padding: 15px;
        margin: 15px 0;
    }
}

/* Animationen */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.gw2-event-countdown:hover {
    animation: pulse 2s infinite;
}

/* Loading States */
.gw2-events-list.loading,
.gw2-next-events.loading,
.gw2-today-events.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Empty States */
.gw2-events-list p,
.gw2-next-events p,
.gw2-event-countdown p,
.gw2-today-events p {
    text-align: center;
    font-style: italic;
    color: #6c757d;
    margin: 20px 0;
} 