/* ============================================
   ESTILOS ESPECÍFICOS - AGENDAR CITA
   ============================================ */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* ============================================
   CALENDARIO ESTILO GOOGLE
   ============================================ */
.google-calendar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 450px;
    font-family: 'Google Sans', Arial, sans-serif;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--google-blue);
    color: white;
}

.calendar-nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav-btn:hover {
    background: rgba(255,255,255,0.2);
}

.calendar-month-year {
    font-size: 1.2rem;
    font-weight: 500;
    min-width: 200px;
    text-align: center;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.weekday {
    padding: 12px 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: #5f6368;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: white;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid transparent;
    font-size: 0.9rem;
    min-height: 44px;
}

.calendar-day:hover:not(.disabled):not(.other-month) {
    background: #e8f0fe;
    border-radius: 8px;
    margin: 2px;
}

/*.calendar-day.today {
    background: var(--google-blue);
    color: white;
    border-radius: 50%;
    font-weight: 600;
} */

.calendar-day.today:hover {
    background: var(--google-hover);
}

.calendar-day.selected {
    background: var(--google-blue);
    color: white;
    border-radius: 8px;
    margin: 2px;
    font-weight: 600;
}

.calendar-day.other-month {
    color: #dadce0;
    cursor: not-allowed;
}

.calendar-day.disabled {
    color: #dadce0;
    cursor: not-allowed;
}

.calendar-day.available::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #34a853;
    border-radius: 50%;
}

/* ============================================
   HORARIOS DISPONIBLES
   ============================================ */
.horarios-container {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    display: none;
}

.horarios-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-color);
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
}

.horario-btn {
    padding: 10px 12px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    background: white;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 400;
}

.horario-btn:hover {
    border-color: var(--google-blue);
    background: #e8f0fe;
}

.horario-btn.selected {
    background: var(--google-blue);
    color: white;
    border-color: var(--google-blue);
    font-weight: 500;
}

.horario-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .google-calendar {
        max-width: 100%;
    }

    .horarios-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ============================================
   AVISOS IMPORTANTES
   ============================================ */
.aviso-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.aviso-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aviso-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.aviso-item:last-child {
    margin-bottom: 0;
}

.aviso-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.aviso-item:nth-child(1) .aviso-icon {
    background: #fff3cd;
    color: #856404;
    border: 2px solid #ffc107;
}

.aviso-item:nth-child(2) .aviso-icon {
    background: #d1ecf1;
    color: #0c5460;
    border: 2px solid #17a2b8;
}

.aviso-content h4 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.aviso-content p {
    margin: 0;
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
}

.aviso-content strong {
    color: #e74c3c;
    font-weight: 600;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .aviso-container {
        margin-top: 1.5rem;
        padding: 1rem;
    }
    
    .aviso-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 1rem;
    }
    
    .aviso-icon {
        align-self: center;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .aviso-content h4 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .aviso-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .aviso-container {
        margin-top: 1rem;
        padding: 0.8rem;
    }
    
    .aviso-item {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .aviso-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .aviso-content h4 {
        font-size: 0.95rem;
    }
    
    .aviso-content p {
        font-size: 0.85rem;
    }
}