<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Create Account - Hamna Sheikh</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <style>
        body {
            background-color: #121212; /* Dark Background */
            color: #ffffff;
            font-family: 'Inter', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }

        .auth-card {
            background-color: #1e1e1e;
            padding: 30px;
            border-radius: 12px;
            width: 100%;
            max-width: 400px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }

        h2 { text-align: center; margin-bottom: 25px; font-weight: 500; }

        .name-row { display: flex; gap: 10px; margin-bottom: 15px; }
        .input-group { margin-bottom: 15px; }

        label { display: block; margin-bottom: 5px; font-size: 0.9rem; color: #bbb; }

        input {
            width: 100%;
            padding: 12px;
            background: #2a2a2a;
            border: 1px solid #333;
            border-radius: 8px;
            color: white;
            box-sizing: border-box;
            outline: none;
        }

        input:focus { border-color: #ffffff; }

        .continue-btn {
            width: 100%;
            padding: 12px;
            background: #ffffff;
            color: #000;
            border: none;
            border-radius: 8px;
            font-weight: bold;
            cursor: pointer;
            margin-top: 10px;
        }

        .divider {
            display: flex;
            align-items: center;
            text-align: center;
            margin: 20px 0;
            color: #555;
        }

        .divider::before, .divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid #333;
        }

        .divider span { padding: 0 10px; font-size: 0.8rem; }

        .social-btn {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            background: transparent;
            border: 1px solid #444;
            border-radius: 8px;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            cursor: pointer;
            transition: 0.3s;
        }

        .social-btn:hover { background: #333; }

        .footer-text { text-align: center; margin-top: 20px; font-size: 0.9rem; color: #888; }
        .footer-text a { color: #fff; text-decoration: none; font-weight: bold; }
    </style>
</head>
<body>

<div class="auth-card">
    <h2>Create your account</h2>
    
    <form action="signup_action.php" method="POST">
        <div class="name-row">
            <div style="flex: 1;">
                <label>First name</label>
                <input type="text" name="fname" placeholder="Your first name" required>
            </div>
            <div style="flex: 1;">
                <label>Last name</label>
                <input type="text" name="lname" placeholder="Your last name" required>
            </div>
        </div>

        <div class="input-group">
            <label>Email</label>
            <input type="email" name="email" placeholder="Your email address" required>
        </div>

        <div class="input-group">
            <label>Password</label>
            <input type="password" name="password" placeholder="Create a password" required>
        </div>

        <button type="submit" class="continue-btn">Continue</button>
    </form>

    <div class="divider"><span>OR</span></div>

    <!-- Social Buttons -->
    <!-- Social Buttons -->
<!-- Google Login Link -->
<a href="https://accounts.google.com/o/oauth2/v2/auth?client_id=<?php echo GOOGLE_CLIENT_ID; ?>&redirect_uri=<?php echo GOOGLE_REDIRECT_URL; ?>&response_type=code&scope=email%20profile" class="social-btn">
    <i class="fab fa-google" style="color: #4285F4;"></i> Continue with Google
</a>
    <button class="social-btn"><i class="fab fa-github"></i> Continue with GitHub</button>
    <button class="social-btn"><i class="fab fa-facebook" style="color: #1877F2;"></i> Continue with Facebook</button>

    <p class="footer-text">Already have an account? <a href="login.php">Sign in</a></p>
</div>

</body>
</html>