* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #101827;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: white;
  font-size: 0.875rem;
}

/* -------- Logo Banner ---------- */
.logo-banner {
  margin: auto;
  width: 100%;
  max-width: 450px;
  min-height: 120px;
  background-image: url('/images/company.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* -------- Form Container ---------- */
.form-container {
  background-color: #1f2937;
  max-width: 450px;
  margin: 4% auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.form-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

/* -------- Input Fields ---------- */
.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.input-group input {
  background-color: #101827;
  color: white;
  border: 1px solid white;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
  font-size: 14px;
}

.input-group input:focus {
  outline: none;
  border-color: #fbc02d;
}

/* -------- Password Visibility ---------- */
.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #fbc02d;
}

/* -------- Phone Input ---------- */
.phone-input {
  display: flex;
  align-items: center;
  border: 1px solid white;
  border-radius: 4px;
  overflow: hidden;
  background-color: #101827;
}

.country-code {
  background-color: #fbc02d;
  color: black;
  padding: 10px 12px;
  font-size: 14px;
  border-right: 1px solid white;
  white-space: nowrap;
}

.phone-input input {
  flex: 1;
  padding: 10px;
  border: none;
  background-color: #101827;
  color: white;
  font-size: 14px;
}

.phone-input input:focus {
  outline: none;
}

/* -------- Links ---------- */
.forgot-password {
  text-align: right;
  margin-top: -10px;
  margin-bottom: 16px;
}

.forgot-password a {
  color: red;
  text-decoration: none;
  font-size: 14px;
}

.login-link, .register-link {
  text-align: center;
  font-size: 14px;
}

.login-link a, .register-link a {
  color: #fbc02d;
  text-decoration: none;
  font-weight: bold;
}

/* -------- Buttons ---------- */
.submit-btn {
  background-color: #fbc02d;
  color: black;
  border: none;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #ffd54f;
}

/* -------- Divider ---------- */
.divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  gap: 10px;
  color: white;
}

.divider .line {
  flex: 1;
  height: 1px;
  background-color: white;
}

/* -------- Agreement ---------- */
.agreement {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  font-size: 14px;
}

.agreement input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: rgb(30, 201, 30);
}

.agreement a {
  color: red;
  text-decoration: none;
}

.error-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    background: linear-gradient(135deg, #eb2020, #f82626);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(224, 59, 59, 0.4);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    z-index: 9999;
    animation: popIn 0.3s ease-out;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  @keyframes popIn {
    0% {
      opacity: 0;
      transform: translate(-50%, -60%) scale(0.8);
    }
    100% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  }