@import url("registerExpress.css");
:root {
    --prep-land-primary-blue: #2563eb;
    --prep-land-primary-dark: #1e3a8a;
    --prep-land-text-dark: #1f2937;
    --prep-land-text-light: #6b7280;
    /*--prep-land-bg-body: #f9fafb;*/
    --prep-land-bg-card: #ffffff;
    --prep-land-border-color: #e5e7eb;

    /* Colores de acento para cada tarjeta */
    /*--prep-land-accent-comercios: #fed7aa;
    --prep-land-accent-distribuidores: #dbeafe;
    --prep-land-accent-retail: #fecdd3;
    --prep-land-accent-digital: #e0f2fe;

    --prep-land-shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --prep-land-shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);*/

    --prep-land-bg-body: #f9fafb;
    --land-load-glow: 0 0 60px rgba(37, 99, 235, 0.75),
    0 0 120px rgba(37, 99, 235, 0.25);
}


/* --- MODAL OVERLAY --- */
.prep-land-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.prep-land-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.prep-land-modal-content {
    background: var(--prep-land-bg-card);
    width: 100%;
    max-width: 850px;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.prep-land-modal-overlay.active .prep-land-modal-content {
    transform: scale(1);
}

/* Cabecera del Modal */
.prep-land-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--prep-land-border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #f8fafc;
}

.prep-land-modal-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--prep-land-primary-dark);
}

.prep-land-modal-header p {
    font-size: 1rem;
    color: var(--prep-land-text-light);
    margin-top: 0.25rem;
}

.prep-land-close-btn {
    background: #e5e7eb;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--prep-land-text-dark);
    transition: background 0.2s;
}

.prep-land-close-btn:hover {
    background: #d1d5db;
}

/* Cuerpo del Modal */
.prep-land-modal-body {
    padding: 2rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.prep-land-modal-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--prep-land-text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prep-land-modal-section h4::before {
    content: '';
    display: block;
    width: 4px;
    height: 16px;
    background: var(--prep-land-primary-blue);
    border-radius: 2px;
}

.prep-land-modal-section ul {
    list-style: none;
}

.prep-land-modal-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--prep-land-text-light);
}

.prep-land-modal-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--prep-land-primary-blue);
    font-weight: bold;
}

.prep-land-ideal-for {
    margin-top: 1.5rem;
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--prep-land-primary-blue);
}

.prep-land-ideal-for p {
    font-size: 0.9rem;
    color: var(--prep-land-primary-dark);
    font-weight: 600;
}

/* Footer del Modal */
.prep-land-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--prep-land-border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: #f8fafc;
}

.prep-land-btn-primary {
    background: var(--prep-land-primary-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.prep-land-btn-primary:hover {
    background: var(--prep-land-primary-dark);
}

.prep-land-btn-secondary {
    background: transparent;
    color: var(--prep-land-text-light);
    border: 1px solid var(--prep-land-border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.prep-land-btn-secondary:hover {
    background: #e5e7eb;
    color: var(--prep-land-text-dark);
}



/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .prep-land-modal-body { grid-template-columns: 1fr; gap: 1.5rem; }
    .prep-land-modal-header h2 { font-size: 1.5rem; }
    .prep-land-modal-footer { flex-direction: column; }
    .prep-land-btn-primary, .prep-land-btn-secondary { width: 100%; }
}




/* ===== INTRO / LOADER ===== */
.land-load-intro {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, #1e3a8a 0%, #0b1220 90%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.land-load-intro.land-load-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ===== FONDO DE GRID ===== */
.land-load-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(37, 99, 235, 0.09) 1px, transparent 1px),
            linear-gradient(90deg, rgba(37, 99, 235, 0.09) 1px, transparent 1px);
    background-size: 44px 44px;
    animation: land-load-gridPulse 5s ease-in-out infinite;
    mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}

@keyframes land-load-gridPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.03); }
}

/* ===== LÍNEA DE ESCANEO ===== */
.land-load-scanline {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
    transparent,
    rgba(96, 165, 250, 0.9),
    rgba(255, 255, 255, 0.8),
    rgba(96, 165, 250, 0.9),
    transparent);
    box-shadow: 0 0 24px rgba(96, 165, 250, 0.9);
    animation: land-load-scan 3.5s ease-in-out infinite;
    z-index: 2;
}

@keyframes land-load-scan {
    0%   { top: -2px; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ===== PARTÍCULAS ===== */
.land-load-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.land-load-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #93c5fd;
    box-shadow: 0 0 10px 2px rgba(96, 165, 250, 0.85);
    animation: land-load-float linear infinite;
}

@keyframes land-load-float {
    0% {
        transform: translateY(100vh) scale(0.6);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* ===== ESCENA CENTRAL ===== */
.land-load-scene {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Anillos holográficos */
.land-load-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: land-load-spin linear infinite;
}

.land-load-ring-1 {
    width: 340px;
    height: 340px;
    border-top: 2px solid var(--prep-land-primary-blue);
    border-right: 2px solid rgba(37, 99, 235, 0.35);
    animation-duration: 1.6s;
    box-shadow: 0 0 32px rgba(37, 99, 235, 0.45),
    inset 0 0 32px rgba(37, 99, 235, 0.12);
}

.land-load-ring-2 {
    width: 280px;
    height: 280px;
    border-top-color: rgba(96, 165, 250, 0.9);
    border-right-color: transparent;
    animation-duration: 2.2s;
    animation-direction: reverse;
    box-shadow: 0 0 24px rgba(96, 165, 250, 0.3);
}

.land-load-ring-3 {
    width: 400px;
    height: 400px;
    border-top-color: rgba(30, 58, 138, 0.8);
    border-left: 2px solid rgba(37, 99, 235, 0.2);
    animation-duration: 3s;
    box-shadow: 0 0 48px rgba(37, 99, 235, 0.15);
}

@keyframes land-load-spin {
    to { transform: rotate(360deg); }
}

/* Núcleo con LOGO */
.land-load-core {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #3b82f6, #1e3a8a);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--land-load-glow);
    animation: land-load-pulseCore 2s ease-in-out infinite;
    z-index: 10;
    overflow: hidden;
    border: 2px solid rgba(147, 197, 253, 0.55);
}

/* Halo interno detrás del logo */
.land-load-core::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 60%);
    animation: land-load-haloRotate 6s linear infinite;
    z-index: 0;
}

@keyframes land-load-haloRotate {
    to { transform: rotate(360deg); }
}

@keyframes land-load-pulseCore {
    0%, 100% { transform: scale(1); box-shadow: var(--land-load-glow); }
    50% { transform: scale(1.06); box-shadow: 0 0 90px rgba(59, 130, 246, 0.95),
    0 0 160px rgba(59, 130, 246, 0.35); }
}

/* LOGO PNG */
.land-load-logo {
    position: relative;
    z-index: 2;
    max-width: 78%;
    max-height: 78%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.75))
    drop-shadow(0 0 22px rgba(96, 165, 250, 0.65));
    animation: land-load-logoFloat 3s ease-in-out infinite;
}

@keyframes land-load-logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.03); }
}

/* Fallback si no carga el logo (SVG interno) */
.land-load-logo-fallback {
    position: absolute;
    z-index: 1;
    width: 52px;
    height: 52px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
}

/* ===== TEXTO DE CARGA PERFECTAMENTE ALINEADO ===== */
.land-load-text {
    margin-top: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: #ffffff;
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.95;
    z-index: 10;
    font-family: 'SF Mono', 'Consolas', monospace;
}

.land-load-text span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1.4em;
    line-height: 1;
    text-align: center;
    animation: land-load-letterWave 1.8s ease-in-out infinite;
}

.land-load-text span.space {
    width: 0.6em;
}

.land-load-text span.dot {
    color: #93c5fd;
    animation: land-load-dotBlink 1.2s ease-in-out infinite;
}

/* Delays por letra */
.land-load-text span:nth-child(1)  { animation-delay: 0.00s; }
.land-load-text span:nth-child(2)  { animation-delay: 0.08s; }
.land-load-text span:nth-child(3)  { animation-delay: 0.16s; }
.land-load-text span:nth-child(4)  { animation-delay: 0.24s; }
.land-load-text span:nth-child(5)  { animation-delay: 0.32s; }
.land-load-text span:nth-child(6)  { animation-delay: 0.40s; }
.land-load-text span:nth-child(7)  { animation-delay: 0.48s; }
.land-load-text span:nth-child(8)  { animation-delay: 0.56s; }
.land-load-text span:nth-child(9)  { animation-delay: 0.64s; }
.land-load-text span:nth-child(10) { animation-delay: 0.72s; }
.land-load-text span:nth-child(11) { animation-delay: 0.80s; }
.land-load-text span:nth-child(12) { animation-delay: 0.88s; }
.land-load-text span:nth-child(13) { animation-delay: 0.96s; }
.land-load-text span:nth-child(14) { animation-delay: 1.04s; }
.land-load-text span:nth-child(15) { animation-delay: 1.12s; }
.land-load-text span:nth-child(16) { animation-delay: 1.20s; }

@keyframes land-load-letterWave {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-4px); }
}

@keyframes land-load-dotBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ===== BARRA DE PROGRESO ===== */
.land-load-progress {
    position: relative;
    width: 280px;
    height: 3px;
    margin-top: 26px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    overflow: hidden;
    z-index: 10;
}

.land-load-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--prep-land-primary-blue), #60a5fa);
    border-radius: 99px;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.9);
    animation: land-load-progressFill 2.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes land-load-progressFill {
    0%   { width: 0%; }
    20%  { width: 18%; }
    40%  { width: 45%; }
    65%  { width: 62%; }
    85%  { width: 88%; }
    100% { width: 100%; }
}

/* ===== DESTELLO DECORATIVO ===== */
.land-load-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
    transform: skewX(-20deg);
    animation: land-load-shineSweep 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes land-load-shineSweep {
    0%   { left: -80%; }
    50%  { left: 130%; }
    100% { left: 130%; }
}

/* ===== CONTENIDO PRINCIPAL ===== */
.land-load-main {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*padding: 2rem;*/
    background: var(--prep-land-bg-body);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1s ease 0.4s, transform 1s ease 0.4s;
    z-index: 1;
}

.land-load-main.land-load-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 520px) {
    .land-load-scene { width: 300px; height: 300px; }
    .land-load-ring-1 { width: 240px; height: 240px; }
    .land-load-ring-2 { width: 190px; height: 190px; }
    .land-load-ring-3 { width: 290px; height: 290px; }
    .land-load-core { width: 110px; height: 110px; }
    .land-load-progress { width: 200px; }
    .land-load-text { font-size: 0.75rem; margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .land-load-ring,
    .land-load-core,
    .land-load-text span,
    .land-load-bg-grid,
    .land-load-progress-bar,
    .land-load-shine,
    .land-load-scanline,
    .land-load-particle,
    .land-load-logo {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}
/*  ===== =============================*/

/*  ====================== ALERT SUCCESS PRE REGISTER =============================*/
/* --- TUS ESTILOS ORIGINALES --- */
.ph-alert-succ-container {
    background: #ffffff;
    width: 100%;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-sizing: border-box;
}

.ph-alert-succ-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #d1fae5;
    color: #10b981;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    margin: 0 auto 25px auto;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ph-alert-succ-title {
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.ph-alert-succ-text {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 30px 0;
}

@keyframes popIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* --- NUEVOS ESTILOS PARA LA TARJETA DE DETALLES --- */

.ph-succ-details-card {
    background-color: #f4f7fb; /* Fondo gris azulado muy claro */
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    border: 1px solid #e2e8f0;
    margin-top: 10px;
}

.ph-succ-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.ph-succ-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ph-succ-detail-row:first-child {
    padding-top: 0;
}

.ph-succ-detail-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #374151; /* Gris oscuro */
    font-size: 14px;
    font-weight: 600;
}

.ph-succ-icon-box {
    width: 32px;
    height: 32px;
    background-color: #e0e7ff; /* Azul muy claro */
    color: #3b82f6; /* Azul brillante */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

/* Píldoras de estado (Badges) */
.ph-succ-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.ph-succ-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* Badge Verde */
.badge-green {
    background-color: #dcfce7; /* Fondo verde claro */
    color: #16a34a; /* Texto verde */
}
.badge-green .dot {
    background-color: #16a34a;
}

/* Badge Azul */
.badge-blue {
    background-color: #dbeafe; /* Fondo azul claro */
    color: #2563eb; /* Texto azul */
}
.badge-blue .dot {
    background-color: #2563eb;
}

/* Valor de texto (para el saldo) */
.ph-succ-value {
    font-weight: 700;
    color: #1f2937;
    font-size: 14px;
}
/*  ==================== END ALERT SUCCESS PRE REGISTER ===========================*/




