body.page-login {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(61, 215, 237, 0.12), transparent 34%),
    linear-gradient(135deg, #f7f9fc 0%, #eef3f8 48%, #f8fafc 100%);
  color: #18233f;
}

body.page-auth {
  min-height: 100vh;
}

body.page-auth,
body.page-auth * {
  box-sizing: border-box;
}

body.page-login::before {
  background:
    linear-gradient(135deg, rgba(13, 14, 15, 0.78), rgba(18, 33, 114, 0.42)),
    rgba(255, 255, 255, 0.12);
}

body.page-auth .auth-footer {
  position: relative;
  z-index: 2;
  color: rgba(24, 35, 63, 0.56);
}

.login-container.login-container-split {
  width: min(1080px, 100%);
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px;
}

.login-wrapper.login-wrapper-split {
  display: flex;
  width: 100%;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid rgba(18, 33, 114, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 70px rgba(18, 33, 114, 0.16);
}

.login-form-column {
  display: flex;
  align-items: center;
  flex: 0 0 45%;
  padding: 60px 54px;
}

.login-form-inner {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.login-form-header {
  margin: 0 0 38px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.auth-brand-logo {
  display: block;
  width: min(230px, 100%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.auth-brand-logo-login {
  margin: 0;
}

.auth-brand-logo-register {
  margin: 0 auto;
}

.auth-brand-link {
  display: inline-flex;
  max-width: 100%;
  text-decoration: none;
}

.login-header-tagline,
.login-form-title p,
.register-logo p {
  color: #69727d;
  font-size: 14px;
  line-height: 1.6;
}

.login-header-tagline {
  max-width: 360px;
  margin-top: 10px;
}

.login-tab-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 28px;
  padding: 4px;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #f6f9fc;
}

.login-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  color: #69727d;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.login-tab-btn.active {
  background: #fff;
  color: #122172;
  box-shadow: 0 8px 18px rgba(18, 33, 114, 0.08);
}

.login-tab-btn:hover {
  color: #122172;
  text-decoration: none;
}

.login-form-title {
  margin-bottom: 28px;
}

.login-form-title h1 {
  justify-content: flex-start;
  margin-bottom: 8px;
  color: #122172;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

body.page-auth .mb-3 label {
  margin-bottom: 8px;
  color: #29364f;
  font-size: 13px;
  font-weight: 750;
}

body.page-auth .form-control,
body.page-auth .form-select {
  min-height: 48px;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background-color: #fbfcfe;
  color: #18233f;
  box-shadow: none;
}

body.page-auth .form-control::placeholder {
  color: #8b97a8;
}

body.page-auth .form-control:focus,
body.page-auth .form-select:focus {
  border-color: #3dd7ed;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(61, 215, 237, 0.18);
}

body.page-auth .input-group-text {
  border-color: #d8e0ea;
  border-radius: 8px;
  background: #f6f9fc;
  color: #69727d;
}

.form-footer {
  align-items: center;
  min-height: 24px;
  margin: 6px 0 22px;
}

.form-footer a {
  color: #122172;
  font-weight: 750;
  text-decoration: none;
}

.form-footer a:hover {
  color: #0d0e0f;
  text-decoration: underline;
}

.btn-sign-in,
body.page-register .btn-primary,
body.page-register .btn-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: #122172;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(18, 33, 114, 0.2);
}

.btn-sign-in:hover,
.btn-sign-in:focus,
body.page-register .btn-primary:hover,
body.page-register .btn-primary:focus,
body.page-register .btn-success:hover,
body.page-register .btn-success:focus {
  background: #0d1859;
  color: #fff;
  box-shadow: 0 14px 28px rgba(18, 33, 114, 0.28);
}

body.page-register .btn-secondary,
body.page-register .btn-outline-secondary {
  border-color: #d8e0ea;
  border-radius: 8px;
  background: #fff;
  color: #29364f;
  font-weight: 750;
}

body.page-register .btn-outline-danger {
  border-radius: 8px;
}

.login-capability-column {
  flex: 1 1 auto;
  display: flex;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(18, 33, 114, 0.92), rgba(13, 14, 15, 0.96)),
    url("/Images/login-photo.png") center/cover no-repeat;
  color: #ffffff;
}

.capability-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 100%;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(13, 14, 15, 0.26);
}

.capability-kicker {
  margin-bottom: 12px;
  color: #3dd7ed;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capability-panel h2 {
  max-width: 500px;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
}

.capability-card,
.capability-mini-card,
.login-church-contact {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.capability-card-primary {
  display: flex;
  gap: 16px;
  padding: 20px;
  margin-bottom: 14px;
}

.capability-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 8px;
  background: #3dd7ed;
  color: #0d0e0f;
  font-size: 18px;
}

.capability-card h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
}

.capability-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.capability-mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 750;
}

.capability-mini-card i {
  color: #3dd7ed;
  font-size: 16px;
}

.login-church-contact {
  margin-top: 14px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.login-church-contact-title {
  margin-bottom: 9px;
  color: #3dd7ed;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-church-contact ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.login-church-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1.4;
}

.login-church-contact i {
  width: 16px;
  margin-top: 2px;
  color: #3dd7ed;
  text-align: center;
}

.login-church-contact a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.login-church-contact a:hover {
  color: #3dd7ed;
  text-decoration: none;
}

.capability-register-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin-top: 16px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.capability-register-link:hover {
  color: #0d0e0f;
  background: #3dd7ed;
  text-decoration: none;
}

body.page-register {
  background:
    radial-gradient(circle at top left, rgba(61, 215, 237, 0.1), transparent 34%),
    linear-gradient(135deg, #f7f9fc 0%, #eef3f8 100%);
}

body.page-register::before {
  display: none;
}

body.page-register .register-box {
  width: min(940px, calc(100% - 32px));
  max-width: 940px !important;
  margin: 38px auto;
}

body.page-register .register-logo {
  margin-bottom: 24px !important;
}

body.page-register .auth-brand-logo-register {
  width: min(250px, 100%);
}

body.page-register .registration-card {
  overflow: hidden;
  border: 1px solid rgba(18, 33, 114, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(18, 33, 114, 0.14);
}

body.page-register .bs-stepper-header {
  padding: 18px 22px;
  border-bottom: 1px solid #edf1f6;
  background: #fbfcfe;
}

body.page-register .bs-stepper-circle {
  background: #e8eef7;
  color: #122172;
  font-weight: 800;
}

body.page-register .step.active .bs-stepper-circle,
body.page-register .step-trigger[aria-selected="true"] .bs-stepper-circle {
  background: #122172;
  color: #fff;
}

body.page-register .bs-stepper-label {
  color: #29364f;
  font-weight: 750;
}

body.page-register .bs-stepper-content {
  padding: 34px;
}

body.page-register .step-header {
  margin-bottom: 28px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.page-register .step-header h4 {
  margin: 0;
  color: #122172;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

body.page-register .alert-info {
  border-color: rgba(61, 215, 237, 0.24);
  background: rgba(61, 215, 237, 0.1);
  color: #29364f;
}

body.page-register .member-card,
body.page-register #step-review .card {
  border: 1px solid #edf1f6;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(18, 33, 114, 0.06);
}

@media (max-width: 1199.98px) {
  .login-wrapper.login-wrapper-split {
    flex-direction: column !important;
  }

  .login-form-column {
    flex-basis: auto;
    padding: 44px 36px;
  }

  .login-capability-column {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .login-container.login-container-split {
    padding: 14px;
  }

  .login-wrapper.login-wrapper-split {
    min-height: 0;
  }

  .login-form-column,
  .capability-panel,
  body.page-register .bs-stepper-content {
    padding: 24px;
  }

  .auth-brand-logo {
    width: min(205px, 100%);
  }

  .login-tab-control {
    margin-bottom: 22px;
  }

  .login-form-title h1,
  .capability-panel h2,
  body.page-register .step-header h4 {
    font-size: 22px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  body.page-register .register-box {
    width: calc(100% - 20px);
    margin: 18px auto;
  }

  body.page-register .bs-stepper-header {
    padding: 14px 10px;
  }
}
