/* ================= Sign Up ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body.auth-page {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: white;
  background:
    radial-gradient(circle at top left, rgba(255, 120, 210, 0.45), transparent 28%),
    radial-gradient(circle at bottom center, rgba(150, 70, 255, 0.30), transparent 30%),
    linear-gradient(135deg, #ff72d2 0%, #8d39ff 45%, #1a37c9 100%);
}

/* =========================
   WRAPPER
========================= */
.auth-wrapper {
  width: 100%;
  max-width: 1180px;
  position: relative;
}

/* =========================
   BACK BUTTON
========================= */
.back-btn {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(20, 22, 34, 0.78);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: 0.3s ease;
}

.back-btn:hover {
  transform: translateY(-2px);
  background: rgba(20, 22, 34, 0.95);
}

/* =========================
   MAIN CARD
========================= */
.auth-card {
  width: 100%;
  min-height: 620px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 25px 60px rgba(0,0,0,0.22);
  backdrop-filter: blur(16px);
}

/* =========================
   LEFT SIDE
========================= */
.auth-brand-panel {
  width: 44%;
  padding: 70px 50px;
  background: linear-gradient(180deg, #1167e8 0%, #0d56c9 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.auth-brand-panel::after {
  content: "";
  position: absolute;
  top: 35px;
  right: 0;
  width: 2px;
  height: calc(100% - 70px);
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.08)
  );
}

.auth-brand-small {
  font-size: 18px;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 28px;
}

.auth-logo-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: white;
  color: #1167e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.auth-brand-panel h2 {
  font-size: 34px;
  margin-bottom: 18px;
  font-weight: 800;
}

.auth-brand-text {
  max-width: 320px;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 26px;
}

.auth-brand-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.auth-brand-links a {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

/* =========================
   RIGHT SIDE
========================= */
.auth-form-panel {
  width: 56%;
  background: #f7f7fb;
  padding: 60px 60px 50px 90px;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-form-panel h3 {
  font-size: 34px;
  font-weight: 800;
  color: #1d1d1f;
  margin-bottom: 30px;
}

.auth-form {
  max-width: 430px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #3b3b48;
}

.form-group input {
  width: 100%;
  height: 50px;
  border: none;
  outline: none;
  border-radius: 10px;
  padding: 0 16px;
  background: #eceef8;
  color: #222;
  font-size: 14px;
}

.form-group input::placeholder {
  color: #8d90a6;
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 22px;
}

.auth-check input {
  accent-color: #1e68e8;
}

.auth-check label {
  font-size: 12px;
  color: #64697e;
}

.auth-btn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff4fc3 0%, #8c46ff 45%, #1668ea 100%);
  color: white;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(75, 85, 190, 0.22);
  transition: 0.3s ease;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(75, 85, 190, 0.30);
}

.auth-divider {
  margin: 24px 0 18px;
  position: relative;
  text-align: center;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #d9dbe8;
}

.auth-divider span {
  position: relative;
  background: #f7f7fb;
  padding: 0 12px;
  font-size: 12px;
  color: #7a8094;
}

.auth-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

.auth-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #edf1ff;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  transition: 0.3s ease;
}

.auth-socials a:hover {
  transform: translateY(-2px);
  background: #dfe8ff;
}

.auth-switch-text {
  text-align: center;
  font-size: 13px;
  color: #6f7488;
}

.auth-switch-text a {
  color: #1668ea;
  text-decoration: none;
  font-weight: 800;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 950px) {
  .auth-card {
    flex-direction: column;
    min-height: auto;
  }

  .auth-brand-panel,
  .auth-form-panel {
    width: 100%;
  }

  .auth-brand-panel {
    min-height: 320px;
    padding: 50px 30px;
  }

  .auth-brand-panel::after {
    display: none;
  }

  .auth-form-panel {
    padding: 40px 24px;
  }

  .auth-form {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  body.auth-page {
    padding: 18px 14px;
  }

  .back-btn {
    width: 52px;
    height: 52px;
    font-size: 24px;
    border-radius: 16px;
    margin-bottom: 16px;
  }

  .auth-card {
    border-radius: 24px;
  }

  .auth-brand-panel {
    padding: 40px 22px;
  }

  .auth-logo-circle {
    width: 90px;
    height: 90px;
    font-size: 34px;
  }

  .auth-brand-panel h2 {
    font-size: 28px;
  }

  .auth-form-panel {
    padding: 30px 18px;
  }

  .auth-form-panel h3 {
    font-size: 26px;
    margin-bottom: 22px;
  }

  .form-group input {
    height: 46px;
  }

  .auth-btn {
    height: 48px;
    font-size: 15px;
  }
}