/* Estilos generales */
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    padding: 20px 0;
}

/* Calendario mensual */
.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th {
    text-align: center;
    background-color: #f5f5f5;
    font-weight: bold;
}

.calendar-table td {
    height: 100px;
    vertical-align: top;
    border: 1px solid #e0e0e0;
    padding: 5px;
    position: relative;
}

.calendar-table td.empty {
    background-color: #fafafa;
}

.calendar-table td.today {
    background-color: #e3f2fd;
}

.calendar-table td.festivo {
    background-color: #ffebee;
}

.day-number {
    font-weight: bold;
    margin-bottom: 5px;
}

.festivo-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #f44336;
}

.festivo-indicator i {
    font-size: 16px;
}

/* Vista agenda */
.agenda-item {
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.agenda-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.day-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2196f3;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.day-circle.today {
    background-color: #ff9800;
}

.festivo-badge {
    margin-bottom: 10px;
}

.cita-content h6 {
    margin-top: 0;
    color: #2196f3;
}

/* Buscador */
.search-results {
    margin-top: 20px;
}

.pagination li.active {
    background-color: #2196f3;
}

/* Responsive */
@media only screen and (max-width: 600px) {
    .calendar-table td {
        height: 60px;
        font-size: 0.8em;
    }
    
    .day-number {
        font-size: 0.9em;
    }
    
    .festivo-indicator i {
        font-size: 14px;
    }
    
    .agenda-item .row .col {
        padding: 0 5px;
    }
}
