body.soulscan-login-theme {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(47, 111, 78, 0.12), transparent 45%),
    #f7f3eb;
  color: #1a2332;
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
}
body.soulscan-login-theme #large-header,
body.soulscan-login-theme .navbar,
body.soulscan-login-theme nav.navbar,
body.soulscan-login-theme header.navbar,
body.soulscan-login-theme > footer:not(.soulscan-auth-footer) {
  display: none !important;
}
.soulscan-auth-wrap {
  max-width: 420px;
  margin: 0 auto;
  padding: 48px 16px;
}
.soulscan-logo-text {
  display: block;
  font-family: Fraunces, Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  letter-spacing: 0.02em;
  color: #1a2332;
  font-weight: 600;
}
.soulscan-auth-tagline {
  color: #2f6f4e;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.25rem;
}
.soulscan-auth-card {
  margin-top: 24px;
  background: #fffcf7;
  border: 1px solid #d9d0c0;
  border-radius: 12px;
  padding: 24px;
  overflow: hidden;
}
.soulscan-auth-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #5c6570;
}

.soulscan-auth-form-head {
  margin-bottom: 1.1rem;
}
.soulscan-auth-welcome {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: #2f6f4e;
}
.soulscan-auth-title {
  margin: 0 0 0.35rem;
  font-family: Fraunces, Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: #1a2332;
}
.soulscan-auth-desc {
  margin: 0;
  font-size: 0.92rem;
  color: #5c6570;
}

/* Split-panel form fields (web_login.php split path) */
body.soulscan-login-theme.web-login-split-panel .login-tabs {
  display: none;
}
body.soulscan-login-theme .field-group {
  margin-bottom: 0.85rem;
}
body.soulscan-login-theme .field-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2c3a4f;
}
body.soulscan-login-theme .field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
body.soulscan-login-theme .field-icon {
  position: absolute;
  left: 0.75rem;
  color: #5c6570;
  pointer-events: none;
}
body.soulscan-login-theme .field-input {
  width: 100%;
  padding: 0.65rem 2.5rem 0.65rem 2.35rem;
  border: 1px solid #d9d0c0;
  border-radius: 8px;
  background: #fff;
  color: #1a2332;
  font-size: 0.95rem;
}
body.soulscan-login-theme .field-input:focus {
  outline: none;
  border-color: #2f6f4e;
  box-shadow: 0 0 0 3px rgba(47, 111, 78, 0.15);
}
body.soulscan-login-theme .toggle-pass {
  position: absolute;
  right: 0.5rem;
  border: 0;
  background: transparent;
  color: #5c6570;
  cursor: pointer;
  padding: 0.35rem;
}
body.soulscan-login-theme .form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}
body.soulscan-login-theme .checkbox-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: #2c3a4f;
  cursor: pointer;
}
body.soulscan-login-theme .checkbox-input {
  margin: 0;
}
body.soulscan-login-theme .forgot-link,
body.soulscan-login-theme .register-link,
body.soulscan-login-theme .lnk_recover_password,
body.soulscan-login-theme .lnk_register {
  color: #2f6f4e;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}
body.soulscan-login-theme .forgot-link:hover,
body.soulscan-login-theme .register-link:hover {
  text-decoration: underline;
}
body.soulscan-login-theme .btn-submit {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 8px;
  background: #2f6f4e;
  color: #fffcf7;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}
body.soulscan-login-theme .btn-submit:hover {
  background: #255a3f;
}
body.soulscan-login-theme .divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0.75rem;
  color: #5c6570;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
body.soulscan-login-theme .divider-line {
  flex: 1;
  height: 1px;
  background: #d9d0c0;
}
body.soulscan-login-theme .register-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: #2c3a4f;
}
body.soulscan-login-theme .form-foot {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: #5c6570;
  line-height: 1.4;
}
body.soulscan-login-theme .form-msg:empty {
  display: none;
}

/* Keep public SoulScan header (language) visible above the card */
body.soulscan-login-theme.web-login-split-panel .soulscan-header {
  display: block !important;
}
body.soulscan-login-theme.web-login-split-panel .web-login-split-keep {
  display: none !important;
}

/* Default web_login.php uses Bootstrap col-md-4 + AdminLTE .login-box (360px).
   Fit that markup inside the narrow SoulScan card. */
body.soulscan-login-theme .content_login > .col-md-4:not(.col_right_login),
body.soulscan-login-theme .col_left_login {
  display: none !important;
}
body.soulscan-login-theme .content_login {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
}
body.soulscan-login-theme .content_login .col_right_login {
  float: none !important;
  width: 100% !important;
  max-width: 100%;
  padding: 0;
  margin: 0;
}
body.soulscan-login-theme .div_tabs_login_form {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: transparent;
  box-shadow: none;
}
body.soulscan-login-theme .nav_tabs_login_form {
  display: flex;
  margin: 0 0 12px !important;
  border-bottom: 1px solid #d9d0c0;
  background: transparent !important;
}
body.soulscan-login-theme .nav_tabs_login_form .nav-link {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c6570;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 10px 8px !important;
  margin: 0 !important;
}
body.soulscan-login-theme .nav_tabs_login_form .nav-link.active {
  color: #2f6f4e !important;
  border-bottom-color: #2f6f4e !important;
}
body.soulscan-login-theme .tab-content,
body.soulscan-login-theme .tab-pane {
  padding: 0;
  background: transparent;
}
body.soulscan-login-theme .login-box {
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body.soulscan-login-theme .login-box-body {
  width: 100%;
  padding: 0;
  background: transparent;
}
body.soulscan-login-theme .login-box-msg:empty {
  display: none;
}
body.soulscan-login-theme .form-control {
  width: 100%;
  border: 1px solid #d9d0c0;
  border-radius: 8px;
  background: #fff;
}
body.soulscan-login-theme .form-control:focus {
  border-color: #2f6f4e;
  box-shadow: 0 0 0 3px rgba(47, 111, 78, 0.15);
}
body.soulscan-login-theme .btn-primary,
body.soulscan-login-theme button[type="submit"] {
  background: #2f6f4e;
  border-color: #2f6f4e;
}
body.soulscan-login-theme .btn-primary:hover,
body.soulscan-login-theme button[type="submit"]:hover {
  background: #255a3f;
  border-color: #255a3f;
}
body.soulscan-login-theme .btn-primary.btn-flat {
  width: 100%;
  border-radius: 8px;
}
