* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    background: repeating-linear-gradient(45deg, #fff 0 10px, transparent 10px 11px), repeating-linear-gradient(135deg, #fff 0 10px, transparent 10px 11px), linear-gradient(90deg, hsl(39, 100%, 50%), hsl(45, 100%, 60%));background: repeating-linear-gradient(45deg, #fff 0 10px, transparent 10px 11px), repeating-linear-gradient(135deg, #fff 0 10px, transparent 10px 11px), linear-gradient(90deg, hsl(39, 100%, 50%), hsl(45, 100%, 60%));
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
  }
  .login-box {
    background: rgba(255, 165, 0, 0.1);
    border-radius: 16px;
    border: 2px solid orange;
    padding: 40px 30px;
    box-shadow: 0 4px 15px rgba(255,165,0,0.3);
  }
  .login-box img {
    display: block;
    margin: 0 auto 20px auto;
  }
  h2 {
    text-align: center;
    color: #d2691e;
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: 700;
  }
  .textbox {
    margin-bottom: 20px;
    position: relative;
  }
  .textbox input {
    width: 100%;
    padding: 12px 40px 12px 12px;
    font-size: 16px;
    border: 2px solid orange;
    border-radius: 6px;
    background: #fff7e6;
    color: #d2691e;
    font-weight: 600;
    transition: border-color 0.3s ease;
  }
  .textbox input:focus {
    outline: none;
    border-color: #ffbf47;
    background: #fff9f0;
  }
  .textbox input::placeholder {
    color: #ffa500cc;
  }
  .eye-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: orange;
    font-size: 18px;
    user-select: none;
  }
  input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: orange;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  input[type="submit"]:hover {
    background: #ffbf47;
  }
  .alert-container {
    margin-top: 15px;
    display: none;
    text-align: center;
  }
  .alert {
    font-weight: 600;
  }
  .alert-success {
    color: #4CAF50;
  }
  .alert-danger {
    color: #e53935;
  }
  .loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
  }
  .loading-spinner div {
    width: 50px;
    height: 50px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid orange;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  @keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
  }
  .back_home {
    text-align: center;
    margin-top: 12px;
  }
  .back_home a {
    text-decoration: none;
    color: #d2691e;
    font-weight: 600;
  }
  .back_home a:hover {
    color: #ffbf47;
  }
  /* CAPTCHA Container */
  .captcha-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 8px;
  }
  #captcha-question {
    background: linear-gradient(45deg, orange, yellow);
    color: #fff;
    font-weight: 800;
    font-size: 28px;
    font-family: 'Courier New', Courier, monospace;
    padding: 8px 16px;
    border-radius: 6px;
    user-select: none;
    letter-spacing: 4px;
    min-width: 160px;
    text-align: center;
    box-shadow: 0 0 5px rgba(255,140,0,0.6);
  }
  #refreshCaptcha {
    background: orange;
    border: none;
    color: white;
    font-size: 22px;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  #refreshCaptcha:hover {
    background: #ffbf47;
  }
  #captcha-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid orange;
    border-radius: 6px;
    background: #fff7e6;
    color: #d2691e;
    letter-spacing: 3px;
  }
  #captcha-input:focus {
    outline: none;
    border-color: #ffbf47;
    background: #fff9f0;
  }

  /* Responsive */
  @media (max-width: 480px) {
    .login-box {
      padding: 30px 20px;
    }
    #captcha-question {
      font-size: 24px;
      min-width: 140px;
      letter-spacing: 3px;
      padding: 6px 12px;
    }
    #refreshCaptcha {
      font-size: 20px;
      padding: 8px 12px;
    }
  }