﻿body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 200px;
  z-index: 100;
  padding: 0;
  background-color: #1a2e4a;
  color: #d8e2ee;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .15);
}

@media (max-width: 767.98px) {
  .sidebar {
    top: 0;
  }
}

.sidebar-sticky {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.sidebar-brand {
  padding: .75rem .5rem 1rem .5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.sidebar-brand a {
  color: #f1f5f9;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.35;
}

.sidebar-nav {
  padding-top: 1rem;
  flex: 1;
}

.sidebar .nav-link {
  font-weight: 500;
  color: #d8e2ee;
  display: flex;
  align-items: center;
  width: 180px;
  max-width: calc(100% - 12px);
  margin: 0 auto;
  padding: .45rem .25rem;
  white-space: nowrap;
}

.sidebar .nav-link .bi,
.sidebar .nav-link .feather {
  width: 1.5rem;
  text-align: center;
  color: #c6d4e3;
}

.sidebar .nav-link.active {
  color: #fff;
}

.sidebar .nav-link:hover,
.sidebar .nav-link:hover .bi,
.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .bi,
.sidebar .nav-link.active .feather {
  color: #fff;
}

.sidebar .nav-link.custom-size {
    font-size: .85rem;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

.sidebar-footer {
  padding: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.sidebar-user {
  margin-bottom: .5rem;
  color: #d8e2ee;
  font-size: .85rem;
  line-height: 1.35;
  word-break: break-word;
}

.sidebar-logout,
.sidebar-login {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: .9rem;
  text-decoration: none;
}

.sidebar-logout:hover,
.sidebar-login:hover {
  color: #fff;
  text-decoration: underline;
}

.main-content {
  width: calc(100% - 200px);
  margin-left: 200px;
}

/*
.plotly-legend-toggle-container {
  position: relative;
}

.plotly-legend-toggle {
  position: absolute;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .08rem .25rem;
  border: 0;
  background: rgba(255, 255, 255, .86);
  color: #475569;
  font-family: "Open Sans", verdana, arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.plotly-legend-toggle:hover,
.plotly-legend-toggle:focus {
  color: #1f2937;
}

.plotly-legend-toggle:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.plotly-legend-toggle-switch {
  position: relative;
  width: 1.8rem;
  height: .95rem;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background-color .15s ease;
}

.plotly-legend-toggle-switch::after {
  content: "";
  position: absolute;
  top: .13rem;
  left: .13rem;
  width: .69rem;
  height: .69rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .28);
  transition: transform .15s ease;
}

.plotly-legend-toggle.is-on .plotly-legend-toggle-switch {
  background: #2563eb;
}

.plotly-legend-toggle.is-on .plotly-legend-toggle-switch::after {
  transform: translateX(.85rem);
}
 */

/*
 * Navbar
 */

.navbar.bg-black {
  background-color: #000;
}

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: transparent;
  box-shadow: none;
}

.navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/* 霑ｽ蜉縲ゅ・繧ｿ繝ｳ縺ｫ縺ｪ縺｣縺ｦ繧ゅΜ繝ｳ繧ｯ縺ｨ蜷後§隕九◆逶ｮ繧堤ｶｭ謖√☆繧・*/
.nav-link {
    background: none;
    border: none;
    padding: .5rem 1rem;
    color: #333;
    text-align: left;
}

.nav-link.active {
    color: #007bff;
    font-weight: bold;
}

.nav-link:hover {
    color: #007bff;
}

/* login, register, login_denied逕ｨ縺ｮauth_base.html逕ｨ縺ｮcss險ｭ螳・*/

.auth-page {
  min-height: 100vh;
  background: #f4f6f8;
  font-family: 'Noto Sans JP', sans-serif;
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.auth-panel {
  width: 100%;
  max-width: 420px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.auth-brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
}

.auth-brand h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.auth-brand p {
  margin: 2px 0 0;
  color: #6c757d;
  font-size: .875rem;
}

.auth-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.auth-card h2 {
  margin-bottom: 20px;
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-section-label{
  font-size:10px;
  color:#8faabf;
  text-transform:uppercase;
  letter-spacing:.8px;
  list-style: none;
  padding:8px 16px 4px
}
