/* Nextcloud Calendar Display - Stili */

.ncd-calendar {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ncd-title {
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
    color: #333;
    font-size: 24px;
}

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

.ncd-event {
    display: flex;
    gap: 20px;
    padding: 15px;
    margin-bottom: 15px;
    background: white;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ncd-event:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ncd-event-date {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    padding: 10px;
    background: #0073aa;
    color: white;
    border-radius: 4px;
    text-align: center;
}

.ncd-date {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.ncd-time {
    display: block;
    font-size: 18px;
    font-weight: bold;
}

.ncd-event-details {
    flex-grow: 1;
}

.ncd-event-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

.ncd-event-location {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.ncd-event-description {
    margin: 10px 0 0 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.ncd-no-events {
    text-align: center;
    padding: 30px;
    color: #666;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .ncd-event {
        flex-direction: column;
        gap: 10px;
    }
    
    .ncd-event-date {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .ncd-date,
    .ncd-time {
        font-size: 16px;
    }
}
