/* login.css - clone of register.css with updated selectors */

:root {
    --primary: #3B82F6;
    --secondary: #F472B6;
    --background: #0f172a;
    --text: #ffffff;
  }
  
  html, body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    min-height: calc(var(--vh, 1vh) * 100);
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden; /* prevent scroll */
    font-family: 'Segoe UI', sans-serif;
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  .login-container {
    text-align: center;
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .ai-name {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    animation: pulse 2s infinite;
    margin-bottom: 1rem;
  }
  
  @keyframes pulse {
    0% { text-shadow: 0 0 0px #fff; }
    50% { text-shadow: 0 0 20px #fff; }
    100% { text-shadow: 0 0 0px #fff; }
  }
  
  .login-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  .login-card h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  
  form input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 16px; /* Prevent mobile zoom */
  }
  
  form input::placeholder {
    color: #ddd;
  }
  
  .password-wrapper {
    position: relative;
  }
  
  .eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2rem;
    color: white;
  }
  
  form button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    width: 100%;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  form button:hover {
    background-color: #2563eb;
  }
  
  form p {
    margin-top: 1rem;
  }
  
  form a {
    color: var(--secondary);
    text-decoration: underline;
  }
  
  @media (max-width: 480px) {
    .login-card {
      padding: 1.5rem;
    }
  
    .ai-name {
      font-size: 2rem;
    }
  }
 