.ecm-calendar-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    background: white;
}
.ecm-loading, 
.ecm-error {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #555;
}
h2.ecm-current-month {
    color: #fff!important;
}
.ecm-error {
    color: #e74c3c;
}
.ecm-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background: #2c3e50;
    color: white;
    border-radius: 4px;
}

.ecm-calendar-header button {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.ecm-calendar-header button:hover {
    background: #2980b9;
}

.ecm-current-month {
    margin: 0;
    font-size: 1.5em;
}

.ecm-calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.ecm-calendar-table th {
    background: #3498db;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: bold;
}

.ecm-calendar-table td {
    border: 1px solid #ddd;
    height: 120px;
    vertical-align: top;
    padding: 5px;
    position: relative;
    transition: background 0.2s;
}

.ecm-calendar-table td:hover {
    background: #f9f9f9;
}

.ecm-day-number {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.1em;
    color: #333;
}

.ecm-event {
    font-size: 13px;
    padding: 5px;
    border-radius: 3px;
    color: white;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ecm-delete-event {
    position: absolute;
    top: 2px;
    right: 5px;
    cursor: pointer;
    font-weight: bold;
    display: none;
}

.ecm-event:hover .ecm-delete-event {
    display: inline-block;
}

.ecm-event:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .ecm-calendar-table td {
        height: 80px;
    }
    
    .ecm-event {
        font-size: 11px;
        padding: 3px;
    }
}