body {
  background: #f1f5f9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
}

.auth-container {
  width: 100%;
  max-width: 450px;
  padding: 20px;
}

.auth-box {
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.auth-logo {
  text-align: center;
  margin-bottom: 30px;
}
.auth-logo h1 {
  color: #0f172a;
  text-decoration: none;
  font-size: 1.8rem;
}
.auth-logo i {
  color: #f59e0b;
}
.auth-logo a {
  text-decoration: none;
}

/* TABS */
.auth-tabs {
  display: flex;
  background: #f1f5f9;
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 30px;
}
.auth-tab {
  flex: 1;
  padding: 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  color: #64748b;
  border-radius: 8px;
  transition: 0.3s;
}
.auth-tab.active {
  background: white;
  color: #0f172a;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* FORMS */
.auth-form {
  display: none;
  animation: fadeIn 0.4s;
}
.auth-form.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.input-group {
  margin-bottom: 18px;
}
.input-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}

.phone-input-wrapper,
.pass-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
  transition: 0.3s;
}
.phone-input-wrapper:focus-within,
.pass-wrapper:focus-within {
  border-color: #0f172a;
  background: white;
}

.prefix {
  padding: 12px 15px;
  background: #e2e8f0;
  color: #64748b;
  font-weight: 600;
  border-right: 1px solid #cbd5e1;
}

input {
  width: 100%;
  padding: 14px;
  border: 2px solid #e2e8f0; /* Default border for simple inputs */
  border-radius: 12px;
  background: #f8fafc;
  font-size: 1rem;
  outline: none;
  font-family: "Inter", sans-serif;
  color: #1e293b;
}
input:focus {
  border-color: #0f172a;
  background: white;
}

/* Override for inputs inside wrapper */
.phone-input-wrapper input,
.pass-wrapper input {
  border: none;
  border-radius: 0;
  background: transparent;
}

/* Pass icon */
.pass-wrapper i {
  padding: 0 15px;
  color: #94a3b8;
  cursor: pointer;
}

/* Grid for Name/Surname */
.row-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.auth-btn {
  width: 100%;
  padding: 16px;
  background: #0f172a;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}
.auth-btn:hover {
  background: #f59e0b;
}
.btn-register {
  background: #2563eb;
}
.btn-register:hover {
  background: #1d4ed8;
}

.forgot-pass {
  display: block;
  text-align: center;
  margin-top: 15px;
  color: #64748b;
  font-size: 0.9rem;
  text-decoration: none;
}
.hint-text {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 5px;
  display: block;
}

/* OTP MODAL */
.otp-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
}
.otp-box {
  background: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  width: 90%;
  max-width: 350px;
}
.otp-icon {
  font-size: 3rem;
  color: #2563eb;
  margin-bottom: 20px;
}
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 25px 0;
}
.otp-field {
  width: 50px;
  height: 50px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}
.otp-field:focus {
  border-color: #2563eb;
}
.cancel-otp {
  background: transparent;
  border: none;
  color: #ef4444;
  font-weight: 600;
  cursor: pointer;
}
.sim-note {
  font-size: 0.8rem;
  color: #10b981;
  background: #ecfdf5;
  padding: 5px;
  border-radius: 5px;
  display: inline-block;
  margin-top: 5px;
}
