/* Santé Citas - Frontend CSS */

.sante-appointment-selector {
    background: #f9f9f9;
    border: 2px solid #C41E3A;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.sante-appointment-selector h3 {
    color: #C41E3A;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.appointment-preparation,
.appointment-duration {
    background: #fff3cd;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    border-left: 4px solid #ffc107;
}

.appointment-fields label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.appointment-fields input,
.appointment-fields select,
.appointment-fields textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.appointment-fields p {
    margin-bottom: 15px;
}

/* Dashboard de citas */
.sante-appointments-dashboard {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
}

.sante-appointments-dashboard h2 {
    color: #C41E3A;
    margin-bottom: 30px;
}

.no-appointments {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
}

.appointments-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #C41E3A;
    background: white;
    color: #C41E3A;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #C41E3A;
    color: white;
}

.appointments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
}

.appointment-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #C41E3A;
    transition: all 0.3s ease;
}

.appointment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(196, 30, 58, 0.15);
}

.appointment-card.past {
    opacity: 0.7;
    border-left-color: #6c757d;
}

.appointment-card.cancelled {
    opacity: 0.6;
    border-left-color: #dc3545;
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.appointment-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.3rem;
}

.appointment-details {
    margin-bottom: 20px;
}

.detail-item {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.detail-item i {
    color: #C41E3A;
    width: 20px;
}

.appointment-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #C41E3A;
    color: white;
}

.btn-primary:hover {
    background: #9a1729;
}

.btn-secondary {
    background: #6D6E71;
    color: white;
}

.btn-secondary:hover {
    background: #4a4b4d;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.appointment-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background-color: #ffc107;
    color: #000;
}

.status-confirmed {
    background-color: #28a745;
    color: #fff;
}

.status-completed {
    background-color: #6c757d;
    color: #fff;
}

.status-cancelled {
    background-color: #dc3545;
    color: #fff;
}

@media (max-width: 768px) {
    .appointments-grid {
        grid-template-columns: 1fr;
    }
    
    .appointment-actions {
        flex-direction: column;
    }
    
    .appointment-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
