#ecp-calendar-container {
max-width: 1000px;
margin: 0 auto;
font-family: Arial, sans-serif;
padding: 20px;
box-sizing: border-box;
}
.ecp-calendar-header {
text-align: center;
margin-bottom: 10px;
}
.ecp-calendar-controls {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
margin-bottom: 20px;
font-size: 1.2em;
}
.ecp-calendar-controls button {
background: none;
border: none;
font-size: 1.5em;
cursor: pointer;
}
.ecp-main-grid {
display: flex;
gap: 20px;
flex-wrap: wrap;
}
#ecp-calendar {
flex: 2;
min-width: 300px;
}
.ecp-calendar-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 5px;
}
.ecp-day-header {
font-weight: bold;
text-align: center;
padding: 5px;
background: #ddd;
}
.ecp-day {
background-color: #f4f4f4;
text-align: center;
padding: 10px;
cursor: pointer;
border-radius: 4px;
transition: background-color 0.2s;
}
.ecp-day.empty {
background: transparent;
cursor: default;
}
.ecp-day.has-event {
color: #fff;
font-weight: bold;
}
#ecp-event-list {
flex: 1;
min-width: 280px;
max-height: 100%;
overflow-y: auto;
border-left: 1px solid #ccc;
padding-left: 10px;
}
#ecp-event-list-header {
border-bottom: 1px solid #ccc;
margin-bottom: 10px;
}
#ecp-event-list-date {
display: block;
font-weight: bold;
//font-size: 1.1em;
margin-top: 5px;
color: #555;
}
.ecp-event-item {
margin-bottom: 15px;
}
.ecp-event-item a {
font-weight: bold;
text-decoration: none;
color: #0073aa;
}
.ecp-event-item p {
margin: 5px 0 0;
color: #333;
font-size: 0.95em;
}
#ecp-event-list-body {
max-height: 400px;
overflow-y: auto;
}
@media (max-width: 768px) {
.ecp-main-grid {
flex-direction: column;
}
#ecp-event-list {
border-left: none;
border-top: 1px solid #ccc;
padding-left: 0;
padding-top: 10px;
}
}