<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>Login</title>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
  <style>
    body {
      background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: Arial, sans-serif;
    }
    .login-box {
      background: white;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
      text-align: center;
      width: 100%;
      max-width: 350px;
    }
    .login-btn {
      background-color: #0078d4;
      border: none;
      color: white;
      padding: 12px 20px;
      border-radius: 6px;
      font-size: 16px;
      transition: background 0.3s;
    }
    .login-btn:hover {
      background-color: #005ea2;
    }
  </style>
</head>
<body>
  <div class="login-box">
    <h3 class="mb-4">Welcome to CRM</h3>
    <a href="<?= base_url('auth/mslogin') ?>" class="btn login-btn w-100 mb-2">Login with Microsoft</a>
    <a href="<?= base_url('auth/googlelogin') ?>" class="btn login-btn w-100">Login with Google</a>
  </div>
</body>
</html>
