* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "SF Pro Display";
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SF-Pro-Display-Thin.otf') format('woff2');
  font-weight: 300;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SF-Pro-Display-Regular.otf') format('woff2');
  font-weight: 400;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SF-Pro-Display-Medium.otf') format('woff2');
  font-weight: 500;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SF-Pro-Display-Semibold.otf') format('woff2');
  font-weight: 600;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SF-Pro-Display-Bold.otf') format('woff2');
  font-weight: 600;
}

.main-content {
  padding: 40px;
  max-height: 100vh;
}

.container {
  max-width: 86%;
  margin: auto;
}

.login-content {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background: #ffffff;
  margin-left: 20px;
}

.login-container {
  background: #ffffff;
  width: 100%;
  max-width: 280px;
  margin-bottom: 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.login-img {
  max-width: 500px;
}

.login-img img {
  background-size: contain;
  width: 100%;
}

.form-title {
  font-size: 2.6rem;
  color: #3c4754;
  margin-bottom: 25px;
  font-weight: 300;
}

.form-group {
  margin-bottom: 10px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #3c4754;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
}
.error-message {
  color: red;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 5px;
}
.form-group input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #ebf0f0;
}

.form-group input:focus-visible {
  outline: 0;
}

.login-btn {
  width: 100%;
  padding: 12px;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 18px 0 0;
  background: #ff7700;
  text-transform: uppercase;
}

.login-btn:hover {
  transform: translateY(-2px);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  color: #3c4754;
  font-size: 0.8rem;
  bottom: 10px;
  position: relative;
  letter-spacing: 0.3px;
}

.footer-text {
  color: #ff7700;
}

.circle {
  position: absolute;
  top: -84%;
  left: -17.5%;
  width: 860px;
  height: 860px;
  border-radius: 50%;
  border: 1px solid #ebf0f0;
}
.login-form {
  z-index: 999;
  position: relative;
}

/* Popup warning modal */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.popup-box {
  background: #fff;
  padding: 25px 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 320px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  font-family: Arial, sans-serif;
}

.popup-box h3 {
  color: #d9534f;
  margin-bottom: 15px;
  font-weight: 600;
}

.popup-box button {
  background-color: #d9534f;
  color: white;
  border: none;
  padding: 8px 16px;
  margin-top: 10px;
  border-radius: 4px;
  cursor: pointer;
}

.popup-box button:hover {
  background-color: #c9302c;
}
button.toggle-button {
  position: absolute;
  right: 10px;
  top: 58%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: #718096;
}
@media (max-width: 992px) {
  .main-content {
    padding: 20px 15px;
  }

  .login-content {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }

  .login-container {
    max-width: 100%;
    width: 100%;
  }

  .form-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .login-btn {
    font-size: 1rem;
    padding: 10px;
  }

  .form-group input {
    font-size: 0.95rem;
  }

  .login-img {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
  }

  .login-img img {
    width: 100%;
    border-radius: 10px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    margin-top: 20px;
  }

  .logo-img img {
    width: 130px;
  }

  .circle {
    display: none;
  }
}
