/* Login Form Container */
  .login-card {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem auto;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    color: white;
  }

  /* Gradient Top Border */
  .login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
    to bottom,
    #66FF33 0%,
    #2BFF00 30%,
    #00A300 100%
);
    border-radius: 15px 15px 0 0;
  }

  /* Title */
  .login-title {
    text-align: center;
    font-size: 1.8rem;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    background: linear-gradient(
    to bottom,
    #FF6B6B 0%,
    #FF3B3B 30%,
    #D60000 60%,
    #A80000 100%
);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
  }

  /* Form Groups */
  .login-group {
    margin-bottom: 1.2rem;
  }

  .login-group.tight {
    margin-bottom: 1.2rem;
  }

  /* Input Fields */
  .login-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #404040;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
  }

  .login-input:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
    outline: none;
  }

  .login-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }

  /* Password Field Container */
  .password-field {
    position: relative;
  }

  /* Password Toggle Button */
  .password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    padding: 5px;
    transition: color 0.3s;
  }

  .password-toggle:hover {
    color: #ffd700;
  }

  /* Validation Messages */
  .validation-msg {
    color: #ff4500;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
  }

  .validation-msg.hide {
    display: none;
  }

  /* Forgot Password Link */
  .forgot-link {
    color: #ffd700;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    display: inline-block;
    margin-top: 8px;
  }

  .forgot-link:hover {
    color: #ffffff;
    text-decoration: underline;
  }

  /* Captcha Container */
  .captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
  }

  .captcha-input {
    width: 120px;
    padding: 14px 16px;
    border: 2px solid #404040;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.3s ease;
  }

  .captcha-input:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
    outline: none;
  }

  .captcha-image {
    height: 50px;
    border-radius: 6px;
    background: white;
    padding: 5px;
    border: 2px solid #404040;
  }

  /* Reload Button */
  .reload-btn {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #ffd700;
    border: 2px solid #ffd700;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 80px;
  }

  .reload-btn:hover {
    background: #ffd700;
    color: #000;
    transform: translateY(-2px);
  }

  /* Action Buttons Container */
  .login-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 1.5rem;
  }

  /* Gold Button (Login) */
  .btn-gold {
    flex: 1;
    background: linear-gradient(
    to bottom,
    #66FF33 0%,
    #2BFF00 30%,
    #00A300 100%
);
    color: black;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
  }

  .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
  }

  /* Copper Button (Register) */
  .btn-copper {
    flex: 1;
    background: linear-gradient(
    to bottom,
    #FF6B6B 0%,
    #FF3B3B 30%,
    #D60000 60%,
    #A80000 100%
);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(240, 0, 24, 0.3);
  }

  .btn-copper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 0, 24, 0.4);
  }

  /* Loading State */
  .btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
  }

  /* Validation States */
  .validation-error .login-input {
    border-color: #ff2200;
    box-shadow: 0 0 0 2px rgba(240, 0, 24, 0.2);
  }

  .validation-pass .login-input {
    border-color: #2ecc71;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
  }

  /* Screen Reader Only */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .forgot-wrap {
    text-align: right;
    margin-top: 8px;
  }