/* Estilos para el calendario */
.calendar-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.calendar-header h2 {
    color: #2c3e50;
    font-weight: 700;
}

.calendar-navigation {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.current-month {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
    min-width: 120px;
    text-align: center;
}

.btn-nav {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-nav:hover {
    text-decoration: underline;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-weekdays {
    display: contents;
}

.weekday {
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.calendar-days {
    display: contents;
}

.calendar-day {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.5rem;
    min-height: 100px;
    display: flex;
    flex-direction: column;
}

.other-month {
    opacity: 0.5;
    background-color: #f9f9f9;
}

.today {
    border: 2px solid #3498db;
}

.day-number {
    font-weight: 600;
    margin-bottom: 0.5rem;
    align-self: flex-end;
}

.day-availability {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.85rem;
    border-radius: 4px;
    padding: 0.3rem;
}

.day-availability i {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.available {
    background-color: #d4edda;
    color: #155724;
}

.unavailable {
    background-color: #f8d7da;
    color: #721c24;
}

.btn-book {
    display: block;
    text-align: center;
    background-color: #3498db;
    color: white;
    padding: 0.3rem;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    margin-top: 0.5rem;
}

.btn-book:hover {
    background-color: #2980b9;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-block;
}

.legend-color.available {
    background-color: #d4edda;
    border: 1px solid #155724;
}

.legend-color.unavailable {
    background-color: #f8d7da;
    border: 1px solid #721c24;
}

.legend-color.today {
    background-color: white;
    border: 2px solid #3498db;
}

.calendar-notes {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.calendar-notes i {
    color: #3498db;
    margin-right: 0.5rem;
}

.auth-notice {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.auth-notice a {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
}

.auth-notice a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .calendar-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .calendar-navigation {
        justify-content: space-between;
    }
    
    .calendar-day {
        min-height: 80px;
    }
    
    .day-availability span {
        display: none;
    }
    
    .btn-book {
        font-size: 0.7rem;
        padding: 0.2rem;
    }
}

@media (max-width: 480px) {
    .calendar-container {
        padding: 1rem;
    }
    
    .calendar-grid {
        gap: 0.2rem;
    }
    
    .calendar-day {
        min-height: 60px;
        padding: 0.2rem;
    }
    
    .day-number {
        font-size: 0.8rem;
    }
    
    .day-availability i {
        font-size: 1rem;
    }
    
    .btn-book {
        font-size: 0.6rem;
    }
}