:root {
    --primary-pink: #ff007f; /* Rosa vibrante logo */
    --primary-hover: #d9006c;
    --bg-dark: #111111;
    --bg-card: #1e1e1e;
    --text-main: #ffffff;
    --text-secondary: #b3b3b3;
    --glass-bg: rgba(30, 30, 30, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER --- */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: transparent; /* Limpio */
}

.brand-name {
    font-weight: 300;
    letter-spacing: 2px;
    font-size: 1.2rem;
    text-transform: uppercase;
}
.brand-name::first-letter {
    color: var(--primary-pink); /* Detalle sutil */
}

/* --- MAIN LAYOUT --- */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* --- UTILIDADES DE PASOS --- */
.hidden-step {
    display: none !important;
}
.active-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- ESTILO PASO 1: LANDING --- */
.profile-container {
    text-align: center;
    margin-top: -50px; /* Ajuste visual vertical */
}

.profile-photo-ring {
    width: 120px;
    height: 120px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    padding: 4px; /* Espacio entre borde y foto */
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: #777;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
}

.profile-age {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 5px;
}

/* --- BOTONES --- */
.action-button {
    background-color: var(--primary-pink);
    color: white;
    border: none;
    padding: 15px 60px;
    border-radius: 30px; /* Botón redondeado estilo app */
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
}

.action-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.6);
}

.full-width {
    width: 100%;
    margin-top: 20px;
}

/* --- ESTILO PASO 2: PAGO --- */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.content-preview-mini {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}
.content-preview-mini img {
    border-radius: 8px;
    opacity: 0.7;
}

.payment-gateway h2 {
    color: var(--primary-pink);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.payment-gateway label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.payment-gateway input {
    width: 100%;
    padding: 12px;
    background-color: rgba(0,0,0,0.3);
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

.payment-gateway input:focus {
    outline: none;
    border-color: var(--primary-pink);
}

.row {
    display: flex;
    gap: 15px;
}

.row .input-group {
    flex: 1;
}

.secure-notice {
    font-size: 0.7rem;
    text-align: center;
    margin-top: 15px;
    color: #555;
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    text-align: center;
    max-width: 350px;
}

.password-display {
    background: #000;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px dashed var(--primary-pink);
    font-family: monospace;
    font-size: 1.2rem;
    letter-spacing: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-btn {
    background: #333;
    border: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
}
.copy-btn:hover { background: #444; }

/* --- FOOTER --- */
footer {
    background-color: var(--bg-dark);
    color: #555;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    margin-top: auto;
}
:root {
    --primary-pink: #ff007f; /* Rosa vibrante */
    --primary-hover: #d9006c;
    --bg-dark: #111111;
    --bg-card: #1e1e1e;
    --text-main: #ffffff;
    --text-secondary: #b3b3b3;
    --glass-bg: rgba(30, 30, 30, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --success-green: #00e676;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER (Compartido) --- */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-name {
    font-weight: 300;
    letter-spacing: 2px;
    font-size: 1.2rem;
    text-transform: uppercase;
}
.brand-name::first-letter {
    color: var(--primary-pink);
}

/* --- MAIN LAYOUT --- */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* --- UTILIDADES DE VISIBILIDAD --- */
.hidden {
    display: none !important;
}
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- INDEX: LANDING & PAGO (Estilos previos conservados) --- */
.profile-container { text-align: center; margin-top: -50px; }
.profile-photo-ring {
    width: 120px; height: 120px;
    border: 2px solid #fff; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 20px auto; padding: 4px;
}
.photo-placeholder {
    width: 100%; height: 100%;
    background-color: #333; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 0.8rem; color: #777;
}
.profile-name { font-size: 1.5rem; font-weight: 400; margin: 0; }
.profile-age { color: var(--text-secondary); font-size: 1rem; margin-top: 5px; }

.action-button {
    background-color: var(--primary-pink); color: white; border: none;
    padding: 15px 60px; border-radius: 30px; font-size: 1rem;
    font-weight: 600; letter-spacing: 1px; margin-top: 40px;
    cursor: pointer; transition: all 0.3s ease; text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
}
.action-button:hover {
    background-color: var(--primary-hover); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.6);
}
.full-width { width: 100%; margin-top: 20px; }

/* --- GLASSMORPHISM CARD (Compartido) --- */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); border-radius: 16px;
    padding: 30px; width: 100%; max-width: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* --- FORMULARIOS --- */
.input-group { margin-bottom: 15px; text-align: left; }
label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 5px; }
input {
    width: 100%; padding: 12px; background-color: rgba(0,0,0,0.3);
    border: 1px solid #333; border-radius: 8px; color: #fff;
    font-family: 'Montserrat', sans-serif; box-sizing: border-box;
}
input:focus { outline: none; border-color: var(--primary-pink); }
.row { display: flex; gap: 15px; }
.row .input-group { flex: 1; }

/* --- MODAL --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); display: flex;
    justify-content: center; align-items: center; z-index: 1000; padding: 20px;
}
.modal-content { text-align: center; max-width: 350px; }
.password-display {
    background: #000; padding: 15px; border-radius: 8px; margin: 20px 0;
    border: 1px dashed var(--primary-pink); font-family: monospace;
    font-size: 1.2rem; letter-spacing: 2px; display: flex;
    justify-content: space-between; align-items: center;
}
.copy-btn {
    background: #333; border: none; color: #fff; padding: 5px 10px;
    border-radius: 4px; font-size: 0.8rem; cursor: pointer;
}

/* =========================================
   NUEVO: ESTILOS PARA CLOUD PRIVADA
   ========================================= */

/* Login Screen (Estado Bloqueado) */
.lock-icon {
    font-size: 3rem; color: var(--primary-pink); margin-bottom: 20px;
}

/* File Manager (Estado Desbloqueado - Dropbox Style) */
.cloud-container {
    width: 100%; max-width: 900px;
    background: #181818; border-radius: 12px;
    border: 1px solid #333; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.cloud-header {
    background: #222; padding: 20px 30px;
    border-bottom: 1px solid #333;
    display: flex; justify-content: space-between; align-items: center;
}
.cloud-header h2 { font-size: 1.2rem; margin: 0; font-weight: 600; }
.user-badge { font-size: 0.8rem; color: var(--text-secondary); }

.file-list { list-style: none; padding: 0; margin: 0; }

.file-item {
    display: flex; align-items: center; padding: 15px 25px;
    border-bottom: 1px solid #2a2a2a; transition: background 0.2s;
    cursor: pointer;
}
.file-item:hover { background: #252525; }
.file-item:last-child { border-bottom: none; }

.file-icon {
    width: 40px; height: 40px; background: #2d2d2d;
    border-radius: 8px; display: flex; justify-content: center; align-items: center;
    margin-right: 20px; color: var(--text-main); font-size: 1.2rem;
}
/* Colores por tipo de archivo simulado */
.icon-zip { color: #f1c40f; } 
.icon-video { color: var(--primary-pink); }

.file-info { flex: 1; }
.file-name { display: block; font-size: 0.95rem; font-weight: 500; margin-bottom: 4px; }
.file-meta { display: block; font-size: 0.75rem; color: #666; }

.download-btn-small {
    background: transparent; border: 1px solid #444;
    color: #fff; width: 35px; height: 35px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    transition: all 0.2s; cursor: pointer; text-decoration: none;
}
.download-btn-small:hover {
    border-color: var(--primary-pink); color: var(--primary-pink);
}

/* FOOTER */
footer {
    background-color: var(--bg-dark); color: #555; text-align: center;
    padding: 20px; font-size: 0.8rem; margin-top: auto;
}
:root {
    --primary-pink: #ff007f;
    --primary-hover: #d9006c;
    --bg-dark: #111111;
    --bg-card: #1e1e1e;
    --text-main: #ffffff;
    --text-secondary: #b3b3b3;
    --glass-bg: rgba(30, 30, 30, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --success-green: #00e676;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER --- */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-name {
    font-weight: 300;
    letter-spacing: 2px;
    font-size: 1.2rem;
    text-transform: uppercase;
}
.brand-name::first-letter {
    color: var(--primary-pink);
}

/* --- MAIN LAYOUT --- */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* --- UTILIDADES --- */
.hidden { display: none !important; }
.active-step {
    display: flex; flex-direction: column; align-items: center; width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}
.fade-in { animation: fadeIn 0.6s ease-in-out; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- LANDING --- */
.profile-container { text-align: center; margin-top: -50px; }
.profile-photo-ring {
    width: 120px; height: 120px;
    border: 2px solid #fff; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 20px auto; padding: 4px;
}
.photo-placeholder {
    width: 100%; height: 100%;
    background-color: #333; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 0.8rem; color: #777;
}
.profile-name { font-size: 1.5rem; font-weight: 400; margin: 0; }
.profile-age { color: var(--text-secondary); font-size: 1rem; margin-top: 5px; }

/* --- BOTONES --- */
.action-button {
    background-color: var(--primary-pink); color: white; border: none;
    padding: 15px 60px; border-radius: 30px; font-size: 1rem;
    font-weight: 600; letter-spacing: 1px; margin-top: 40px;
    cursor: pointer; transition: all 0.3s ease; text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
}
.action-button:hover {
    background-color: var(--primary-hover); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.6);
}
.full-width { width: 100%; margin-top: 20px; }

/* --- GLASS CARD --- */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); border-radius: 16px;
    padding: 30px; width: 100%; max-width: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.content-preview-mini {
    text-align: center; margin-bottom: 20px; padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}
.content-preview-mini img { border-radius: 8px; opacity: 0.7; }
h2 { color: var(--primary-pink); text-align: center; margin-bottom: 20px; font-weight: 600; }

/* --- FORMULARIOS --- */
.input-group { margin-bottom: 15px; text-align: left; }
label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 5px; }
input {
    width: 100%; padding: 12px; background-color: rgba(0,0,0,0.3);
    border: 1px solid #333; border-radius: 8px; color: #fff;
    font-family: 'Montserrat', sans-serif; box-sizing: border-box;
}
input:focus { outline: none; border-color: var(--primary-pink); }
.row { display: flex; gap: 15px; }
.row .input-group { flex: 1; }
.secure-notice { font-size: 0.7rem; text-align: center; margin-top: 15px; color: #555; }

/* --- MODAL --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); display: flex;
    justify-content: center; align-items: center; z-index: 1000; padding: 20px;
}
.modal-content { text-align: center; max-width: 350px; }
.password-display {
    background: #000; padding: 15px; border-radius: 8px; margin: 20px 0;
    border: 1px dashed var(--primary-pink); font-family: monospace;
    font-size: 1.2rem; letter-spacing: 2px; display: flex;
    justify-content: space-between; align-items: center;
}
.copy-btn {
    background: #333; border: none; color: #fff; padding: 5px 10px;
    border-radius: 4px; font-size: 0.8rem; cursor: pointer;
}
.copy-btn:hover { background: #444; }

/* --- CLOUD UI (Privado) --- */
.lock-icon { font-size: 3rem; color: var(--primary-pink); margin-bottom: 20px; }

.cloud-container {
    width: 100%; max-width: 900px; background: #181818;
    border-radius: 12px; border: 1px solid #333; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.cloud-header {
    background: #222; padding: 20px 30px; border-bottom: 1px solid #333;
    display: flex; justify-content: space-between; align-items: center;
}
.cloud-header h2 { font-size: 1.2rem; margin: 0; font-weight: 600; color: #fff; }
.user-badge { font-size: 0.8rem; color: var(--text-secondary); }

.file-list { list-style: none; padding: 0; margin: 0; }
.file-item {
    display: flex; align-items: center; padding: 15px 25px;
    border-bottom: 1px solid #2a2a2a; transition: background 0.2s;
    cursor: pointer;
}
.file-item:hover { background: #252525; }
.file-item:last-child { border-bottom: none; }
.file-icon {
    width: 40px; height: 40px; background: #2d2d2d; border-radius: 8px;
    display: flex; justify-content: center; align-items: center;
    margin-right: 20px; color: var(--text-main); font-size: 1.2rem;
}
.icon-zip { color: #f1c40f; }
.icon-video { color: var(--primary-pink); }
.file-info { flex: 1; }
.file-name { display: block; font-size: 0.95rem; font-weight: 500; margin-bottom: 4px; }
.file-meta { display: block; font-size: 0.75rem; color: #666; }

.download-btn-small {
    background: transparent; border: 1px solid #444; color: #fff;
    width: 35px; height: 35px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    transition: all 0.2s; cursor: pointer; text-decoration: none;
}
.download-btn-small:hover { border-color: var(--primary-pink); color: var(--primary-pink); }

/* --- FOOTER --- */
footer {
    background-color: var(--bg-dark); color: #555; text-align: center;
    padding: 20px; font-size: 0.8rem; margin-top: auto;
}
/* --- AGREGAR O REEMPLAZAR EN SECCIÓN HEADER DE STYLE.CSS --- */

.logo-img {
    max-height: 60px; /* Ajusta este valor según el tamaño real de tu PNG */
    width: auto;
    display: block;
    /* Efecto de lujo: Sutil sombra rosa brillante detrás del logo */
    filter: drop-shadow(0 0 8px rgba(255, 0, 127, 0.3));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05); /* Pequeño zoom al pasar el mouse */
    filter: drop-shadow(0 0 12px rgba(255, 0, 127, 0.6));
}
/* --- AGREGAR AL FINAL DE STYLE.CSS --- */
.profile-img-circle {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto hace que la foto llene el círculo sin estirarse */
    border-radius: 50%;
    display: block;
}
/* --- ESTILOS PARA MODALES LEGALES --- */

/* Ajuste para que el modal de texto sea más ancho que el de contraseña */
.legal-modal {
    max-width: 600px !important; /* Más ancho para leer cómodamente */
    text-align: left;
}

.legal-modal h3 {
    text-align: center;
    margin-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

/* Área de texto con scroll */
.legal-scroll-area {
    max-height: 300px; /* Altura máxima antes de hacer scroll */
    overflow-y: auto;  /* Scroll vertical automático */
    margin: 20px 0;
    padding-right: 10px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #ddd;
}

.legal-scroll-area h4 {
    color: var(--primary-pink);
    margin-bottom: 5px;
    margin-top: 15px;
}

/* Personalización de la barra de scroll (Estilo Webkit/Chrome/Safari) */
.legal-scroll-area::-webkit-scrollbar {
    width: 6px;
}
.legal-scroll-area::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.3); 
    border-radius: 3px;
}
.legal-scroll-area::-webkit-scrollbar-thumb {
    background: var(--primary-pink); 
    border-radius: 3px;
}

/* Botón cerrar más pequeño */
.btn-close-legal {
    margin-top: 0;
    padding: 10px 30px;
    font-size: 0.9rem;
    width: auto;
    display: block;
    margin: 0 auto;
}
/* --- ESTILOS PARA EL CONSENTIMIENTO (CHECKBOX) --- */

.consent-container {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Checkbox personalizado (simple) */
.consent-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-pink); /* El check será rosa */
    cursor: pointer;
    margin: 0; /* Reset margin */
    background: rgba(0,0,0,0.3); /* Fondo oscuro */
}

.consent-container label {
    display: inline; /* Para que fluya con el texto */
    margin: 0;
    cursor: pointer;
}

.consent-container a {
    color: var(--text-main);
    text-decoration: underline;
    text-decoration-color: var(--primary-pink);
    transition: color 0.3s;
}

.consent-container a:hover {
    color: var(--primary-pink);
}

/* --- ESTADO DEL BOTÓN DESACTIVADO --- */
.action-button:disabled {
    opacity: 0.3;           /* Muy opaco/borroso */
    filter: grayscale(100%); /* Sin color */
    cursor: not-allowed;    /* Cursor de prohibido */
    pointer-events: none;   /* No se puede hacer clic (seguridad extra) */
    box-shadow: none;       /* Sin brillo */
    animation: none;        /* Sin pulso */
}
:root {
    --primary-pink: #ff007f;
    --primary-hover: #d9006c;
    --bg-dark: #111111;
    --bg-card: #1e1e1e;
    --text-main: #ffffff;
    --text-secondary: #b3b3b3;
    --glass-bg: rgba(30, 30, 30, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --success-green: #00e676;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER --- */
header {
    display: flex; justify-content: center; align-items: center;
    padding: 20px; background: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.logo-img {
    max-height: 60px; width: auto; display: block;
    filter: drop-shadow(0 0 8px rgba(255, 0, 127, 0.3));
    transition: transform 0.3s ease;
}
.logo-img:hover {
    transform: scale(1.05); filter: drop-shadow(0 0 12px rgba(255, 0, 127, 0.6));
}

/* --- MAIN LAYOUT --- */
main {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    width: 100%; padding: 20px; box-sizing: border-box;
}

/* --- UTILIDADES --- */
.hidden { display: none !important; }
.active-step {
    display: flex; flex-direction: column; align-items: center; width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}
.fade-in { animation: fadeIn 0.6s ease-in-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- LANDING --- */
.profile-container { text-align: center; margin-top: -50px; }
.profile-photo-ring {
    width: 120px; height: 120px; border: 2px solid #fff; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 20px auto; padding: 4px;
}
.profile-img-circle {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block;
}
.profile-name { font-size: 1.5rem; font-weight: 400; margin: 0; }
.profile-age { color: var(--text-secondary); font-size: 1rem; margin-top: 5px; }

/* --- CONSENTIMIENTO --- */
.consent-container {
    margin-top: 25px; margin-bottom: 10px; font-size: 0.8rem;
    color: var(--text-secondary); display: flex; align-items: center;
    justify-content: center; gap: 10px;
}
.consent-container input[type="checkbox"] {
    width: 18px; height: 18px; accent-color: var(--primary-pink);
    cursor: pointer; margin: 0; background: rgba(0,0,0,0.3);
}
.consent-container label { display: inline; margin: 0; cursor: pointer; }
.consent-container a {
    color: var(--text-main); text-decoration: underline;
    text-decoration-color: var(--primary-pink); transition: color 0.3s;
}
.consent-container a:hover { color: var(--primary-pink); }

/* --- BOTONES --- */
.action-button {
    background-color: var(--primary-pink); color: white; border: none;
    padding: 15px 60px; border-radius: 30px; font-size: 1rem;
    font-weight: 600; letter-spacing: 1px; margin-top: 40px;
    cursor: pointer; transition: all 0.3s ease; text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
}
.action-button:hover {
    background-color: var(--primary-hover); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.6);
}
.action-button:disabled {
    opacity: 0.3; filter: grayscale(100%); cursor: not-allowed;
    pointer-events: none; box-shadow: none; animation: none;
}
.full-width { width: 100%; margin-top: 20px; }

/* --- GLASS CARD --- */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); border-radius: 16px;
    padding: 30px; width: 100%; max-width: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
h2 { color: var(--primary-pink); text-align: center; margin-bottom: 20px; font-weight: 600; }

/* --- FORMULARIOS & SELECT --- */
.input-group { margin-bottom: 15px; text-align: left; }
label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 5px; }

/* Estilo unificado para Input y Select */
input, select {
    width: 100%; padding: 12px; background-color: rgba(0,0,0,0.3);
    border: 1px solid #333; border-radius: 8px; color: #fff;
    font-family: 'Montserrat', sans-serif; box-sizing: border-box;
    appearance: none; /* Quita flecha por defecto en algunos navegadores para personalizar */
}

/* Personalización específica del Select para que se vea bien en dark mode */
select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ff007f%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right .7em top 50%;
    background-size: .65em auto;
}

/* Opciones del desplegable en fondo oscuro */
select option {
    background-color: #1e1e1e;
    color: #fff;
}

input:focus, select:focus { outline: none; border-color: var(--primary-pink); }

.secure-notice { font-size: 0.7rem; text-align: center; margin-top: 15px; color: #555; }

/* --- MODALES --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); display: flex;
    justify-content: center; align-items: center; z-index: 1000; padding: 20px;
}
.modal-content { text-align: center; max-width: 350px; }
.password-display {
    background: #000; padding: 15px; border-radius: 8px; margin: 20px 0;
    border: 1px dashed var(--primary-pink); font-family: monospace;
    font-size: 1.2rem; letter-spacing: 2px; display: flex;
    justify-content: space-between; align-items: center;
}
.copy-btn {
    background: #333; border: none; color: #fff; padding: 5px 10px;
    border-radius: 4px; font-size: 0.8rem; cursor: pointer;
}
.copy-btn:hover { background: #444; }

/* --- MODALES LEGALES --- */
.legal-modal { max-width: 600px !important; text-align: left; }
.legal-modal h3 { text-align: center; margin-top: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.legal-scroll-area {
    max-height: 300px; overflow-y: auto; margin: 20px 0; padding-right: 10px;
    font-size: 0.85rem; line-height: 1.6; color: #ddd;
}
.legal-scroll-area h4 { color: var(--primary-pink); margin-bottom: 5px; margin-top: 15px; }
.legal-scroll-area::-webkit-scrollbar { width: 6px; }
.legal-scroll-area::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); border-radius: 3px; }
.legal-scroll-area::-webkit-scrollbar-thumb { background: var(--primary-pink); border-radius: 3px; }
.btn-close-legal { margin-top: 0; padding: 10px 30px; font-size: 0.9rem; width: auto; display: block; margin: 0 auto; }

/* --- FOOTER --- */
footer {
    background-color: var(--bg-dark); color: #555; text-align: center;
    padding: 20px; font-size: 0.8rem; margin-top: auto;
}
/* ==========================================================================
   PARCHES DE CORRECCIÓN (PEGAR AL FINAL DEL ARCHIVO)
   ========================================================================== */

/* 1. CORRECCIÓN VISUAL DE LA PALOMITA (CHECKBOX) */
.consent-container input[type="checkbox"] {
    /* Forzamos al navegador a mostrar la casilla estándar */
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    
    /* Dimensiones y color */
    width: 20px !important; 
    height: 20px !important; 
    accent-color: #ff007f !important; /* Color rosa marca */
    
    /* Reset de estilos que podrían estar ocultándola */
    background-color: #fff !important; 
    border: 1px solid #ccc !important;
    margin: 0 !important;
    cursor: pointer;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10;
}

/* 2. CORRECCIÓN BUSCADOR DE PAÍSES (LUPA) */
/* Aplica solo al input que tiene lista desplegable */
input[list="countries_list"] {
    /* Icono de Lupa SVG incrustado (Color Rosa #ff007f) */
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ff007f' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important; 
    background-size: 18px !important; 
    
    /* Espacio a la derecha para que el texto no tape la lupa */
    padding-right: 45px !important; 
}

/* Truco: Hace transparente la flecha negra fea del navegador para dejar solo la lupa */
input[list="countries_list"]::-webkit-calendar-picker-indicator {
    opacity: 0 !important;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    width: 45px;
    height: 100%;
}