/* SMART OFFICE shell. Loaded after the legacy styles. */
:root {
  --so-navy: #0c3d66;
  --so-blue: #155a96;
  --so-teal: #1c7f93;
  --so-ink: #1c2b38;
  --so-muted: #5d6d7c;
  --so-line: #d5e0ea;
  --so-card: #ffffff;
  --so-bg: #e8eef5;
}

html {
  background: var(--so-bg);
}

body,
body.claro {
  font-family: "Leelawadee UI", "Segoe UI", Tahoma, sans-serif !important;
  font-size: 15px !important;
  color: var(--so-ink);
  background: var(--so-bg) !important;
}

#header {
  height: auto;
  min-height: 92px;
  margin: 0 0 28px 0;
  background: linear-gradient(105deg, var(--so-navy) 0%, var(--so-blue) 58%, var(--so-teal) 100%) !important;
  border-bottom: 0;
  box-shadow: 0 8px 24px rgba(12, 61, 102, 0.22);
}

#header .container {
  width: min(1080px, calc(100% - 32px));
  padding: 18px 0 16px 0;
}

#header h1,
#main h1,
body h1 {
  font-family: "Leelawadee UI", "Segoe UI", Tahoma, sans-serif !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  letter-spacing: 0;
  display: block !important;
  margin: 0 !important;
}

#header h1 {
  color: #fff !important;
}

#main h1,
body h1 {
  color: var(--so-navy) !important;
}

#header h2 {
  color: #d6e7f5 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  margin: 4px 0 0 0 !important;
}

#header ul {
  top: 22px;
  margin: 0;
  padding: 0;
}

#header ul li a {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 6px 8px;
  margin-left: 8px;
}

#header ul li a:hover {
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.22);
}

#header ul li a.nav-text {
  height: 26px;
  line-height: 26px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
}

#header ul li.nav-2fa.is-start a.nav-text {
  border-radius: 8px 0 0 8px;
}

#header ul li.nav-2fa.is-end a.nav-text {
  margin-left: 0;
  border-radius: 0 8px 8px 0;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.35);
}

#main {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto 32px auto;
}

#content.innerBox {
  background: transparent;
}

.login-wrap {
  width: min(1080px, 100%) !important;
  margin: 0 auto 40px auto !important;
  display: flex;
  align-items: stretch;
  gap: 28px;
}

.login-hero {
  flex: 1 1 auto;
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
  background: #d7e4f0 url("../Images/login-hero.jpg") center / cover no-repeat;
  box-shadow: 0 10px 28px rgba(16, 42, 67, 0.08);
}

.login-hero img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.login-note {
  margin-top: 8px;
  padding: 12px 12px 4px;
  border-top: 1px solid var(--so-line);
  color: var(--so-muted);
  font-size: 13px;
  line-height: 1.45;
}

.login-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--so-navy);
  font-size: 14px;
}

.login-note p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--so-muted);
}

.store-links {
  display: flex;
  gap: 10px;
  margin: 2px 0 8px;
}

.store-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 72px;
  height: 72px;
  border: 1px solid var(--so-line);
  border-radius: 14px;
  background: #f4f8fb;
  color: var(--so-navy);
  text-decoration: none;
}

.store-link svg {
  width: 26px;
  height: 26px;
  display: block;
}

.store-link span {
  font-size: 12px;
  line-height: 1;
  color: var(--so-muted);
}

.store-link:hover,
.store-link:focus {
  border-color: var(--so-blue);
  background: #fff;
  color: var(--so-blue);
}

.login-card {
  float: none !important;
  flex: 0 0 340px;
  width: 340px;
  background: var(--so-card);
  border: 1px solid var(--so-line);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.1);
  padding: 8px 22px 22px;
  box-sizing: border-box;
}

.login-card h4,
.sidebar.login-card h4 {
  height: auto;
  line-height: 1.4;
  margin: 16px 0 8px 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  text-transform: none;
  text-shadow: none;
  color: var(--so-navy);
  font-size: 20px;
  font-weight: 650;
  border-radius: 0;
}

.login-card ul {
  margin: 0;
  padding: 0;
}

.login-card ul li {
  list-style: none;
  margin: 0 0 12px 0;
  padding: 0;
}

.login-card label {
  display: block !important;
  width: auto !important;
  margin-bottom: 4px;
  color: var(--so-muted);
  font-size: 13px;
}

.login-card input[type="text"],
.login-card input[type="password"],
.login-card .wijmo-wijtextbox,
.login-card input.wijmo-wijtextbox {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  height: 38px;
  border: 1px solid #c5d2de !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  font-family: "Leelawadee UI", "Segoe UI", Tahoma, sans-serif;
  font-size: 15px;
  background: #fff;
}

.login-card input[type="submit"],
.login-card .wijmo-wijbutton,
.login-card button {
  width: 100% !important;
  height: 40px;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--so-blue) !important;
  color: #fff !important;
  font-family: "Leelawadee UI", "Segoe UI", Tahoma, sans-serif;
  font-size: 15px;
  cursor: pointer;
}

#foot {
  height: auto;
  color: var(--so-muted);
  font-size: 13px;
  border-top: 1px solid var(--so-line);
  padding: 14px 0 4px 0;
}

#foot .innerBox {
  position: relative;
}

h2 {
  color: var(--so-blue);
}

#header h2 {
  color: #d6e7f5 !important;
}

a,
a:link {
  color: var(--so-blue);
}

@media (max-width: 860px) {
  .login-wrap {
    display: block;
  }

  .login-hero {
    display: none;
  }

  .login-card {
    width: 100%;
    flex: none;
  }
}
