/* Agenda BioAdapt - Estilos específicos */

/* Variables de color */
:root {
    --primaryColor: #148f23;
    --hoverColor: #20df36;
    --paleGreen: #119220;
}

/* Estilos base del formulario */
.form-horizontal {
    /* Agregar estilos aquí */
}

/* Estilos para grupos de formulario */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #ededed;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primaryColor);
    background-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(16, 146, 25, 0.25);
    outline: none;
}

/* Estilos para botones */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn--primary {
    background: linear-gradient(145deg, var(--primaryColor), var(--hoverColor));
    color: white;
}

.btn--primary:hover {
    background: linear-gradient(145deg, var(--hoverColor), var(--primaryColor));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 146, 25, 0.3);
}

.btn--secondary {
    background-color: transparent;
    border: 1px solid #e0e0e0;
    color: #8e8e8e;
}

.btn--secondary:hover {
    background-color: #f5f5f5;
    border-color: #c0c0c0;
    color: #6c6c6c;
}

/* Estilos para secciones */
.content-section {
    padding: 3rem 0;
}

.content-section h1 {
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.content-section .lead {
    color: #2c2c2c;
    font-size: 1.1rem;
}

/* Estilos para wizard/steps */
.form-wizard-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #8e8e8e;
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background-color: var(--primaryColor);
    border-color: var(--primaryColor);
    color: white;
}

.step.completed .step-circle {
    background-color: var(--hoverColor);
    border-color: var(--hoverColor);
    color: white;
}

/* Estilos para tarjetas de modalidad (step1) */
.modalidad-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 0 1rem;
}

/* Estilos para tarjetas de servicio (step2) */
.servicio-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.servicio-card {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.servicio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.servicio-card.selected {
    border-width: 3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Tarjeta Health Coach - Verde */
.servicio-card[data-servicio="health-coach"] {
    border-color: #86efac;
    background-color: #f0fdf4;
}

.servicio-card[data-servicio="health-coach"]:hover,
.servicio-card[data-servicio="health-coach"].selected {
    border-color: #4ade80;
    background-color: #dcfce7;
}

.servicio-card-icon--health-coach {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
}

/* Tarjeta Consulta Médica - Azul */
.servicio-card[data-servicio="consulta-medica"] {
    border-color: #93c5fd;
    background-color: #eff6ff;
}

.servicio-card[data-servicio="consulta-medica"]:hover,
.servicio-card[data-servicio="consulta-medica"].selected {
    border-color: #60a5fa;
    background-color: #dbeafe;
}

.servicio-card-icon--consulta-medica {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #3b82f6;
}

/* Tarjeta Optimización Infantil - Naranja */
.servicio-card[data-servicio="optimizacion-infantil"] {
    border-color: #fbbf24;
    background-color: #fffbeb;
}

.servicio-card[data-servicio="optimizacion-infantil"]:hover,
.servicio-card[data-servicio="optimizacion-infantil"].selected {
    border-color: #f59e0b;
    background-color: #fef3c7;
}

.servicio-card-icon--optimizacion-infantil {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

/* Tarjeta Suero Terapia - Púrpura */
.servicio-card[data-servicio="suero-terapia"] {
    border-color: #c4b5fd;
    background-color: #faf5ff;
}

.servicio-card[data-servicio="suero-terapia"]:hover,
.servicio-card[data-servicio="suero-terapia"].selected {
    border-color: #a78bfa;
    background-color: #f3e8ff;
}

.servicio-card-icon--suero-terapia {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #8b5cf6;
}

/* Icono circular para tarjetas de servicio */
.servicio-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.servicio-card:hover .servicio-card-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.servicio-card.selected .servicio-card-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Contenido de la tarjeta de servicio */
.servicio-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.servicio-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.servicio-card-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Flecha de la tarjeta de servicio */
.servicio-card-arrow {
    color: #9ca3af;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.servicio-card:hover .servicio-card-arrow {
    color: #4b5563;
    transform: translateX(4px);
}

.servicio-card.selected .servicio-card-arrow {
    color: #1f2937;
}

/* Estilos para tarjetas de servicio (legacy - mantener para compatibilidad) */
.service-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 0 1rem;
}

.service-card {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-height: 200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-card.selected {
    border-width: 3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Tarjeta Online - Azul */
.service-card[data-service="online"] {
    border-color: #93c5fd;
}

.service-card[data-service="online"]:hover,
.service-card[data-service="online"].selected {
    border-color: #60a5fa;
    background-color: #eff6ff;
}

.service-card-icon--online {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #3b82f6;
}

/* Tarjeta WhatsApp - Verde */
.service-card[data-service="whatsapp"] {
    border-color: #86efac;
}

.service-card[data-service="whatsapp"]:hover,
.service-card[data-service="whatsapp"].selected {
    border-color: #4ade80;
    background-color: #f0fdf4;
}

.service-card-icon--whatsapp {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
}

/* Tarjeta Presencial - Morado */
.service-card[data-service="presencial"] {
    border-color: #c4b5fd;
}

.service-card[data-service="presencial"]:hover,
.service-card[data-service="presencial"].selected {
    border-color: #a78bfa;
    background-color: #f5f3ff;
}

.service-card-icon--presencial {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: #8b5cf6;
}

/* Tarjeta Suero Terapia - Naranja */
.service-card[data-service="suero"] {
    border-color: #fcd34d;
}

.service-card[data-service="suero"]:hover,
.service-card[data-service="suero"].selected {
    border-color: #fbbf24;
    background-color: #fffbeb;
}

.service-card-icon--suero {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #f59e0b;
}

/* Icono circular */
.service-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.service-card.selected .service-card-icon {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Título de la tarjeta */
.service-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    margin-top: 0.5rem;
}

/* Subtítulo de la tarjeta */
.service-card-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Estilos para botones de navegación */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.navigation-buttons .back-button-container,
.navigation-buttons .next-button-container {
    flex: 0 0 auto;
}

.navigation-buttons .button-container-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex: 1;
}

.navigation-buttons .btn--primary {
    background: linear-gradient(90deg, #148f23 0%, #20df36 100%);
    background-image: linear-gradient(90deg, #148f23 0%, #20df36 100%);
    border: none;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(20, 142, 35, 0.3);
}

.navigation-buttons .btn--primary:hover:not(:disabled) {
    background: linear-gradient(90deg, #20df36 0%, #148f23 100%);
    background-image: linear-gradient(90deg, #20df36 0%, #148f23 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(20, 142, 35, 0.4);
}

.navigation-buttons .btn--primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(20, 142, 35, 0.3);
}

.navigation-buttons .btn--primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.navigation-buttons .btn--primary svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.navigation-buttons .btn--primary:hover:not(:disabled) svg {
    transform: translateX(3px);
}

/* Estilos para botón secundario (Atrás) */
.navigation-buttons .btn--secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 200px;
}

.navigation-buttons .btn--secondary svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.navigation-buttons .btn--secondary:hover svg {
    transform: translateX(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .content-section {
        padding: 2rem 0;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .service-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    
    .service-card {
        min-height: 180px;
        padding: 1.5rem 1rem;
    }
    
    .service-card-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-card-title {
        font-size: 1.25rem;
    }
    
    .service-card-subtitle {
        font-size: 0.875rem;
    }
    
    .servicio-cards-container {
        padding: 0;
    }
    
    .servicio-card {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .servicio-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .servicio-card-title {
        font-size: 1.1rem;
    }
    
    .servicio-card-subtitle {
        font-size: 0.875rem;
    }
    
    .navigation-buttons {
        margin-top: 2rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .navigation-buttons .back-button-container,
    .navigation-buttons .next-button-container {
        width: 100%;
    }
    
    .navigation-buttons .btn {
        width: 100%;
    }
    
    .navigation-buttons .btn--primary {
        min-width: 180px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

