/* Font Import - MUST be at the top of your CSS file */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

/* Basic Body/Font Reset (optional, but good practice for plugin-specific styles) */
body {
    font-family: Arial, Helvetica, sans-serif; /* Default fallback font for general text */
    line-height: 1.6;
    color: #333;
}

/* Calendar Styles */
.enyonam-main-content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.enyonam-calendar-highlights-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.enyonam-calendar-column {
    flex: 1;
    min-width: 300px;
}

.enyonam-lorem-highlight-sidebar {
    flex: 0 0 300px;
}

.lorem-highlight-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.lorem-highlight-bar {
    height: 4px;
    margin-bottom: 10px;
    border-radius: 2px;
}

.highlight-grey { background: #ccc; }
.highlight-green { background: #4CAF50; }
.highlight-red { background: #F44336; }

.calendar-navigation {
    background: #333;
    padding: 15px;
    border-radius: 5px 5px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calendar-month-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 300px;
}

.calendar-month-title {
    color: white;
    font-weight: bold;
    margin: 0;
}

.calendar-month-nav {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.enyonam-calendar-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.enyonam-calendar-table th {
    background: #f5f5f5;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.enyonam-calendar-table td {
    padding: 10px;
    text-align: center;
    vertical-align: top;
    height: 100px;
    border: 1px solid #eee;
    position: relative;
}

.enyonam-calendar-table td.empty {
    background: #f9f9f9;
}

.enyonam-calendar-table td.past-date {
    color: #999;
}

.enyonam-calendar-table td.today-date {
    background-color: #e1f5fe;
}

.enyonam-calendar-table td.has-event {
    background-color: #e8f5e9;
}

.calendar-day {
    font-size: 14px;
    font-weight: bold;
}

.calendar-events {
    margin-top: 5px;
    font-size: 12px;
}

.calendar-event {
    background: #4CAF50;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.enyonam-events-list {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.event-item {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.event-image {
    position: relative;
    width: 200px;
    min-width: 200px;
    height: 150px;
    margin-right: 20px;
    overflow: hidden;
    border-radius: 5px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date-box-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    text-align: center;
}

.event-month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
}

.event-days {
    display: block;
    font-size: 18px;
    font-weight: bold;
}

.event-status-bar {
    width: 5px;
    min-width: 5px;
    height: 150px;
    border-radius: 3px 0 0 3px;
}

.event-status-grey { background: #ccc; }
.event-status-green { background: #4CAF50; }
.event-status-red { background: #F44336; }

.event-details {
    flex: 1;
}

.event-title {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.event-locations {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
}

.event-description {
    margin: 0 0 15px 0;
    color: #444;
}

.event-actions {
    margin-top: 10px;
}

.event-book-button {
    background: #4CAF50;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.event-book-button.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.no-events {
    text-align: center;
    color: #666;
    padding: 20px;
}

@media (max-width: 768px) {
    .enyonam-calendar-highlights-row {
        flex-direction: column;
    }
    
    .enyonam-lorem-highlight-sidebar {
        flex: 1;
        width: 100%;
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .event-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .event-status-bar {
        width: 100%;
        height: 5px;
        border-radius: 3px 3px 0 0;
    }
}