:root {
  color-scheme: light;
  --login-header: #ffffff;
  --login-shell: #e7edf4;
  --login-panel: #fdfefe;
  --login-panel-text: #223247;
  --login-title: #1f68b5;
  --login-label: #314155;
  --login-input-bg: #f4f7fa;
  --login-input-border: #c7d1dc;
  --login-input-text: #223247;
  --login-primary: #066fd1;
  --login-error-backdrop: rgba(16, 24, 40, 0.55);
  --login-error-surface: #ffffff;
  --login-error-border: #ebbbbb;
  --login-error-text: #a33434;
  --login-error-muted: #667085;
  --login-error-button: #066fd1;
  --login-toolbar-text: #667085;
  --muted: #667085;
  --hover: #eef6ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--login-shell);
  color: var(--login-panel-text);
  font-family: "Roboto", Arial, sans-serif;
}

p {
  color: #b3b3b3;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Roboto", sans-serif;
}

.body_container {
  width: 100%;
  max-width: 1230px;
  margin: auto;
  padding: 0;
}

.half,
.half .container > .row {
  height: calc(100vh - 120px);
  min-height: 700px;
}

.half .contents,
.half .bg {
  width: 50%;
}

.half .contents {
  background: var(--login-panel);
}

.half .contents .form-control,
.half .bg .form-control {
  height: 54px;
  border: 1px solid var(--login-input-border);
  border-radius: 0;
  background: var(--login-input-bg);
  color: var(--login-input-text);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.half .contents .form-control:active,
.half .contents .form-control:focus,
.half .bg .form-control:active,
.half .bg .form-control:focus {
  outline: none;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.half .bg {
  background-size: cover;
  background-position: center;
}

.half .btn {
  height: 54px;
  padding-left: 30px;
  padding-right: 30px;
}

html[data-bs-theme="dark"],
body[data-theme="dark"] {
  color-scheme: dark;
  --login-header: #1f2937;
  --login-shell: #111827;
  --login-panel: #182235;
  --login-panel-text: #e5edf8;
  --login-title: #9cc8ff;
  --login-label: #c9d5e6;
  --login-input-bg: #111827;
  --login-input-border: #314057;
  --login-input-text: #e5edf8;
  --login-primary: #066fd1;
  --login-error-backdrop: rgba(0, 0, 0, 0.72);
  --login-error-surface: #1f2937;
  --login-error-border: #74414c;
  --login-error-text: #ffb4b4;
  --login-error-muted: #9aa8bd;
  --login-error-button: #066fd1;
  --login-toolbar-text: #9aa8bd;
  --muted: #9aa8bd;
  --hover: #1d2a3f;
}

body[data-theme="dark"] {
  background-color: var(--login-shell);
}

html[data-bs-theme="dark"] body {
  background-color: var(--login-shell);
}

.login-header {
  background-color: var(--login-header) !important;
  position: relative;
  top: 0;
  height: 120px;
}

.login-logo {
  width: 355px;
}

html[data-bs-theme="dark"] .login-logo,
body[data-theme="dark"] .login-logo {
  filter: invert(1) grayscale(1) brightness(1.2) contrast(1.6);
  mix-blend-mode: screen;
}

.login-art {
  margin: 32px;
  background-image: url('../images/analytics.png');
  background-size: 100% auto !important;
  background-position: center center !important;
  background-repeat: no-repeat;
  background-color: transparent !important;
  background-blend-mode: normal !important;
}

body[data-theme="dark"] .login-art,
html[data-bs-theme="dark"] .login-art {
  filter: brightness(0.80);
}

.login-card-content {
  width: 60%;
}

.login-submit {
  border: none;
  border-radius: 0;
  padding: 14px 28px;
  cursor: pointer;
  width: 100%;
  margin-top: 50px;
  background-color: var(--login-primary);
  color: #ffffff;
  font-size: 15px;
}

.login-submit:disabled {
  cursor: wait;
  opacity: 1;
  background-color: #d1d5db;
  color: #6b7280;
  border: 1px solid #c5ccd6;
}

.login-toolbar {
  position: absolute;
  top: 44px;
  right: 22px;
  z-index: 2;
}

.login-theme-toggle {
  position: static;
  transform: none;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 0.12s, color 0.12s;
}

.login-theme-toggle:hover,
.login-theme-toggle:focus,
.login-theme-toggle:active,
.login-theme-toggle:focus-visible {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--muted) !important;
}

.login-theme-icon {
	width: 16px;
	height: 16px;
	display: block;
	color: inherit;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

#loginThemeIconMoon { display: block; }
#loginThemeIconSun { display: none; }
body[data-theme="dark"] #loginThemeIconMoon { display: none !important; }
body[data-theme="dark"] #loginThemeIconSun { display: block !important; }

.login-page-shell {
  background-color: var(--login-shell) !important;
}

.login-panel {
  background-color: var(--login-panel) !important;
  color: var(--login-panel-text) !important;
}

.login-panel label {
  color: var(--login-label);
}

.login-title {
  color: var(--login-title) !important;
  font-size: 30px;
}

.login-description {
  color: var(--login-panel-text) !important;
}

.login-error-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--login-error-backdrop);
}

.login-error-backdrop[hidden] {
  display: none;
}

.login-error-dialog {
  width: min(100%, 480px);
  border: 1px solid var(--login-error-border);
  border-radius: 0;
  background: var(--login-error-surface);
  color: var(--login-error-text);
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.28);
}

.login-error-head,
.login-error-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-color: var(--login-error-border);
}

.login-error-head {
  border-bottom: 1px solid var(--login-error-border);
}

.login-error-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.login-error-head p {
  margin: 3px 0 0;
  color: var(--login-error-muted);
  font-size: 0.82rem;
}

.login-error-body {
  padding: 18px 16px;
}

.login-error-message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.login-error-foot {
  justify-content: flex-end;
  border-top: 1px solid var(--login-error-border);
}

.login-error-close,
.login-error-close-button {
  border: 0;
  cursor: pointer;
}

.login-error-close {
  padding: 0 4px;
  background: transparent;
  color: var(--login-error-muted);
  font-size: 1.5rem;
  line-height: 1;
}

.login-error-close-button {
  padding: 7px 14px;
  border-radius: 0;
  background: var(--login-error-button);
  color: #ffffff;
}

@media (max-width: 1199.98px) {
  .half .contents,
  .half .bg {
    width: 100%;
  }
}


@media (max-width: 991.98px) {
  .half .bg {
    height: 200px;
  }
}
