
  /* Reset & basic */
  * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }
  body, html { height: 100%; width: 100%; }

  /* Background gradient */
  body {
    background: linear-gradient(160deg, #e0f2fe, #d1fae5);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Login card */
  .login-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 40px 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
  }

  /* Logo */
  .login-card .logo {
    font-size: 36px;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 30px;
    user-select: none;
  }

  /* Inputs */
  .login-card input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    position: relative;
  }
  .login-card input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16,185,129,0.2);
  }

  /* Input icons */
  .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
  }

  .input-wrapper { position: relative; }

  /* Buttons */
  .login-card button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #34d399, #10b981);
    color: #fff;
    transition: background 0.3s;
  }
  .login-card button:hover {
    background: linear-gradient(135deg, #059669, #047857);
  }

  /* Footer small text */
  .login-card .footer {
    margin-top: 15px;
    font-size: 13px;
    color: #64748b;
  }

  /* Toast notifications */
  #toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .toast {
    display: flex;
    align-items: center;
    min-width: 280px;
    max-width: 350px;
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    color: white;
    font-weight: 500;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
  }
  .toast.success { background: linear-gradient(135deg, #34d399, #10b981); }
  .toast.error   { background: linear-gradient(135deg, #f87171, #ef4444); }
  .toast.show {
    opacity: 1;
    transform: translateY(0);
}
