/* auth/auth.css - shared by login & register pages */
:root {
  --accent1: #7c3aed;
  --accent2: #06b6d4;
  --glass: rgba(255, 255, 255, 0.06);
  --muted: rgba(255, 255, 255, 0.78);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial;
}
.animated-gradient {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, var(--accent1), var(--accent2));
  background-size: 300% 300%;
  animation: gshift 12s ease infinite;
}
@keyframes gshift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.auth-split {
  width: 100%;
  max-width: 1100px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.6);
}
.auth-left {
  flex: 1 1 50%;
  min-height: 520px;
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.auth-left .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 7, 18, 0.25),
    rgba(3, 7, 18, 0.55)
  );
}
.auth-left .hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 460px;
}
.auth-left h1 {
  font-size: 32px;
  margin: 0 0 12px 0;
  color: #fff;
}
.auth-left p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 20px 0;
}

.auth-right {
  flex: 1 1 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  padding: 28px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.5);
}

.auth-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}
.input-group label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
}
.input-group input,
.input-group select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  outline: none;
}
.btn-primary-acc {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, #f2f2f2);
  color: #071023;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.25);
}
.text-muted-light {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.small-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
}

@media (max-width: 880px) {
  .auth-split {
    flex-direction: column;
  }
  .auth-left {
    height: 240px;
    min-height: 200px;
  }
  .auth-right {
    padding: 28px;
  }
}
