/* Estilos extraídos de páginas públicas para mantener el CSS centralizado */
/* Dependen de las variables globales definidas en assets/css/style.css (por ejemplo, --primary-color y --accent-color) */

/* === Landing principal (/public/index.php) === */
.seccion-paquetes {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 0;
}

.titulo-seccion {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.subtitulo-seccion {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.nota-paquetes {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 1300px;
    margin: 10px auto;
    padding: 5px 20px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.nota-paquetes p {
    color: #555;
    font-size: 0.95rem;
    text-align: center;
}

.contenedor-paquetes {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.tarjeta-paquete {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 35px 25px;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tarjeta-paquete:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(33, 150, 243, 0.15);
    transform: translateY(-8px);
}

.tarjeta-paquete.destacado {
    border-color: var(--primary-color);
    border-width: 3px;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.2);
}

.etiqueta-destacado {
    position: absolute;
    top: 35px;
    right: -50px;
    background: linear-gradient(45deg, #2196F3, #00BCD4);
    color: white;
    padding: 5px 45px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
    letter-spacing: 0.5px;
}

.nombre-paquete {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.descripcion-paquete {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    min-height: 45px;
}

.precio-contenedor {
    margin-bottom: 25px;
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(to right, #f8f9fa, #ffffff, #f8f9fa);
    border-radius: 8px;
}

.simbolo-moneda {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    vertical-align: super;
}

.cantidad-precio {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.periodo-pago {
    font-size: 1rem;
    color: #999;
    display: block;
    margin-top: 8px;
}

.listado-beneficios {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.beneficio-item {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    font-size: 0.95rem;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.beneficio-item:last-child {
    border-bottom: none;
}

.beneficio-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 900;
    font-size: 1.2rem;
}

.boton-seleccionar {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.boton-seleccionar:hover {
    background: #1976D2;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    transform: translateY(-2px);
}

.tarjeta-paquete.destacado .boton-seleccionar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.caracteristicas-sistema {
    background: #ffffff;
    padding: 60px 0;
}

.grilla-caracteristicas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.modulo-caracteristica {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.modulo-caracteristica:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.icono-modulo {
    /* Iconos de los módulos destacados en la landing pública */
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.titulo-modulo,
.modulo-caracteristica h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.descripcion-modulo,
.modulo-caracteristica p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.seccion-roles {
    background: linear-gradient(135deg, #0F172A 0%, #1F2937 100%);
    color: white;
    padding: 70px 0;
}

.contenedor-roles {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.tarjeta-rol {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tarjeta-rol h3 {
    margin-bottom: 12px;
    color: #ffffff;
}

.lista-rol {
    list-style: none;
    padding: 0;
}

.item-rol {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

.item-rol:last-child {
    border-bottom: none;
}

.item-rol strong {
    color: #90cdf4;
}

.seccion-testimonios {
    background: #f8f9fa;
    padding: 60px 0;
}

.grid-testimonios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.tarjeta-testimonio {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.autor-testimonio {
    margin-top: 15px;
    font-weight: 600;
    color: #333;
}

.detalle-autor {
    color: #777;
    font-size: 0.9rem;
}

.cta-final {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 50px 0;
    text-align: center;
}

.cta-boton {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.cta-boton:hover {
    transform: translateY(-3px);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header .tag {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(0, 97, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-header p {
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* === Formularios de autenticación (forgot/reset password) === */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.auth-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: #667eea;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.auth-card .btn-primary {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.auth-card .btn-primary:hover {
    background: #5568d3;
}

.alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link a {
    color: #667eea;
    text-decoration: none;
}

.back-link a:hover {
    text-decoration: underline;
}

.info-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.password-requirements {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* === Registro de doctor === */
.clinic-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.clinic-section h3 {
    margin-top: 0;
    color: #2c3e50;
}

.checkbox-group {
    margin: 15px 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.hidden {
    display: none;
}

/* === Términos y condiciones === */
.terms-container {
    max-width: 900px;
    margin: 100px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.terms-container h1 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.terms-container h2 {
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
}

.terms-container p {
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.terms-container ul {
    padding-left: 30px;
    margin-bottom: 15px;
}

.terms-container li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.terms-container .highlight {
    background: #e8f4fd;
    padding: 8px;
    border-left: 4px solid #3498db;
    margin-bottom: 20px;
    border-radius: 4px;
}

.terms-container .legal {
    font-size: 0.9em;
    color: #777;
}

.last-updated {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 30px;
}
