﻿input {
    max-width: 100% !important;
}

.navbar {
    margin: 0 !important;
}

.container-fluid {
    padding: 0 !important
}

.panel {
    border: none !important;
    border-radius: 0px !important;
    box-shadow: none !important;
}
/* Estilos para el asistente de registro */
.asistente-registro {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f3f3f9;
}

/* Panel principal del asistente */
.panel-asistente {
    width: 100%;
    max-width: 970px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Indicador de pasos */
.indicador-pasos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    background: linear-gradient(180deg, #405189 0%, #54549a 100%);
    color: white;
}

.rfc-formulario {
    text-transform: uppercase;
}

.subir-csf {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.paso {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

    .paso:not(:last-child) {
        margin-right: 10px;
    }

.circulo-paso {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.paso.activo .circulo-paso {
    background-color: white;
    color: #405189;
    border-color: white;
    transform: scale(1.1);
}

.paso.completado .circulo-paso {
    background-color: white;
    color: #405189;
    border-color: white;
}

.nombre-paso {
    font-size: 14px;
    text-align: center;
    font-weight: 500;
    max-width: 100px;
    opacity: 0.9;
}

.paso.activo .nombre-paso,
.paso.completado .nombre-paso {
    opacity: 1;
    font-weight: 600;
}

.linea-paso {
    flex: 1;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 10px;
    position: relative;
    top: -15px;
}

.paso.completado + .linea-paso {
    background-color: white;
}

/* Contenido del asistente */
.contenido-asistente {
    padding: 40px;
}

.encabezado-paso {
    margin-bottom: 30px;
    text-align: center;
}

.titulo-paso {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

.descripcion-paso {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* Navegación entre pasos */
/* Ajustes para la navegación con términos y condiciones */
.navegacion-pasos {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    padding: 25px;
    border-top: 1px solid #eee;
}

/* Términos y condiciones */
.terminos-condiciones {
    margin-bottom: 25px;
    width: 100%;
}

.terminos-check {
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: #555;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

    .checkbox-label:hover {
        background-color: #f9f9f9;
    }

    .checkbox-label input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkmark {
    position: absolute;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 12px;
    transition: all 0.2s;
}

.checkbox-label input:checked ~ .checkmark {
    background-color: #405189;
    border-color: #405189;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.link-terminos {
    color: #405189;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    margin-left: 4px;
}

    .link-terminos:hover {
        color: #364574;
        text-decoration: underline;
    }

/* Contenedor de botones */
.contenedor-botones {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Ajustes para los botones */
.btn-personalizado {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.btn-principal {
    background: linear-gradient(180deg, #F89C1C 0%, #FA8200 100%);
    color: white;
    min-width: 160px;
}

    .btn-principal:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(250, 130, 0, 0.3);
    }

    .btn-principal:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        background: linear-gradient(180deg, #cccccc 0%, #aaaaaa 100%);
    }

.btn-secundario {
    background-color: #f1f3f4;
    color: #555;
}

    .btn-secundario:hover {
        background-color: #e8eaed;
    }

/* Iconos de flecha */
.icono-flecha {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 8px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

    .icono-flecha.izquierda {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23555'%3E%3Cpath d='M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z'/%3E%3C/svg%3E");
    }

    .icono-flecha.derecha {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E");
    }

.btn-secundario .icono-flecha.derecha {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23555'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E");
}
/* Estilos para los formularios dentro de los pasos */
.seccion-paso .form-group {
    margin-bottom: 20px;
}

.seccion-paso label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.seccion-paso input[type="text"],
.seccion-paso input[type="email"],
.seccion-paso input[type="password"],
.seccion-paso select,
.seccion-paso textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}

    .seccion-paso input:focus,
    .seccion-paso select:focus,
    .seccion-paso textarea:focus {
        border-color: #405189;
        outline: none;
        box-shadow: 0 0 0 2px rgba(248, 156, 28, 0.2);
    }

/* Barra de progreso */
.progreso {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    margin: 0 30px;
    max-width: 300px;
}

.barra-progreso {
    width: 100%;
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progreso-completado {
    height: 100%;
    background: linear-gradient(180deg, #405189 0%, #54549a 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.porcentaje-progreso {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .contenedor-botones {
        flex-direction: column;
        gap: 20px;
    }

    .progreso {
        order: 1;
        width: 100%;
        margin: 0 0 10px 0;
        max-width: 100%;
    }

    .btn-secundario {
        order: 2;
        align-self: flex-start;
        width: 100%;
    }

    .btn-principal {
        order: 3;
        align-self: flex-end;
        width: 100%;
    }

    .terminos-check {
        text-align: center;
    }

    .checkbox-label {
        font-size: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .link-terminos {
        display: inline-block;
        margin-left: 0;
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    .checkbox-label {
        font-size: 13px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .progreso {
        margin-bottom: 5px;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .panel-asistente {
        max-width: 95%;
    }

    .indicador-pasos {
        padding: 20px 15px;
    }

    .nombre-paso {
        font-size: 12px;
        max-width: 80px;
    }

    .contenido-asistente {
        padding: 25px;
    }

    .navegacion-pasos {
        flex-direction: column;
        gap: 20px;
    }

    .progreso {
        order: 1;
        width: 100%;
        margin: 0;
    }

    .btn-secundario {
        order: 2;
        align-self: flex-start;
    }

    .btn-principal {
        order: 3;
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .indicador-pasos {
        padding: 15px 10px;
    }

    .circulo-paso {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .nombre-paso {
        font-size: 11px;
        max-width: 70px;
    }

    .titulo-paso {
        font-size: 22px;
    }
}
/* Estilos para el primer paso - Mejorado UX/UI */
.contenido-formulario {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-top: 20px;
}

/* Panel de ayuda */
.panel-ayuda {
    grid-column: 2;
    grid-row: 1;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #405189;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 20px;
    height: fit-content;
    transition: all 0.3s ease;
}

    .panel-ayuda.activo {
        background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
        border-left-color: #405189;
    }

.mensaje-ayuda {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 20px;
}

    .mensaje-ayuda:last-child {
        margin-bottom: 0;
    }

.icono-ayuda {
    font-size: 24px;
    flex-shrink: 0;
}

.texto-ayuda strong {
    display: block;
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.texto-ayuda p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.ejemplo {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(250, 130, 0, 0.1);
    border-radius: 6px;
    color: #333;
}

/* Campos del formulario */
.campos-formulario {
    grid-column: 1;
}

.grupo-formulario {
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

    .grupo-formulario:hover {
        border-color: #405189;
        box-shadow: 0 5px 15px rgba(250, 130, 0, 0.08);
    }

.etiqueta-campo {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    cursor: default;
}

.numero-campo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #405189 0%, #54549a 100%);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    margin-right: 12px;
}

.obligatorio {
    color: #e74c3c;
    margin-left: 5px;
    font-weight: 600;
}

/* Inputs */
.input-contenedor {
    position: relative;
}

.input-formulario {
    width: 100%!important;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

    .input-formulario:focus {
        outline: none;
        border-color: #405189;
        box-shadow: 0 0 0 3px rgba(250, 130, 0, 0.15);
    }

    .input-formulario::placeholder {
        color: #999;
    }

/* Campos fiscales */
.campos-fiscales {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.subetiqueta {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

/* Dominio personalizado */
.input-dominio-contenedor {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .input-dominio-contenedor:focus-within {
        border-color: #405189;
        box-shadow: 0 0 0 3px rgba(250, 130, 0, 0.15);
    }

.dominio-prefijo, .dominio-sufijo {
    padding: 0 15px;
    background: #f8f9fa;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #666;
    border: none;
}

.dominio-prefijo {
    border-right: 1px solid #e0e0e0;
}

.dominio-sufijo {
    border-left: 1px solid #e0e0e0;
}

.input-dominio {
    flex: 1;
    border: none !important;
    padding: 14px;
    box-shadow: none !important;
}

    .input-dominio:focus {
        box-shadow: none !important;
    }

.url-ejemplo {
    margin-top: 12px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 14px;
}

.url-completa {
    display: block;
    margin-top: 4px;
    color: #405189;
    font-family: monospace;
    font-size: 15px;
    word-break: break-all;
    text-transform: lowercase;
}

/* Ayuda de campo */
.ayuda-campo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 13px;
}

.contador {
    color: #999;
}

.texto-ayuda {
    color: #666;
}

/* Configuraciones */
.configuraciones {
    background: #f8f9fa;
    border: 1px dashed #ddd;
}

.opciones-configuracion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.opcion-configuracion {
    cursor: pointer;
}

.checkbox-contenedor {
    display: flex;
    align-items: flex-start;
}

.checkbox-personalizado {
    position: relative;
    margin-top: 3px;
}

    .checkbox-personalizado input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkmark {
    position: relative;
    display: block;
    height: 22px;
    width: 22px;
    background-color: white;
    border: 2px solid #ccc;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.checkbox-personalizado input:checked ~ .checkmark {
    background-color: #405189;
    border-color: #405189;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-personalizado input:checked ~ .checkmark:after {
    display: block;
}

.info-opcion {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.label-opcion {
    cursor: pointer;
    flex: 1;
}

.titulo-opcion {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    font-size: 15px;
}

.descripcion-opcion {
    display: block;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.icono-info {
    color: #999;
    font-size: 14px;
    cursor: help;
    margin-left: 10px;
}

/* Campo de logotipo */
.campo-logotipo {
    margin-top: 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.input-file-contenedor {
    margin-top: 10px;
}

.ayuda-archivo {
    margin-top: 8px;
    font-size: 12px;
    color: #888;
}

/* Indicador de validación */
.indicador-validacion {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #d4edda;
    color: #155724;
    border-radius: 8px;
    margin-top: 20px;
    animation: fadeIn 0.3s ease;
}

.icono-validacion {
    font-size: 18px;
    font-weight: bold;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contenido-formulario {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .panel-ayuda {
        grid-column: 1;
        grid-row: auto;
        position: static;
    }
}

@media (max-width: 768px) {
    .campos-fiscales {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .input-dominio-contenedor {
        flex-wrap: wrap;
    }

    .dominio-prefijo, .dominio-sufijo {
        width: 100%;
        justify-content: center;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .input-dominio {
        width: 100%;
        text-align: center;
    }

    .grupo-formulario {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contenido-formulario {
        gap: 15px;
    }

    .grupo-formulario {
        padding: 15px;
    }

    .etiqueta-campo {
        font-size: 15px;
    }
}
/* Campos de contacto */
.campos-contacto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.campo-contacto {
    position: relative;
}
/* Badge de verificación */
.badge-verificacion {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
}
/* Input de teléfono con prefijo */
.input-telefono-contenedor {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .input-telefono-contenedor:focus-within {
        border-color: #405189;
        box-shadow: 0 0 0 3px rgba(250, 130, 0, 0.15);
    }

.prefijo-telefono {
    padding: 0 15px;
    background: #f8f9fa;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #666;
    border-right: 1px solid #e0e0e0;
}

.input-telefono {
    flex: 1;
    border: none !important;
    padding: 14px;
    box-shadow: none !important;
}

/* Advertencia de verificación */
.advertencia-verificacion {
    margin-top: 10px;
    padding: 10px 12px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    font-size: 13px;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icono-advertencia {
    font-size: 14px;
}
/* Dirección - Campos en línea */
.campos-numeros {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.campos-colonia-cp {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.campos-estado-municipio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}
/* Mapa de ubicación */
.mapa-ubicacion {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    border-radius: 8px;
    border: 1px dashed #ddd;
}

.mapa-placeholder {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
}

.icono-mapa {
    font-size: 40px;
    opacity: 0.7;
}

.texto-mapa {
    flex: 1;
}

    .texto-mapa strong {
        display: block;
        color: #333;
        margin-bottom: 5px;
        font-size: 15px;
    }

    .texto-mapa p {
        font-size: 13px;
        margin: 0;
        line-height: 1.4;
    }
/* Responsive para el segundo paso */
@media (max-width: 992px) {
    .campos-contacto,
    .campos-numeros,
    .campos-colonia-cp,
    .campos-estado-municipio {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .campo-contacto {
        margin-bottom: 20px;
    }

    .mapa-placeholder {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .badge-verificacion {
        display: block;
        margin-top: 4px;
        margin-left: 0;
        width: fit-content;
    }

    .input-telefono-contenedor {
        flex-wrap: wrap;
    }

    .prefijo-telefono {
        width: 100%;
        justify-content: center;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 8px;
    }

    .input-telefono {
        width: 100%;
        text-align: center;
    }
}

.campo-acceso {
    margin-bottom: 25px;
}

.input-email-contenedor,
.input-username-contenedor,
.input-password-contenedor {
    position: relative;
    display: flex;
    align-items: center;
}

.icono-email,
.icono-username,
.icono-password {
    position: absolute;
    left: 15px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.icono-input {
    font-size: 16px;
}

.input-formulario[type="email"],
.input-formulario[type="text"],
.input-formulario[type="password"] {
    padding-left: 50px;
}
/* Botón para ver contraseña */
.btn-ver-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 2;
    font-size: 18px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

    .btn-ver-password:hover {
        opacity: 1;
    }
/* Campos de credenciales */
.campos-credenciales {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}
/* Requisitos de contraseña */
.requisitos-contrasena {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.requisito {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #999;
    transition: color 0.3s ease;
}

    .requisito.cumplido {
        color: #28a745;
    }

        .requisito.cumplido .icono-requisito {
            background: #28a745;
            color: white;
        }

.icono-requisito {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e9ecef;
    font-size: 10px;
    font-weight: bold;
}
/* Términos y condiciones */
.terminos-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    border: 2px solid #e0e0e0;
}

.terminos-contenido {
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

    .terminos-contenido:hover {
        background-color: rgba(250, 130, 0, 0.05);
    }

.terminos-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.checkbox-terminos {
    position: relative;
}

    .checkbox-terminos input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkmark-terminos {
    display: block;
    width: 24px;
    height: 24px;
    background: white;
    border: 2px solid #ccc;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-terminos input:checked ~ .checkmark-terminos {
    background: #405189;
    border-color: #405189;
}

.checkmark-terminos:after {
    content: "✓";
    position: absolute;
    top: 2px;
    left: 6px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkbox-terminos input:checked ~ .checkmark-terminos:after {
    opacity: 1;
}

.label-terminos {
    flex: 1;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    line-height: 1.4;
}

.resumen-terminos {
    padding: 15px;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #405189;
}

    .resumen-terminos p {
        margin: 0 0 8px 0;
        font-size: 14px;
        color: #666;
        line-height: 1.5;
    }

        .resumen-terminos p:last-child {
            margin-bottom: 0;
        }

.nota-terminos {
    font-size: 13px;
    color: #888;
    font-style: italic;
}

/* Resumen de cuenta */
.resumen-cuenta {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    border: 2px solid #405189;
}

.detalles-resumen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.detalle-resumen {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.titulo-detalle {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.valor-detalle {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    max-width: 290px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.alerta-importante {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    color: #856404;
}

.icono-alerta {
    font-size: 24px;
    flex-shrink: 0;
}

.texto-alerta {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

/* Validación de campos */
.validacion-email,
.validacion-username {
    margin-top: 8px;
    padding: 8px 12px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    font-size: 13px;
    color: #721c24;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.3s ease;
}

.icono-error {
    font-size: 14px;
}

/* Lista de requisitos en ayuda */
.lista-requisitos {
    margin: 10px 0 0 0;
    padding-left: 20px;
    font-size: 13px;
}

    .lista-requisitos li {
        margin-bottom: 5px;
        color: #666;
    }

        .lista-requisitos li:last-child {
            margin-bottom: 0;
        }

/* Responsive para el tercer paso */
@media (max-width: 992px) {
    .campos-credenciales {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .detalles-resumen {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .terminos-checkbox {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .resumen-terminos {
        padding: 12px;
    }

    .alerta-importante {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .detalle-resumen {
        flex-direction: column;
        gap: 5px;
    }

    .valor-detalle {
        max-width: 100%;
        white-space: normal;
        word-break: break-all;
    }

    .input-formulario[type="email"],
    .input-formulario[type="text"],
    .input-formulario[type="password"] {
        padding-left: 45px;
        padding-right: 45px;
    }

    .icono-email,
    .icono-username,
    .icono-password {
        left: 12px;
    }

    .btn-ver-password {
        right: 12px;
    }
}

/* Animación para validación */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
