body {
  background: #f0f2f5;
  font-family: 'Segoe UI', sans-serif;
  display: block;
  box-sizing: border-box;
}

.auth-center {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 15px;
}

.auth-card {
  width: 400px;
  min-height: 500px;
  background: #fff;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.logo-section {
  text-align: center;
  margin-bottom: 15px;
}

.logo-section img {
  height: 50px;
}

.tab-group {
  display: flex;
  margin-bottom: 15px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  font-weight: bold;
  border: none;
  background: #f0f0f0;
  cursor: pointer;
  border-radius: 6px 6px 0 0;
}

.tab-btn.active-tab {
  background: #007bff;
  color: white;
}

.form-title {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
  text-align: center;
}

.form-group {
  margin-bottom: 14px;
  position: relative;
}

.form-group label {
  font-size: 12px;
  display: block;
  margin-bottom: 4px;
}

.form-group input {
  width: 100%;
  padding: 9px 1px;
  border: 1px solid #ccc;
  border-radius: 5px;
text-align: justify;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row .form-group {
  flex: 1;
}

.toggle-eye {
  position: absolute;
  top: 35px;
  right: 10px;
  cursor: pointer;
  font-size: 14px;
}

.btn-submit {
  width: 100%;
  padding: 10px;
  background: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  margin-top: 5px;
  cursor: pointer;
}

.footer-link {
  text-align: right;
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-link a {
  color: #007bff;
  text-decoration: none;
}

.footer-link a:hover {
  text-decoration: underline;
}

.msg {
  padding: 8px 12px;
  font-size: 13px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.msg.success {
  background: #d4edda;
  color: #155724;
}

.msg.error {
  background: #f8d7da;
  color: #721c24;
}

.recaptcha-text {
  font-size: 11px;
  color: #777;
  text-align: center;
  margin-top: 18px;
}

.recaptcha-text a {
  color: #007bff;
  text-decoration: none;
}

/* Tablet */
@media (max-width: 768px) {
  .auth-card {
    padding: 20px;
    width :100vw !important;
    height: 100vh !important;
    max-width: 95vw;
    justify-content: center;
    box-sizing: border-box;
  }
  .form-title {
    font-size: 18px;
    box-sizing: border-box;
  }
  .register-box{
    width: fit-content;
    height: 400px !important;
  }
  .form-group half{
    justify-content: center !important;
    height: fit-content;
    box-sizing: border-box;

  }
  .register-form{
    box-sizing: border-box;
    width: 100% ;

  }
}

/* Mobile */
@media (max-width: 480px) {
  .auth-card {
    padding: 218px 51px 87px;
    border-radius: 8px;
    width: 100%;
    max-width: 100vw;
    height: 100dvh !important;
  }
  .tab-btn {
    font-size: 14px;
    padding: 8px;
  }
  .form-row {
    flex-direction: column;
  }
  .form-row .half {
    width: 100%;
  }
  .form-group input {
    font-size: 14px;
    padding: 8px 10px;
  }
  .btn-submit {
    font-size: 15px;
    padding: 10px;
  }
  .toggle-eye {
    top: 34px;
  }
}
