@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

body {
 height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-form{
  width: 50%;
}

#signupForm{
  margin-top: 5%;
}

.auth-ctn {
  width: 80%;
  margin: 3% auto;
}

.auth-ctn .name-colunm{
  display: flex;
  gap: 10px;
  justify-content: center;
}

.brand-logo{
  text-align: center;
}

.brand-logo img{
  width: 50%;
}

.auth-form-subtitle{
  margin: 1% 0;
  margin-top: 3%;
}

.auth-inp-block{
  margin-bottom:5%;
  display: flex;
  align-items: center;
    padding: 1% 2%;
  border-radius: 10px;
  border: 2px solid #ff000070;
  background-color: transparent;
}

.auth-inp-block input {
  width: 100%;
  height: 6vh;
  font-size: 15px;
  background-color: transparent;
  border: none;
    border-radius: 10px;
}

.auth-inp-block input::placeholder {
  color: #00000055;
  font-size: 14px;
}

.password-wrapper {
 display: flex;
}

.password-toggle {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.password-toggle:active {
  transform: scale(0.92);
}

.auth-inp-block svg {
  width: 20px;
  height: 20px;
}

.password-toggle .eye-off {
  display: none;
}

.password-toggle.active .eye-on {
  display: none;
}

.password-toggle.active .eye-off {
  display: block;
}

.password-toggle.active {
  color: var(--auth-accent);
}

/* ── Name Row (First + Last side-by-side) ─────────────────── */
.auth-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .auth-name-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ── Input Groups ─────────────────────────────────────────── */
.auth-input-group {

  display: block;
  width: 100%;
  padding: 15px;
  font-size: 15px;
  color: #fff;
}

/* ── Submit Button ────────────────────────────────────────── */
.auth-btn {
  display: block;
  width: 100%;
  padding: 15px;
  font-size: 15px;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 5%;
}

.auth-btn:hover {
  background: #e6202f;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px -5px var(--auth-accent-glow);
}

/* ── Alerts ───────────────────────────────────────────────── */
.auth-alert {
  padding: 1% 3%;
  height: 10vh;
  width: 80%;
  margin: 5% auto;
  align-items: center;
  border-radius:10px;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  gap: 10px;
}

.auth-alert.error {
  background: rgba(239, 68, 68, 0.1);
  color: #fe3939;
  align-items: center;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.auth-alert.error::before {
  content: '⚠';
  font-size: 16px;
  flex-shrink: 0;
}

.auth-alert.success {
  background: rgba(34, 197, 94, 0.1);
  color: #129843;
  border: 1px solid #68ff9f33;
}

.auth-alert.success::before {
  font-size: 16px;
  flex-shrink: 0;
}

/* ── Links ────────────────────────────────────────────────── */
.auth-links {
  text-align: center;
  margin-top: 28px;
}

.auth-links p {
  font-size: 14px;
  margin-bottom: 8px;
}

.auth-links a {
  color: var(--accent);
}

/* ── Divider ──────────────────────────────────────────────── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  color: var(--auth-text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


/* ── Password Strength Indicator ──────────────────────────── */
.password-strength {
  margin-top: 2px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease, background-color 0.4s ease;
  width: 0;
}

.password-strength-bar.weak {
  width: 33%;
  background: var(--accent);
}

.password-strength-bar.medium {
  width: 66%;
  background: #f59e0b;
}

.password-strength-bar.strong {
  width: 100%;
  background: #00d000;
}

.password-hint {
  font-size: 12px;
  color: var(--auth-text-dim);
  margin-top: 6px;
  transition: var(--auth-transition);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .auth-form {
  width: 80%;
 }

  .auth-btn {
    padding: 14px;
  }
}

@media (max-width: 600px) {
  .auth-form {
  width: 95%;
  }
}
