/* features/notifications/agenda-styles.css */

/* Contenedor principal de la agenda */
.agenda-container {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 20px;
}

.agenda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

/* Calendario */
.calendar-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-nav-btn {
    background: #1976D2;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.calendar-nav-btn:hover {
    background: #1565C0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day {
    background: white;
    padding: 10px;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.calendar-day:hover {
    background: #f5f5f5;
}

.calendar-day.other-month {
    background: #f8f9fa;
    color: #999;
}

.calendar-day.today {
    background: #e3f2fd;
    font-weight: bold;
}

.calendar-day.selected {
    background: #1976D2;
    color: white;
}

.calendar-day.has-appointments {
    background: #fff3e0;
    border: 2px solid #ff9800;
}

.calendar-day-number {
    font-size: 14px;
    font-weight: bold;
}

.calendar-day-appointments {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: #ff9800;
    border-radius: 50%;
}

/* Lista de citas del día */
.daily-appointments {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.appointment-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #1976D2;
    transition: transform 0.2s ease;
}

.appointment-item:hover {
    transform: translateX(5px);
}

.appointment-time {
    font-weight: bold;
    color: #1976D2;
    margin-right: 15px;
    min-width: 80px;
}

.appointment-details {
    flex: 1;
}

.appointment-service {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.appointment-technician {
    color: #666;
    font-size: 0.9em;
}

.appointment-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.appointment-status.pendiente {
    background: #fff3cd;
    color: #856404;
}

.appointment-status.confirmada {
    background: #d4edda;
    color: #155724;
}

.appointment-status.completada {
    background: #d1ecf1;
    color: #0c5460;
}

/* Recordatorios */
.reminders-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reminders-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reminder-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #28a745;
}

.reminder-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

.reminder-text {
    flex: 1;
    color: #333;
}

.reminder-time {
    color: #666;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .agenda-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .calendar-day {
        min-height: 50px;
        padding: 8px;
    }
    
    .calendar-day-number {
        font-size: 12px;
    }
    
    .appointment-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .appointment-time {
        margin-right: 0;
        margin-bottom: 5px;
    }
}
