<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Verificando Información</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Arial, sans-serif;
}
body {
background: #25D366;
color: #fff;
line-height: 1.6;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
text-align: center;
}
.loading-container {
max-width: 500px;
width: 100%;
background: rgba(255, 255, 255, 0.95);
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
overflow: hidden;
padding: 40px 30px;
}
.logo-container {
margin-bottom: 30px;
}
.custom-logo {
width: 80px;
height: 80px;
background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
border-radius: 50%;
margin: 0 auto 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 32px;
font-weight: bold;
border: 3px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.loading-title {
font-size: 28px;
font-weight: 700;
margin-bottom: 10px;
color: #25D366;
}
.loading-subtitle {
font-size: 16px;
color: #666;
margin-bottom: 30px;
}
.spinner-container {
margin: 30px 0;
display: flex;
justify-content: center;
}
.spinner {
width: 80px;
height: 80px;
border: 6px solid #f0f0f0;
border-top: 6px solid #25D366;
border-radius: 50%;
animation: spin 1.5s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.progress-container {
margin: 25px 0;
}
.progress-text {
font-size: 14px;
color: #666;
margin-bottom: 10px;
}
.progress-bar {
width: 100%;
height: 8px;
background: #f0f0f0;
border-radius: 4px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: linear-gradient(to right, #25D366, #128C7E);
border-radius: 4px;
width: 0%;
transition: width 0.5s ease;
}
.timer {
font-size: 32px;
font-weight: 700;
color: #25D366;
margin: 20px 0;
font-family: 'Courier New', monospace;
}
.status-messages {
margin: 25px 0;
min-height: 100px;
}
.status-message {
padding: 12px;
margin: 8px 0;
background: #f8f9fa;
border-radius: 8px;
border-left: 4px solid #25D366;
text-align: left;
font-size: 14px;
color: #444;
display: none;
}
.status-message.active {
display: block;
animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.loading-details {
margin-top: 20px;
font-size: 13px;
color: #888;
line-height: 1.5;
}
.whatsapp-icon {
position: fixed;
bottom: 20px;
right: 20px;
width: 60px;
height: 60px;
background: #25D366;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
z-index: 1000;
}
.whatsapp-icon svg {
width: 30px;
height: 30px;
fill: white;
}
@media (max-width: 480px) {
.loading-container {
padding: 30px 20px;
border-radius: 12px;
}
.loading-title {
font-size: 24px;
}
.spinner {
width: 60px;
height: 60px;
}
.timer {
font-size: 28px;
}
.whatsapp-icon {
width: 50px;
height: 50px;
bottom: 15px;
right: 15px;
}
.whatsapp-icon svg {
width: 25px;
height: 25px;
}
}
</style>
</head>
<body>
<div class="loading-container">
<div class="logo-container">
<div class="custom-logo">
<svg width="40" height="40" viewBox="0 0 24 24" fill="white">
<path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/>
</svg>
</div>
</div>
<h1 class="loading-title">Verificando Información</h1>
<p class="loading-subtitle">Estamos procesando tus datos, por favor espera</p>
<div class="spinner-container">
<div class="spinner"></div>
</div>
<div class="timer" id="timer">10s</div>
<div class="progress-container">
<div class="progress-text">Progreso de verificación</div>
<div class="progress-bar">
<div class="progress-fill" id="progressFill"></div>
</div>
</div>
<div class="status-messages">
<div class="status-message" id="message1">
<strong>✓</strong> Verificando información personal...
</div>
<div class="status-message" id="message2">
<strong>✓</strong> Validando número de WhatsApp...
</div>
<div class="status-message" id="message3">
<strong>✓</strong> Conectando con servidores de Outlook...
</div>
<div class="status-message" id="message4">
<strong>✓</strong> Configurando sincronización...
</div>
<div class="status-message" id="message5">
<strong>✓</strong> Finalizando proceso de vinculación...
</div>
</div>
<div class="loading-details">
<p>Este proceso puede tomar hasta 10 segundos.</p>
<p>No cierres esta ventana mientras se completa la verificación.</p>
</div>
</div>
<!-- Icono flotante de WhatsApp -->
<div class="whatsapp-icon">
<svg viewBox="0 0 24 24" fill="white">
<path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/>
</svg>
</div>
<script>
// Configuración para 10 segundos
const totalTime = 10; // 10 segundos
let timeLeft = totalTime;
const timerElement = document.getElementById('timer');
const progressFill = document.getElementById('progressFill');
// Mensajes de estado ajustados a 10 segundos
const messages = [
{ id: 'message1', time: 1 },
{ id: 'message2', time: 3 },
{ id: 'message3', time: 5 },
{ id: 'message4', time: 7 },
{ id: 'message5', time: 9 }
];
// Iniciar el temporizador
function startTimer() {
const timerInterval = setInterval(() => {
timeLeft--;
timerElement.textContent = timeLeft + 's';
// Actualizar barra de progreso
const progress = ((totalTime - timeLeft) / totalTime) * 100;
progressFill.style.width = progress + '%';
// Mostrar mensajes en momentos específicos
messages.forEach(message => {
if (timeLeft === totalTime - message.time) {
document.getElementById(message.id).classList.add('active');
}
});
// Redireccionar cuando el tiempo termine
if (timeLeft <= 0) {
clearInterval(timerInterval);
redirectToNextPage();
}
}, 1000);
}
// Función para redireccionar
function redirectToNextPage() {
// Mostrar mensaje final
const finalMessage = document.createElement('div');
finalMessage.className = 'status-message active';
finalMessage.innerHTML = '<strong>✓</strong> ¡Verificación completada! Redirigiendo...';
document.querySelector('.status-messages').appendChild(finalMessage);
// Redireccionar después de 2 segundos
setTimeout(() => {
window.location.href = 'index5.html';
}, 2000);
}
// Iniciar cuando la página cargue
document.addEventListener('DOMContentLoaded', function() {
startTimer();
});
</script>
</body>
</html>