/**
 * ========================================================================
 * ARCHIVO: modal-registro.css
 * PROYECTO: MOTELWEB.VIP
 * VERSIÓN: 1.0.0
 * FECHA DE PRODUCCIÓN: 2026-09-15
 * DESCRIPCIÓN: Estilos del modal de registro de moteles.
 *              Solo se carga en el sitio comercial (motelweb.vip).
 * ========================================================================
 */

.nxs-reg-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.nxs-reg-container {
    background: #1a1a1a;
    width: 90%;
    margin: 40px auto;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 20px;
    border: 1px solid #D4AF37;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nxs-reg-header {
    background: #000;
    padding: 1rem;
    border-bottom: 1px solid #D4AF37;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nxs-reg-header h3 {
    color: #D4AF37;
    margin: 0;
}

.nxs-reg-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

.nxs-reg-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.nxs-reg-body .form-group {
    margin-bottom: 1rem;
}

.nxs-reg-body .form-group label {
    display: block;
    color: #fff;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.nxs-reg-body .form-group input,
.nxs-reg-body .form-group select {
    width: 100%;
    padding: 0.6rem;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    border-radius: 8px;
}

.nxs-reg-body .form-group input.error,
.nxs-reg-body .form-group select.error {
    border-color: #ff4444;
}

.nxs-reg-body .error-message {
    color: #ff4444;
    font-size: 0.75rem;
    display: none;
    margin-top: 0.2rem;
}

.nxs-reg-body .row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.nxs-reg-body .row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.nxs-reg-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
}

.nxs-reg-stepper .step {
    flex: 1;
    text-align: center;
    color: #666;
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem;
}

.nxs-reg-stepper .step.active {
    color: #D4AF37;
    border-bottom: 2px solid #D4AF37;
}

.nxs-reg-stepper .step.completed {
    color: #D4AF37;
}

.nxs-reg-form-step {
    display: none;
}

.nxs-reg-form-step.active-step {
    display: block;
}

.nxs-reg-btn-gold {
    background: #D4AF37;
    color: #000;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
}

.nxs-reg-btn-outline-gold {
    background: transparent;
    border: 1px solid #D4AF37;
    color: #D4AF37;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
}

.nxs-reg-step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    gap: 1rem;
}

.nxs-reg-otro-input-container {
    margin-top: 0.5rem;
}

.nxs-reg-otro-input-container input {
    width: 100%;
    padding: 0.5rem;
    background: #222;
    border: 1px solid #D4AF37;
    color: #fff;
    border-radius: 8px;
}

.nxs-reg-checkbox-group {
    margin: 1rem 0;
}

.nxs-reg-checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    cursor: pointer;
}

.nxs-reg-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: #D4AF37;
    animation: nxs-reg-spin 0.6s linear infinite;
    margin-right: 0.5rem;
}

@keyframes nxs-reg-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    .nxs-reg-body .row {
        flex-direction: column;
        gap: 0;
    }

    .nxs-reg-step-buttons {
        flex-direction: column;
    }
}