* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #134f7d;
  color: #fff;
}

.login-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 16px;
}

/* Logo */
.logo-wrap {
  background: #0b66a9;
  border-radius: 28px;
  padding: 28px;
  margin-bottom: 40px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
.logo-wrap img {
  width: 240px;
  max-width: 90%;
}

/* Screens */
.screen {
  width: 100%;
  max-width: 360px;
  display: none;
}
.screen.active {
  display: block;
}

/* Inputs */
input {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 14px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
}

/* Button */
.login-btn {
  width: 100%;
  padding: 14px;
  background: #ffc32b;
  border: none;
  border-radius: 999px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* Links */
.links {
  margin-top: 24px;
  text-align: center;
}
.links a {
  display: block;
  margin: 10px 0;
  color: #ffc32b;
  font-size: 17px;
  text-decoration: none;
}



.error-text {
  color: #ffdddd;
  background: rgba(255, 0, 0, 0.15);
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  display: none;
}

.error-text.show {
  display: block;
}

.btn-loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.btn-loading::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg) translateY(-50%); }
}

.otp-timer {
  margin-top: 10px;
  font-size: 14px;
  color: #ffc32b;
  text-align: center;
}


/* Helpers */
.hidden { display: none; }

