/**
 * Events e-Calendar - Frontend Styles
 * @package Events_eCalendar
 */

/* Calendar Wrapper */
.eec-calendar-wrapper {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* FullCalendar Customizations */
.fc {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.fc .fc-button {
    background-color: #2271b1;
    border-color: #2271b1;
    color: #fff;
    text-transform: capitalize;
}

.fc .fc-button:hover {
    background-color: #135e96;
    border-color: #135e96;
}

.fc .fc-button-active {
    background-color: #135e96;
    border-color: #0a4b78;
}

.fc .fc-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(34, 113, 177, 0.5);
}

.fc-event {
    cursor: pointer;
    transition: all 0.3s ease;
}

.fc-event:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* Events List View */
.eec-events-list {
    margin: 20px 0;
}

.eec-event-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.eec-event-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #2271b1;
}

.eec-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 10px;
    background: #2271b1;
    color: #fff;
    border-radius: 6px;
    text-align: center;
}

.eec-event-day {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}

.eec-event-month {
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 5px;
}

.eec-event-details {
    flex: 1;
}

.eec-event-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    line-height: 1.4;
}

.eec-event-title a {
    color: #1e1e1e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.eec-event-title a:hover {
    color: #2271b1;
}

.eec-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.eec-event-meta .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.eec-event-time,
.eec-event-categories {
    display: flex;
    align-items: center;
    gap: 5px;
}

.eec-event-excerpt {
    margin-top: 10px;
    color: #666;
    line-height: 1.6;
}

.eec-no-events {
    padding: 40px;
    text-align: center;
    color: #666;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .eec-calendar-wrapper {
        padding: 10px;
    }
    
    .eec-event-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .eec-event-date {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .eec-event-day {
        font-size: 24px;
    }
    
    .eec-event-title {
        font-size: 18px;
    }
    
    .fc .fc-toolbar {
        flex-direction: column;
        gap: 10px;
    }
    
    .fc .fc-toolbar-chunk {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .fc .fc-button {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .fc .fc-toolbar-title {
        font-size: 18px;
    }
}
