/* Base & Background */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #2b1818;
  color: #fff;
  overflow-x: hidden;
}

.background-binary {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: url("img/bg.png") repeat;

}

.swal-text {
  text-align: center !important;
}

/* Layout */
.container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 20px;
}

.signup-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.signup-right {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-left: 3vw;
}

/* Form */
.signup-form {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.input-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 15px;
  color: #ccc;
  padding-left: 4px;
}

.text-input {
  background: none;
  border: none;
  border-bottom: 2px solid orange;
  padding: 12px 10px;
  color: white;
  font-size: 16px;
  outline: none;
}

.otp-input {
  background: none;
  border: 2px solid orange;
  border-radius: 999px;
  padding: 14px 20px;
  color: white;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Inline-link positioning */
.input-row {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.input-row .text-input,
.input-row .otp-input {
  padding-right: 110px;
  /* make room for the link */
  flex: 1;
}

.inline-link {
  position: absolute;
  right: 0;
  top: 135%;
  transform: translateY(-50%);
  color: orange;
  font-size: 15px;
  cursor: pointer;
  border-bottom: 1px solid orange;
  padding-left: 8px;
}

.inline-link:hover {
  color: #f5a623;
}

/* Button */
.btn-green {
  margin-top: 10px;
  background: #fbb532;
  color: #111;
  padding: 16px;
  font-size: 18px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-green:hover {
  background: #ffca47;
}

/* Divider */
.divider {
  width: 2px;
  background: #fff;
  height: 80%;
  margin: 0 3vw;
  opacity: 0.3;
}

/* Right Panel */
.portal-title {
  color: #fbb532;
  font-size: 32px;
  font-weight: bold;
  margin: 0;
}

.signup-title {
  font-size: 22px;
  margin: 8px 0 24px;
}

.back-login {
  color: #fbb532;
  font-size: 16px;
  text-decoration: underline;
  cursor: pointer;
}

.back-login:hover {
  color: #f5a623;
}

.captcha {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 960px) {
  .container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .divider {
    width: 60%;
    height: 2px;
    margin: 40px 0;
  }

  .signup-right {
    align-items: center;
    text-align: center;
    margin-left: 0;
  }
}

.logo-container {
  margin-top: auto;
  padding-top: 40px;
}

.logo-img {
  width: 260px;
  max-width: 100%;
}

@media (max-width: 960px) {
  .logo-container {
    padding-top: 20px;
  }
}