/*
|--------------------------------------------------------------------------
| Administration Register UI
|--------------------------------------------------------------------------
|
| Premium centered registration layout.
| Intentionally aligned with the login page design system.
| Clean, compact and production-oriented.
|
*/


/* --------------------------------------------------------
   Full Viewport Reset
--------------------------------------------------------- */

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.auth-page {
  background:
    radial-gradient(circle at 15% 20%, #1c2b45 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, #13263f 0%, transparent 40%),
    linear-gradient(145deg, #0a0f18 0%, #0f1724 100%) !important;
  font-family: "Inter", system-ui, sans-serif;
  color: #e5e7eb;
}


/* --------------------------------------------------------
   Shell
--------------------------------------------------------- */

.auth-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.auth-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.auth-shell::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  bottom: -160px;
  border-radius: 50%;
  background: #6366f1;
  filter: blur(130px);
  opacity: .22;
  pointer-events: none;
}


/* --------------------------------------------------------
   Wrapper
--------------------------------------------------------- */

.auth-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-scale {
  width: 100%;
}

.auth-frame {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}


/* --------------------------------------------------------
   Hide Hero Panel
--------------------------------------------------------- */

.auth-hero {
  display: none;
}


/* --------------------------------------------------------
   Register Card
--------------------------------------------------------- */

.auth-card {
  position: relative;
  background: rgba(18, 25, 39, 0.78);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 32px 28px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auth-card::before {
  content: "";
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.20), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
}


/* --------------------------------------------------------
   Header
--------------------------------------------------------- */

.card-title {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  color: #f3f4f6;
  letter-spacing: -0.02em;
}

.card-sub {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.55;
  color: #9ca3af;
}


/* --------------------------------------------------------
   Alert
--------------------------------------------------------- */

.auth-alert {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.26);
  color: #fca5a5;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.auth-alert i {
  margin-top: 2px;
}


/* --------------------------------------------------------
   Fields
--------------------------------------------------------- */

.field {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #d1d5db;
  letter-spacing: .02em;
}

.control {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 15, 25, 0.86);
  color: #e5e7eb;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  transition: all .22s ease;
}

.control::placeholder {
  color: #6b7280;
}

.control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
  background: rgba(10, 15, 25, 0.96);
}


/* --------------------------------------------------------
   Policy / Switch
--------------------------------------------------------- */

.policy {
  position: relative;
  z-index: 1;
  margin: 4px 0 14px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 14px;
  user-select: none;
}

.remember input {
  width: 16px;
  height: 16px;
  accent-color: #3b82f6;
}

/*
|--------------------------------------------------------------------------
| Auth Switch Spacing
|--------------------------------------------------------------------------
| Refines spacing between the policy checkbox and the primary action
| to maintain vertical rhythm inside the register form.
|--------------------------------------------------------------------------
*/

.auth-switch {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: 14px;
  color: #9ca3af;
  top: -12px;     /* raises the element */
  margin-left: 25px; /* shifts slightly to the right */
}

.auth-switch a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------
   Button
--------------------------------------------------------- */

.btn-auth {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all .22s ease;
}

.btn-auth:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.30);
}


/* --------------------------------------------------------
   Footer
--------------------------------------------------------- */

.foot {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #6b7280;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}


/* --------------------------------------------------------
   Responsive
--------------------------------------------------------- */

@media (max-width: 576px) {
  .auth-shell {
    padding: 14px;
  }

  .auth-card {
    padding: 28px 18px 22px;
  }

  .card-title {
    font-size: 24px;
  }

  .foot {
    flex-direction: column;
    align-items: flex-start;
  }
}


/*
|--------------------------------------------------------------------------
| Auth Layout Scale
|--------------------------------------------------------------------------
|
| Makes the authentication card slightly smaller so the page
| feels lighter and more balanced on large monitors.
|
*/

.auth-frame {
  transform: scale(0.90);
  transform-origin: center;
}

@media (max-width:1200px) {
  .auth-frame {
    transform: scale(0.95);
  }
}

@media (max-width:992px) {
  .auth-frame {
    transform: scale(1);
  }
}

@media (max-width:576px) {
  .auth-frame {
    transform: scale(1);
  }
}


/*
|--------------------------------------------------------------------------
| Register Brand Block
|--------------------------------------------------------------------------
*/

.login-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.login-brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #ffffff;
  font-size: 18px;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.22);
}

.login-brand__meta {
  display: flex;
  flex-direction: column;
}

.login-brand__eyebrow {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6b7280;
}

.login-brand__title {
  font-size: 16px;
  font-weight: 600;
  color: #e5e7eb;
}


/*
|--------------------------------------------------------------------------
| Auth Brand
|--------------------------------------------------------------------------
*/

.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.auth-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-brand-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.auth-brand-text {
  display: flex;
  flex-direction: column;
}

.auth-brand-label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6b7280;
}

.auth-brand-title {
  font-size: 18px;
  font-weight: 600;
  color: #e5e7eb;
}