.smart-auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(19, 111, 122, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(243, 156, 18, 0.16), transparent 24%),
    linear-gradient(135deg, #f4f8fb 0%, #e6eef5 100%);
}

.smart-auth-shell {
  width: min(1120px, calc(100vw - 2rem));
  margin: 2rem auto;
}

.smart-auth-wide {
  max-width: 1120px;
}

.smart-auth-mini {
  max-width: 520px;
}

.smart-auth-card {
  border: 0;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(17, 41, 61, 0.16);
  background: rgba(255, 255, 255, 0.94);
}

.auth-brand-panel {
  position: relative;
  min-height: 100%;
  padding: 3rem;
  color: #fff;
  background: linear-gradient(160deg, #0f4b67 0%, #1b8896 50%, #3aa6b4 100%);
}

.auth-brand-panel::before,
.auth-brand-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.auth-brand-panel::before {
  width: 14rem;
  height: 14rem;
  right: -4rem;
  top: -3rem;
}

.auth-brand-panel::after {
  width: 10rem;
  height: 10rem;
  left: -3rem;
  bottom: -2rem;
}

.auth-brand-panel-secondary {
  background: linear-gradient(160deg, #11314e 0%, #19617d 55%, #f39c12 140%);
}

.auth-brand-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.auth-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.auth-brand-mark:hover {
  color: #fff;
  text-decoration: none;
}

.auth-brand-mark img {
  height: 3rem;
  width: auto;
}

.auth-brand-mark.compact img {
  height: 2.2rem;
}

.auth-brand-content h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
}

.auth-brand-content p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.auth-brand-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-brand-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-brand-list li strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.auth-brand-list li span {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.auth-brand-list.compact li {
  padding: 0.9rem 1rem;
}

.auth-form-panel {
  padding: 2.6rem;
  background: rgba(255, 255, 255, 0.94);
}

.auth-form-wrap {
  max-width: 30rem;
  margin: 0 auto;
}

.auth-form-wrap.compact {
  max-width: 24rem;
}

.auth-mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--smart-text);
  font-size: 1rem;
  font-weight: 700;
}

.auth-mobile-brand img {
  height: 2rem;
  width: auto;
}

.auth-form-header {
  margin-bottom: 1.5rem;
}

.auth-form-header h2 {
  margin: 0 0 0.45rem;
  color: var(--smart-text);
  font-size: 1.75rem;
  font-weight: 700;
}

.auth-form-header p {
  margin: 0;
  color: #678095;
  line-height: 1.65;
}

.page-signin-form-group {
  position: relative;
}

.page-signin-icon {
  position: absolute;
  top: 50%;
  left: 0.95rem;
  transform: translateY(-50%);
  color: #6a7f92;
  z-index: 2;
}

.page-signin-form-control {
  height: calc(2.85rem + 2px);
  padding-left: 2.7rem;
  border-radius: 0.85rem;
  border-color: #d3dde6;
  box-shadow: none !important;
}

.page-signin-form-control:focus {
  border-color: rgba(19, 111, 122, 0.55);
}

.auth-group-label {
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #53687a;
}

.auth-form-meta {
  gap: 0.75rem;
}

.auth-link {
  color: var(--smart-primary);
  font-weight: 600;
}

.auth-link:hover {
  color: var(--smart-primary-dark);
  text-decoration: none;
}

.auth-submit-btn {
  min-height: 3rem;
  border: 0;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--smart-primary), #1f8fa0);
  box-shadow: 0 12px 24px rgba(19, 111, 122, 0.2);
  font-weight: 700;
}

.auth-submit-btn:hover,
.auth-submit-btn:focus {
  background: linear-gradient(135deg, #105d66, #197685);
}

#page-signin-forgot-form {
  display: none;
}

@media (max-width: 991.98px) {
  .smart-auth-shell {
    width: min(680px, calc(100vw - 1.5rem));
    margin: 1rem auto;
  }

  .auth-form-panel {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .auth-form-header h2 {
    font-size: 1.45rem;
  }

  .auth-form-meta {
    flex-direction: column;
    align-items: flex-start !important;
  }
}