    body {
      margin: 0;
      padding: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(145deg, #e3e9f0, #f9fbff);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    .login-container {
      background: rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(15px);
      border-radius: 20px;
      padding: 40px 30px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      max-width: 400px;
      width: 90%;
      border: 1px solid rgba(59, 59, 59, 0.082);
    }

    .login-container h2 {
      text-align: center;
      color: #111;
      margin-bottom: 10px;
    }

    .login-container h3 {
      text-align: center;
      font-weight: 400;
      margin-bottom: 30px;
      color: #333;
    }

    .login_form label {
      font-weight: 600;
      color: #333;
      display: block;
      margin-bottom: 6px;
    }

    .login_form input {
      width: 100%;
      padding: 12px 15px;
      border: none;
      border-radius: 14px;
      background: #f0f4f8;
      margin-bottom: 20px;
      box-shadow: inset 4px 4px 10px #dce0e6, inset -4px -4px 10px #ffffff;
      font-size: 15px;
      transition: all 0.2s ease-in-out;
      align-items: center;
    }

    .login_form input:focus {
      outline: none;
      box-shadow: inset 2px 2px 6px #ccc, inset -2px -2px 6px #fff, 0 0 0 3px rgba(79, 129, 199, 0.18);
    }

    .submit {
      background: linear-gradient(to right, #4f81c7, #6ea4f7);
      color: white;
      border: none;
      padding: 12px;
      font-size: 16px;
      border-radius: 14px;
      cursor: pointer;
      width: 100%;
      box-shadow: 0 4px 14px rgba(79, 129, 199, 0.4);
      transition: all 0.3s ease-in-out;
    }

    .submit:hover {
      transform: scale(1.03);
      background: linear-gradient(to right, #3a6cb0, #5b8ce5);
    }

    .submit:focus-visible {
      outline: 3px solid rgba(79, 129, 199, 0.32);
      outline-offset: 2px;
    }

    .login-links {
      text-align: center;
      margin-top: 20px;
    }

    .login-links a {
      color: #4f81c7;
      text-decoration: none;
      display: block;
      margin: 6px 0;
    }

    .login-links a:hover {
      text-decoration: underline;
    }

    p.error {
      color: #b30000;
      text-align: center;
      margin-bottom: 20px;
    }

    .popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.popup-content h2 {
  margin-top: 0;
}

.popup-content button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #0055aa;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

@media (max-width: 768px) {
  body {
    min-height: 100dvh;
    padding: 20px;
  }

  .login-container {
    width: 100%;
    max-width: 420px;
    padding: 28px 22px;
  }

  .login-container h2 {
    font-size: 1.45rem;
    line-height: 1.2;
  }

  .login-container h3 {
    font-size: 1.15rem;
    margin-bottom: 22px;
  }

  .login_form label {
    font-size: 0.95rem;
  }

  .login_form input {
    min-height: 46px;
    font-size: 16px;
    margin-bottom: 16px;
  }

  .submit {
    min-height: 48px;
    font-size: 1rem;
  }

  .login-links a {
    line-height: 1.35;
    padding: 4px 0;
    overflow-wrap: anywhere;
  }

  p.error {
    line-height: 1.45;
  }
}

@media (max-width: 480px) {
  body {
    align-items: flex-start;
    padding: 16px;
    padding-top: 8vh;
  }

  .login-container {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .login-container h2 {
    font-size: 1.3rem;
  }
}
