<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  <title>Login - Golden Yields</title>

  <!-- External Resources -->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"/>
  <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap" rel="stylesheet">

  <style>
    * {
      box-sizing: border-box;
      font-family: 'Poppins', sans-serif;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent;
    }

    html, body {
      height: 100%;
      width: 100%;
      overflow-x: hidden;
      background: #1a2f38; /* স্ক্রিনশটের মতো ডার্ক থিম কালার */
    }

    body {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }

    .login-container {
      width: 100%;
      max-width: 380px;
      text-align: center;
      color: #fff;
    }

    /* লোগো সেকশন - বর্ডার ও শ্যাডো রিমুভ করা হয়েছে */
    .logo-container {
      background: rgba(255, 255, 255, 0.04); /* লোগোর নিচে হালকা আভা */
      padding: 35px 20px;
      border-radius: 20px;
      margin-bottom: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .header-img {
      width: 80%;
      height: auto;
      /* সব ধরণের বর্ডার এবং শ্যাডো ডিলিট করা হয়েছে */
      border: none !important;
      outline: none !important;
      box-shadow: none !important; 
      filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.4)); /* প্রিমিয়াম ফিল দেওয়ার জন্য */
    }

    .welcome-section h2 {
      font-size: 28px;
      font-weight: 600;
      margin-bottom: 5px;
      color: #ffffff;
    }

    .welcome-section p {
      font-size: 14px;
      margin-bottom: 30px;
      color: rgba(255,255,255,0.7);
    }

    /* ইনপুট গ্রুপ */
    .input-group {
      text-align: left;
      margin-bottom: 18px;
    }

    .input-group label {
      display: block;
      font-size: 13px;
      margin-bottom: 8px;
      margin-left: 5px;
      color: rgba(255,255,255,0.8);
    }

    .input-box {
      position: relative;
      display: flex;
      align-items: center;
    }

    .input-box i {
      position: absolute;
      left: 15px;
      color: #ff8c00; /* আইকন কালার লোগোর সাথে মিল রেখে */
      font-size: 16px;
    }

    .input-box input {
      width: 100%;
      padding: 13px 15px 13px 48px;
      background: rgba(255, 255, 255, 0.08); /* ডার্ক ট্রান্সপারেন্ট ইনপুট */
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      color: #fff;
      font-size: 16px;
      outline: none;
      transition: 0.3s;
    }

    .input-box input:focus {
      border-color: #ff8c00;
      background: rgba(255, 255, 255, 0.12);
    }

    .input-box .eye-toggle {
      position: absolute;
      right: 15px;
      cursor: pointer;
      color: rgba(255,255,255,0.5);
    }

    /* পাসওয়ার্ড ভুলে গেছেন */
    .forgot-link {
      text-align: right;
      margin-bottom: 30px;
    }

    .forgot-link a {
      color: rgba(255,255,255,0.7);
      text-decoration: none;
      font-size: 13px;
    }

    /* লগইন বাটন - কোরাল/অরেঞ্জ গ্রেডিয়েন্ট */
    .login-btn {
      width: 100%;
      padding: 15px;
      background: linear-gradient(90deg, #ff7e5f, #ff4b2b); 
      border: none;
      border-radius: 12px;
      color: #fff;
      font-size: 17px;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(255, 75, 43, 0.3);
      text-transform: uppercase;
      margin-bottom: 25px;
      transition: 0.3s;
    }

    .login-btn:active {
      transform: scale(0.98);
    }

    /* সাইন আপ সেকশন */
    .signup-section {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 12px;
      font-size: 14px;
    }

    .signup-btn {
      color: #ff8c00;
      text-decoration: none;
      font-weight: 600;
      background: rgba(255, 255, 255, 0.05);
      padding: 6px 15px;
      border-radius: 10px;
      border: 1px solid rgba(255, 140, 0, 0.3);
    }
  </style>
</head>
<body>

<div class="login-container">
  <form id="loginForm" method="POST" action="<?php echo e(url('login')); ?>">
    <?php echo csrf_field(); ?>

    <!-- লোগো বক্স -->
    <div class="logo-container">
      <img src="/20260511_164931 (1).png" alt="GoldenYields" class="header-img">
    </div>

    <div class="welcome-section">
      <h2>Welcome Back</h2>
      <p>Please enter your details</p>
    </div>

    <!-- মোবাইল নম্বর -->
    <div class="input-group">
      <label>Mobile Number</label>
      <div class="input-box">
        <i class="fa-solid fa-phone"></i>
        <input type="tel" name="phone" placeholder="01XXX XXXXXX" required autocomplete="off">
      </div>
    </div>

    <!-- পাসওয়ার্ড -->
    <div class="input-group">
      <label>Password</label>
      <div class="input-box">
        <i class="fa-solid fa-lock"></i>
        <input type="password" id="password" name="password" placeholder="••••••••" required>
        <i class="fa-solid fa-eye eye-toggle" id="eyeIcon" onclick="togglePassword()"></i>
      </div>
    </div>

    <div class="forgot-link">
      <a href="#">Forgot Password?</a>
    </div>

    <button type="submit" class="login-btn">LOG IN</button>

    <!-- সাইন আপ -->
    <div class="signup-section">
      <span>Don't have an account?</span>
      <a href="/register" class="signup-btn">Sign Up</a>
    </div>

  </form>
</div>

<script>
  function togglePassword() {
    const passInput = document.getElementById('password');
    const eyeIcon = document.getElementById('eyeIcon');
    if (passInput.type === 'password') {
      passInput.type = 'text';
      eyeIcon.classList.replace('fa-eye', 'fa-eye-slash');
    } else {
      passInput.type = 'password';
      eyeIcon.classList.replace('fa-eye-slash', 'fa-eye');
    }
  }
</script>

</body>
</html><?php /**PATH /home/goldenyi/public_html/resources/views/app/auth/login.blade.php ENDPATH**/ ?>