/*
|--------------------------------------------------------------------------
| Administration Login UI
|--------------------------------------------------------------------------
|
| Premium centered login layout.
| Designed to replace SB Admin visual identity on the auth layer.
|
| Scope:
| Only login page styling.
| No dashboard styles allowed here.
|
*/


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

.login-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  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%);
  overflow: hidden;
  font-family: "Inter", system-ui, sans-serif;
}



/* --------------------------------------------------------
   Ambient Background Effects
--------------------------------------------------------- */

.login-bg-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}

.login-bg-orb--one {
  top: -120px;
  left: -120px;
  background: #3b82f6;
}

.login-bg-orb--two {
  bottom: -150px;
  right: -120px;
  background: #6366f1;
}



/* --------------------------------------------------------
   Grid Overlay
--------------------------------------------------------- */

.login-grid {
  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;
}



/* --------------------------------------------------------
   Center Container
--------------------------------------------------------- */

.login-center {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 420px;
  padding: 20px;
}



/* --------------------------------------------------------
   Glass Login Card
--------------------------------------------------------- */

.login-card {
  background: rgba(18, 25, 39, 0.75);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 38px 34px 30px 34px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}



/* --------------------------------------------------------
   Brand Block
--------------------------------------------------------- */

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

.login-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
  padding: 0;
}

.login-brand-mark img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.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-weight: 600;
  font-size: 16px;
  color: #e5e7eb;
}



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

.login-header {
  margin-bottom: 28px;
}

.login-title {
  font-size: 26px;
  font-weight: 600;
  color: #f3f4f6;
}

.login-subtitle {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 4px;
}



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

.login-field {
  margin-bottom: 18px;
}

.login-label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  color: #9ca3af;
}

.login-control-wrap {
  position: relative;
}

.login-control-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 13px;
}

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

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



/* --------------------------------------------------------
   Row Line
--------------------------------------------------------- */

.login-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 22px;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9ca3af;
}

.login-link {
  color: #60a5fa;
  text-decoration: none;
}

.login-link:hover {
  text-decoration: underline;
}



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

.login-button {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: white;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all .25s ease;
}

.login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.35);
}



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

.login-footer {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #6b7280;
}

.login-footer__chip {
  display: flex;
  align-items: center;
  gap: 4px;
}

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 14px;
}

.auth-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

/*
|--------------------------------------------------------------------------
| Auth Links
|--------------------------------------------------------------------------
| Shared styling for authentication helper links.
|--------------------------------------------------------------------------
*/

.auth-link,
.forgot-password,
.create-account {
  color: #60a5fa;
  text-decoration: none;
}

.auth-link:hover,
.forgot-password:hover,
.create-account:hover {
  text-decoration: underline;
}

/* layout fine tuning */

.forgot-password {
  margin-top: 1px;
}

.create-account {
  margin-top: -16px;
  margin-right: 7px;
  margin-bottom: 20px;
}