
.auth-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
}

.auth-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}

.shape-one {
  width: 360px;
  height: 360px;
  background: var(--primary);
  top: -100px;
  left: -80px;
}

.shape-two {
  width: 420px;
  height: 420px;
  background: var(--secondary);
  bottom: -150px;
  right: -120px;
}

.auth-container {
  position: relative;
  z-index: 2;
  width: min(460px, 100%);
  text-align: center;
}

.auth-logo {
  display: inline-block;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 28px;
}

.auth-logo span {
  color: var(--secondary);
}

.auth-card {
  text-align: left;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(22px);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bae6fd;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
}

.auth-header h1 {
  margin-top: 20px;
  font-size: 34px;
}

.auth-header p {
  color: var(--muted);
  line-height: 1.6;
  margin-top: 10px;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.form-group label {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 9px;
}

.input-box {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 0 16px;
  transition: 0.25s ease;
}

.input-box:focus-within {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.08);
}

.input-box i {
  color: var(--muted);
}

.input-box input {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 15px;
}

.input-box input::placeholder {
  color: rgba(148, 163, 184, 0.65);
}

.password-toggle {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
}

.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
}

.auth-options a,
.auth-footer-text a {
  color: #67e8f9;
  font-weight: 700;
}

.auth-submit,
.google-btn {
  width: 100%;
  height: 56px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
}

.auth-submit {
  margin-top: 6px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 20px 45px rgba(124, 58, 237, 0.28);
}

.auth-submit i {
  margin-left: 8px;
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 28px 0;
  color: var(--muted);
  font-size: 13px;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--card-border);
}

.auth-divider span {
  position: relative;
  background: #111827;
  padding: 0 14px;
}

.google-btn {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid var(--card-border);
}

.google-btn i {
  margin-right: 8px;
}

.auth-footer-text {
  text-align: center;
  color: var(--muted);
  margin-top: 26px;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
}

.back-home:hover {
  color: white;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 26px 20px;
  }

  .auth-header h1 {
    font-size: 28px;
  }

  .auth-options {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }
}

/* Register */
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.terms-check input {
  margin-top: 3px;
}

.terms-check a {
  color: #67e8f9;
  font-weight: 700;
}

.form-error {
  color: #f87171;
  font-size: 14px;
  min-height: 20px;
}
.password-strength {
  margin-top: 14px;
}

.strength-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}

.strength-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 999px;
  transition: 0.3s ease;
}

.strength-info {
  margin-top: 10px;
}

.strength-info span {
  font-size: 14px;
  font-weight: 700;
}

.password-rules {
  margin-top: 16px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.password-rules li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  transition: 0.25s ease;
}

.password-rules li i {
  font-size: 10px;
}

.password-rules li.valid {
  color: #4ade80;
}

.password-rules li.valid i {
  color: #4ade80;
}

.password-rules li.invalid {
  color: #f87171;
}

.password-rules li.invalid i {
  color: #f87171;
}

/* Password */
.form-success {
  color: #4ade80;
  font-size: 14px;
  min-height: 20px;
}
/* Reset Password */
.code-inputs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.code-inputs input {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: rgba(255,255,255,0.07);
  color: white;
  outline: none;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
}

.code-inputs input:focus {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.08);
}

@media (max-width: 420px) {
  .code-inputs {
    gap: 6px;
  }

  .code-inputs input {
    height: 48px;
    font-size: 18px;
  }
}

.copy-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 18px;
    background: rgba(15,23,42,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    backdrop-filter: blur(18px);
    transform: translateY(30px);
    opacity: 0;
    transition: 0.3s ease;
}

    .copy-toast.active {
        transform: translateY(0);
        opacity: 1;
    }

    .copy-toast i {
        color: #4ade80;
    }