7777g / payment.html
Rayan545454's picture
ابغا تسجيل الان بعدها الايميل تم السداد و الاسم الرقم الجوال بعدها الرقم السري - Initial Deployment
07dbb7b verified
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>السداد</title>
<link rel="stylesheet" href="https://cdn.tailwindcss.com">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#10B981',
secondary: '#065F46',
accent: '#F59E0B'
}
}
}
}
</script>
<link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Tajawal', sans-serif;
background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}
</style>
</head>
<body class="min-h-screen flex items-center justify-center p-4">
<div class="w-full max-w-md">
<div class="bg-white rounded-2xl shadow-xl p-8 border border-green-100">
<div class="text-center mb-8">
<div class="mx-auto bg-amber-100 rounded-full p-4 w-20 h-20 flex items-center justify-center mb-4">
<svg xmlns="http://www.w3.org/2000/svg" class="h-12 w-12 text-amber-600" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
</div>
<h1 class="text-2xl font-bold text-gray-800">السداد</h1>
<p class="text-gray-600 mt-2">يرجى إتمام عملية السداد لإكمال التسجيل</p>
</div>
<div class="bg-green-50 rounded-xl p-6 mb-6 border border-green-200">
<div class="flex justify-between items-center mb-2">
<span class="text-gray-600">رسوم التسجيل:</span>
<span class="font-bold text-lg">150 ريال</span>
</div>
<div class="flex justify-between items-center">
<span class="text-gray-600">الضريبة:</span>
<span class="font-bold">15 ريال</span>
</div>
<div class="border-t border-green-200 my-3"></div>
<div class="flex justify-between items-center">
<span class="text-gray-800 font-bold">المجموع:</span>
<span class="text-green-700 font-bold text-xl">165 ريال</span>
</div>
</div>
<form id="paymentForm" class="space-y-6">
<div>
<label class="block text-sm font-medium text-gray-700 mb-2">رقم البطاقة</label>
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z" />
</svg>
</div>
<input type="text" placeholder="1234 5678 9012 3456" required class="w-full pr-10 pl-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500 outline-none transition">
</div>
</div>
<div class="grid grid-cols-2 gap-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-2">تاريخ الانتهاء</label>
<input type="text" placeholder="MM/YY" required class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500 outline-none transition">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-2">CVV</label>
<input type="text" placeholder="123" required class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500 outline-none transition">
</div>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-2">اسم حامل البطاقة</label>
<input type="text" required class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500 outline-none transition">
</div>
<div>
<button type="submit" class="w-full bg-green-600 hover:bg-green-700 text-white font-bold py-3 px-4 rounded-lg transition duration-300 transform hover:scale-105">
تأكيد السداد
</button>
</div>
</form>
<div class="mt-6 text-center">
<p class="text-gray-600 text-sm">
<a href="index.html" class="text-green-600 hover:text-green-800 font-medium">الرجوع للخطوة السابقة</a>
</p>
</div>
</div>
</div>
<script>
document.getElementById('paymentForm').addEventListener('submit', function(e) {
e.preventDefault();
// هنا يتم الانتقال إلى صفحة تأكيد السداد
window.location.href = 'confirmation.html';
});
</script>
</body>
</html>