/* Auth pages refresh */
:root {
  --auth-ink: #2f1f2a;
  --auth-muted: #7b5a6b;
  --auth-rose: #d54f8c;
  --auth-rose-dark: #a33869;
  --auth-rose-soft: #f1bcd1;
  --auth-cream: #fff7fb;
  --auth-glass: rgba(255, 255, 255, 0.86);
  --auth-shadow: 0 18px 40px rgba(36, 22, 27, 0.16);
}

/* Background shell */
.auth-shell .gradient-background,
.auth-shell .radial-gradient {
  background:
    radial-gradient(circle at 18% 10%, rgba(213, 79, 140, 0.22), transparent 45%),
    radial-gradient(circle at 82% 14%, rgba(241, 188, 209, 0.3), transparent 48%),
    linear-gradient(150deg, #f9edf4 0%, #efd5e6 52%, #e7c7dc 100%);
}

/* Card */
.auth-shell .card-nft-1 {
  background: var(--auth-glass) !important;
  color: var(--auth-ink);
  border: 1px solid rgba(213, 79, 140, 0.2);
  border-radius: 22px;
  box-shadow: var(--auth-shadow);
  overflow: hidden;
  animation: auth-rise 0.6s ease;
}

@keyframes auth-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-shell .card-nft-1 .card-body {
  padding: 1.15rem 1.1rem;
}

.auth-shell .auth-title {
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--auth-ink);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: center;
}

.auth-shell .auth-title .auth-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--auth-rose), var(--auth-rose-soft));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(213, 79, 140, 0.25);
  font-size: 0.9rem;
}

.auth-shell .auth-subtitle {
  text-align: center;
  color: var(--auth-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Inputs */
.auth-shell .form-floating {
  background: #fff;
  border: 1px solid rgba(163, 56, 105, 0.2);
  border-radius: 14px;
  margin-bottom: 0.7rem;
  position: relative;
}

.auth-shell .form-floating > .form-control,
.auth-shell .form-floating > .form-select,
.auth-shell .form-floating select.form-control,
.auth-shell .form-floating select.form-select {
  background: transparent;
  border: none;
  color: var(--auth-ink);
  padding-left: 2.4rem;
  padding-right: 0.85rem;
  height: 3.2rem;
}

.auth-shell .form-floating > .form-select,
.auth-shell .form-floating select.form-control,
.auth-shell .form-floating select.form-select {
  padding-top: 0.7rem;
  padding-bottom: 0.2rem;
}

.auth-shell .form-floating > label {
  color: var(--auth-muted);
  padding-left: 2.4rem;
  font-size: 0.85rem;
}

.auth-shell .form-floating:focus-within {
  border-color: var(--auth-rose);
  box-shadow: 0 0 0 0.2rem rgba(213, 79, 140, 0.16);
}

.auth-shell .auth-field-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(213, 79, 140, 0.12);
  color: var(--auth-rose-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* Helper text + errors */
.auth-shell .card-nft-1 p,
.auth-shell .card-nft-1 a,
.auth-shell .card-nft-1 small {
  font-size: 0.9rem;
}

.auth-shell .text-danger,
.auth-shell .card-nft-1 .text-danger {
  color: #c93549 !important;
  font-weight: 600;
  background: none !important;
  padding: 0;
  display: inline;
  margin-top: 0.35em;
  font-size: 0.88rem;
}

.auth-shell .form-text,
.auth-shell .help-block {
  color: var(--auth-muted) !important;
  font-size: 0.85rem;
}

/* Links */
.auth-shell .card-nft-1 a,
.auth-shell .card-nft-1 a:visited {
  color: var(--auth-rose-dark) !important;
  text-decoration: none;
  font-weight: 600;
}

.auth-shell .card-nft-1 a:hover,
.auth-shell .card-nft-1 a:focus {
  color: var(--auth-rose) !important;
  text-decoration: underline;
}

/* Primary button */
.auth-shell .card-nft-1 .btn-primary {
  background: linear-gradient(120deg, var(--auth-rose) 0%, var(--auth-rose-soft) 100%);
  border-color: var(--auth-rose);
  color: #fff !important;
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 22px rgba(213, 79, 140, 0.25);
}

.auth-shell .card-nft-1 .btn-primary:hover,
.auth-shell .card-nft-1 .btn-primary:focus {
  background: linear-gradient(120deg, var(--auth-rose-dark) 0%, var(--auth-rose) 100%);
  box-shadow: 0 12px 24px rgba(213, 79, 140, 0.32);
  transform: translateY(-1px);
}

.auth-shell .card-nft-1 .btn-primary:active {
  transform: translateY(0);
}
