/* Global resets and font settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background: radial-gradient(circle at 50% 50%, #1b1b1b 0%, #000 100%);
    color: #fff;
    font-family: "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Container centering */
  .login-container {
    width: 100%;
    max-width: 400px;
    padding: 0 1rem;
  }
  
  /* Card styling */
  .login-card {
    background-color: #111;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    position: relative;
  }
  
  /* Back arrow (optional) */
  .arrow-back {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.2rem;
    cursor: pointer;
  }
  
  /* Title */
  .login-card h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
  }
  
  /* Input groups */
  .input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
  }
  
  .input-group label {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
  }
  
  .input-group input {
    padding-right: 40px;
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    background: #333;
    color: #fff;
    font-size: 0.95rem;
  }
  
  .input-group input::placeholder {
    color: #aaa;
  }
  
  /* Sign In button */
  .sign-in-btn {
    width: 100%;
    padding: 0.8rem;
    margin-top: 0.5rem;
    border: none;
    border-radius: 6px;
    background-color: #4f46e5;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .sign-in-btn:hover {
    background-color: #3c35b1;
  }
  
  /* Sign in with Apple button */
  .apple-btn {
    width: 100%;
    padding: 0.8rem;
    margin-top: 1rem;
    border: none;
    border-radius: 6px;
    background-color: #fff;
    color: #000;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
  }
  
  .apple-btn:hover {
    opacity: 0.9;
  }
  
  /* Sign up text */
  .signup-text {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #bbb;
  }
  
  .signup-text a {
    color: #4f46e5;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .signup-text a:hover {
    color: #3c35b1;
  }
  
  /* Logo styling */
  .logo-container {
    text-align: center;
    margin-bottom: 1rem;
    width: 100%;
  }
  
  .login-logo {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto;
  }
  
  .password-input-container {
    position: relative;
    width: 100%;
  }
  
  .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1.2rem;
    transition: color 0.2s ease;
  }
  
  .toggle-password:hover {
    color: #fff;
  }

  /* Custom Alert/Message UI */
  .message-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 20px;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .message-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .message-content {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    width: 100%;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .message-overlay.show .message-content {
    transform: translateY(0);
  }

  .message-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
  }

  .message-icon.info { color: #4f46e5; }
  .message-icon.success { color: #10b981; }
  .message-icon.error { color: #ef4444; }

  .message-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
  }

  .message-text {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .message-btn {
    background: #333;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .message-btn:hover {
    background: #444;
  }

  .message-btn.primary {
    background: #4f46e5;
  }

  .message-btn.primary:hover {
    background: #3c35b1;
  }
  