/* ============================================================
   GENBA-PASS  —  現場業者向けオールインワンSaaS
   Design: Industrial Precision × Trust
   ============================================================ */

/* --- Variables ------------------------------------------- */
/* Mazer palette — Light base */
:root {
  --ink: #f3f4f7;
  /* page background  */
  --steel: #ffffff;
  /* card background  */
  --slate: #f8f9fc;
  /* card alt         */
  --accent: #435ebe;
  /* Mazer blue       */
  --accent2: #41bbdd;
  /* Mazer cyan       */
  --sky: #41bbdd;
  --ice: #e8f0fe;
  --white: #ffffff;
  --text-main: #1f2a3c;
  /* 本文テキスト      */
  --muted: #7a8ea8;
  --border: #dde3ee;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(67, 94, 190, .10);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

/* --- Reset & Base --------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: #1f2a3c;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #ffd580;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Utility -------------------------------------------- */
.text-accent {
  color: var(--accent);
}

.text-accent2 {
  color: var(--accent2);
}

.text-muted {
  color: #7a8ea8;
}

.font-head {
  font-family: var(--font-head);
}

.fw-900 {
  font-weight: 900;
}

.ls-wide {
  letter-spacing: .12em;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #dde3ee;
  transition: background var(--transition);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, .98);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .08em;
  color: #1f2a3c;
}

.brand img {
  margin-right: .6rem;
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: #ffffff;
}

.brand:hover {
  color: #1f2a3c;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: #5a6f8a;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: #1f2a3c;
}

.btn-nav-login {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent) !important;
  padding: .45rem 1.2rem;
  border-radius: var(--radius);
  font-size: .82rem !important;
  font-weight: 700 !important;
  transition: all var(--transition);
}

.btn-nav-login:hover {
  background: var(--accent);
  color: #ffffff !important;
}

.btn-nav-cta {
  background: var(--accent);
  color: var(--ink) !important;
  padding: .45rem 1.4rem;
  border-radius: var(--radius);
  font-size: .82rem !important;
  font-weight: 800 !important;
  transition: all var(--transition);
}

.btn-nav-cta:hover {
  background: #ffd580;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 60px;
}

/* ストライプ背景 */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-55deg,
      transparent,
      transparent 38px,
      rgba(67, 94, 190, .04) 38px,
      rgba(67, 94, 190, .04) 40px);
  pointer-events: none;
}

/* 右サイドグロー */
#hero::after {
  content: '';
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(67, 94, 190, .15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(67, 94, 190, .12);
  border: 1px solid rgba(67, 94, 190, .35);
  border-radius: 30px;
  padding: .3rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .4;
    transform: scale(1.5);
  }
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.0;
  letter-spacing: .02em;
  color: var(--text-main);
  margin-bottom: 1.6rem;
}

.hero-title .line-accent {
  color: var(--accent);
  -webkit-text-stroke: 1px var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: #5a7090;
  max-width: 520px;
  margin-bottom: 2.4rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .08em;
  padding: .85rem 2.2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-primary:hover {
  background: #ffd580;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(67, 94, 190, .4);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: #1f2a3c;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-ghost:hover {
  border-color: #7a8ea8;
  background: rgba(255, 255, 255, .05);
  color: #1f2a3c;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.stat-item {
  text-align: left;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.stat-num span {
  color: var(--accent);
}

.stat-label {
  font-size: .72rem;
  color: #7a8ea8;
  letter-spacing: .08em;
  margin-top: .2rem;
}

/* --- Auth Card ------------------------------------------ */
.auth-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.2rem;
  box-shadow: var(--shadow), 0 0 0 1px rgba(67, 94, 190, .08);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #435ebe, #41bbdd);
}

.auth-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.8rem;
  background: #f0f3fa;
  border-radius: var(--radius);
  padding: .3rem;
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: #7a8ea8;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  padding: .55rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.auth-tab.active {
  background: var(--accent);
  color: #ffffff;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7a8ea8;
  margin-bottom: .4rem;
}

.form-control-custom {
  width: 100%;
  background: #f5f7fc;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: #1f2a3c;
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .7rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control-custom::placeholder {
  color: #aab4c4;
}

.form-control-custom:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(67, 94, 190, .15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #435ebe 0%, #41bbdd 100%);
  color: #ffffff;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: .1em;
  padding: .85rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  margin-top: .5rem;
}

.btn-submit:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(67, 94, 190, .35);
}

.form-footer {
  text-align: center;
  font-size: .78rem;
  color: #7a8ea8;
  margin-top: 1rem;
}

.form-footer a {
  color: var(--accent);
  font-weight: 700;
}

.divider {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 1rem 0;
  color: #7a8ea8;
  font-size: .75rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================================
   FEATURES
   ============================================================ */
#features {
  padding: 100px 0;
  position: relative;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-sub {
  color: #7a8ea8;
  font-size: .95rem;
  max-width: 540px;
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #435ebe, #41bbdd);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.feature-card:hover {
  border-color: rgba(67, 94, 190, .3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(67, 94, 190, .12);
  border: 1px solid rgba(67, 94, 190, .25);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}

.feature-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .03em;
  margin-bottom: .6rem;
}

.feature-desc {
  font-size: .85rem;
  color: #7a8ea8;
  line-height: 1.75;
}

/* ============================================================
   PRICING
   ============================================================ */
#pricing {
  padding: 100px 0;
  background: #f3f4f7;
  position: relative;
}

#pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
      transparent,
      transparent 119px,
      rgba(255, 255, 255, .015) 119px,
      rgba(255, 255, 255, .015) 120px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.2rem;
  transition: all var(--transition);
}

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(67, 94, 190, .15);
  position: relative;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: .25rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #7a8ea8;
  margin-bottom: 1rem;
}

.plan-price {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: #1f2a3c;
  margin-bottom: .3rem;
}

.plan-price sup {
  font-size: 1.2rem;
  vertical-align: super;
}

.plan-price sub {
  font-size: .9rem;
  color: #7a8ea8;
  font-weight: 400;
}

.plan-note {
  font-size: .78rem;
  color: #7a8ea8;
  margin-bottom: 1.6rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
  color: #5a7090;
  padding: .45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features .chk {
  color: var(--accent);
  font-size: .9rem;
  flex-shrink: 0;
}

.btn-plan {
  width: 100%;
  padding: .8rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid var(--border);
  background: transparent;
  color: #1f2a3c;
}

.btn-plan:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-plan.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-plan.primary:hover {
  background: #ffd580;
  border-color: #ffd580;
  color: #ffffff;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials {
  padding: 100px 0;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.testi-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.8rem;
}

.testi-stars {
  color: var(--accent);
  font-size: .9rem;
  margin-bottom: .8rem;
}

.testi-text {
  font-size: .88rem;
  color: #5a7090;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #435ebe, #41bbdd);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1rem;
  color: #ffffff;
  flex-shrink: 0;
}

.testi-name {
  font-size: .85rem;
  font-weight: 700;
}

.testi-role {
  font-size: .75rem;
  color: #7a8ea8;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(67, 94, 190, .12) 0%, rgba(65, 187, 221, .08) 100%);
  border-top: 1px solid rgba(67, 94, 190, .15);
  border-bottom: 1px solid rgba(67, 94, 190, .15);
  text-align: center;
}

#cta .section-title {
  margin: 0 auto 1rem;
}

#cta p {
  color: #7a8ea8;
  margin-bottom: 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #1a2340;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: .78rem;
  color: #7a8ea8;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: .78rem;
  color: #7a8ea8;
}

.footer-links a:hover {
  color: #1f2a3c;
}

/* ============================================================
   TOAST / MODAL
   ============================================================ */
#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.toast-msg {
  background: #ffffff;
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  color: #1f2a3c;
  padding: .9rem 1.4rem;
  border-radius: var(--radius);
  font-size: .85rem;
  box-shadow: var(--shadow);
  animation: toastIn .3s ease;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .auth-card {
    max-width: 460px;
  }

  .features-grid,
  .pricing-grid,
  .testi-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .features-grid,
  .pricing-grid,
  .testi-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   PASSKEY UI
   ============================================================ */

/* パスキーログイン/登録ボタン */
.btn-passkey {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  background: rgba(67, 94, 190, .05);
  border: 1.5px solid rgba(67, 94, 190, .35);
  border-radius: var(--radius);
  color: #1f2a3c;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  padding: .85rem 1rem .7rem;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-passkey::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, .18), rgba(99, 102, 241, .18));
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-passkey:hover {
  border-color: rgba(59, 130, 246, .8);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(67, 94, 190, .22);
}

.btn-passkey:hover::before {
  opacity: 1;
}

.btn-passkey:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none;
}

.passkey-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.passkey-badge {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: #435ebe;
  text-transform: uppercase;
}

/* パスキー非対応メッセージ */
.passkey-unsupported {
  font-size: .75rem;
  color: #7a8ea8;
  text-align: center;
  padding: .5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* スキップリンク */
.btn-skip {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #7a8ea8;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  padding: .4rem;
  transition: color var(--transition);
}

.btn-skip:hover {
  color: #1f2a3c;
}

/* パスキー処理中スピナー */
.passkey-loading {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.passkey-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .25);
  border-top-color: #1f2a3c;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* パスキー成功アニメーション */
@keyframes passkeySuccess {
  0% {
    transform: scale(.8);
    opacity: 0;
  }

  60% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.passkey-success-icon {
  font-size: 2.5rem;
  animation: passkeySuccess .5s ease forwards;
  display: block;
  text-align: center;
  margin-bottom: .5rem;
}

/* ============================================================
   STEP LOGIN UI
   ============================================================ */

/* ステップラベル */
.login-step-label {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a8ea8;
  margin-bottom: 1.1rem;
}

.login-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* 戻るボタン */
.login-back-btn {
  background: none;
  border: none;
  color: #7a8ea8;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: color var(--transition);
}

.login-back-btn:hover {
  color: #1f2a3c;
}

/* メールアドレス確認バッジ */
.login-user-badge {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: .4rem .9rem .4rem .5rem;
  margin-bottom: 1.4rem;
  font-size: .83rem;
  font-weight: 600;
  color: #a0c0e0;
  max-width: 100%;
  overflow: hidden;
}

.login-user-icon {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* パスキーヒントテキスト */
.passkey-hint {
  font-size: .82rem;
  color: #7a8ea8;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* 大きめパスキーボタン */
.btn-passkey-large {
  padding: 1.1rem 1rem .9rem !important;
}

.btn-passkey-large .passkey-icon {
  font-size: 1.8rem !important;
}

/* ステップ切り替えアニメーション */
.login-step-enter {
  animation: stepIn .25s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.login-step-back {
  animation: stepBack .25s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes stepBack {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================================
   APPLE-STYLE STEP LOGIN
   ============================================================ */

/* ステップ共通 */
.login-step {}

/* ロゴ中央寄せ */
.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: .2rem;
}

/* タイトル・サブ */
.login-step-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: .02em;
  color: var(--text-main);
  margin-bottom: .35rem;
}

.login-step-sub {
  font-size: .82rem;
  color: #7a8ea8;
  text-align: center;
  margin-bottom: 0;
}

/* 入力フィールド中央寄せ版 */
.form-control-center {
  text-align: center;
  font-size: .95rem;
  letter-spacing: .02em;
}

.form-control-center::placeholder {
  text-align: center;
}

/* 戻るボタン */
.login-back-btn {
  background: none;
  border: none;
  color: #7a8ea8;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: color var(--transition);
}

.login-back-btn:hover {
  color: #1f2a3c;
}

/* メールアドレス確認ボックス */
.login-identity-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .9rem;
  background: #f3f6fc;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.login-identity-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #435ebe, #41bbdd);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #ffffff;
}

.login-identity-avatar i {
  display: block;
  line-height: 1;
  transform: translate(-1px, -5px);
}

.login-identity-email {
  font-size: .88rem;
  font-weight: 700;
  color: #1f2a3c;
  word-break: break-all;
  text-align: center;
}

/* 認証手段選択ボタン共通 */
.btn-auth-choice {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin-top: .75rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  color: #1f2a3c;
}

.btn-auth-choice:first-of-type {
  margin-top: 1rem;
}

.btn-auth-choice:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}

/* パスキーボタン — アクセント枠 */
.btn-auth-passkey {
  border-color: rgba(59, 130, 246, .45);
  background: rgba(59, 130, 246, .07);
}

.btn-auth-passkey:hover {
  border-color: rgba(59, 130, 246, .85);
  background: rgba(59, 130, 246, .14);
}

/* パスワードボタン — 控えめ */
.btn-auth-password {
  border-color: var(--border);
  background: #fafbfd;
}

.btn-auth-password:hover {
  border-color: #7a8ea8;
}

/* アイコン */
.auth-choice-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

/* テキスト部 */
.auth-choice-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .18rem;
}

.auth-choice-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: #1f2a3c;
}

.auth-choice-desc {
  font-size: .75rem;
  color: #7a8ea8;
  line-height: 1.4;
}

/* 右矢印 */
.auth-choice-arrow {
  color: #7a8ea8;
  font-size: .9rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.btn-auth-choice:hover .auth-choice-arrow {
  transform: translateX(3px);
  color: #1f2a3c;
}

/* ステップスライドアニメーション */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(22px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-22px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-anim-forward {
  animation: slideInRight .28s cubic-bezier(.4, 0, .2, 1) both;
}

.step-anim-back {
  animation: slideInLeft .28s cubic-bezier(.4, 0, .2, 1) both;
}

/* ============================================================
   2FA / OTP UI
   ============================================================ */

/* 2FAアイコン */
.twofa-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(67, 94, 190, .1);
  border: 2px solid rgba(67, 94, 190, .2);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: var(--accent);
  margin: 0 auto 1.2rem;
}

.twofa-icon i.bi-envelope-check {
  display: block;
  line-height: 1;
  transform: translate(-5px, -5px);
}


/* OTPボックス群 */
.otp-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 1.6rem 0 1.4rem;
}

.otp-sep {
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  padding: 0 .1rem;
  user-select: none;
}

/* 1マス */
.otp-input {
  width: 46px;
  height: 54px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: #f5f7fc;
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-main);
  caret-color: var(--accent);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  -moz-appearance: textfield;
}

.otp-input::-webkit-inner-spin-button,
.otp-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.otp-input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(67, 94, 190, .15);
}

/* 入力済みのマス */
.otp-input.filled {
  border-color: var(--accent);
  background: rgba(67, 94, 190, .06);
  color: var(--accent);
}

/* 完成時（全6桁入力） */
.otp-input.complete {
  border-color: #27ae60;
  background: rgba(39, 174, 96, .06);
  color: #27ae60;
}

/* エラー時 */
.otp-input.error {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, .05);
  animation: otpShake .4s ease;
}

@keyframes otpShake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-5px);
  }

  40% {
    transform: translateX(5px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

/* 再送信エリア */
.twofa-resend {
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  flex-wrap: wrap;
}

.twofa-resend-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: opacity var(--transition);
}

.twofa-resend-btn:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.twofa-timer {
  color: var(--muted);
  font-size: .75rem;
  min-width: 2.5rem;
}

.alert {
  border: none
}

.alert p {
  margin-bottom: 0
}

.alert button.close {
  padding: .75rem;
  line-height: .75
}

.alert .alert-heading,
.alert .alert-heading+p {
  margin-left: .4rem
}

.alert-primary {
  background-color: #435ebe;
  color: #fff
}

.alert-primary a {
  color: #fff;
  font-weight: 700
}

.alert-secondary {
  background-color: #ebeef3;
  color: #383d41
}

.alert-secondary a {
  color: #fff;
  font-weight: 700
}

.alert-success {
  background-color: #4fbe87;
  color: #fff
}

.alert-success a {
  color: #fff;
  font-weight: 700
}

.alert-warning {
  background-color: #eaca4a;
  color: #fff
}

.alert-warning a {
  color: #fff;
  font-weight: 700
}

.alert-danger {
  background-color: #f3616d;
  color: #fff
}

.alert-danger a {
  color: #fff;
  font-weight: 700
}

.alert-dark {
  background-color: #454546;
  color: #fff
}

.alert-dark a {
  color: #fff;
  font-weight: 700
}

.alert-light {
  background-color: #f9f9f9;
  color: #818182
}

.alert-light a {
  color: #fff;
  font-weight: 700
}

.alert-info {
  background-color: #56b6f7;
  color: #fff
}

.alert-info a {
  color: #fff;
  font-weight: 700
}

.alert-light-primary {
  background-color: #ebf3ff
}

.alert-light-secondary {
  background-color: #e6eaee
}

.alert-light-success {
  background-color: #d2ffe8
}

.alert-light-danger {
  background-color: #ffdede
}

.alert-light-warning {
  background-color: #fffdd8
}

.alert-light-info {
  background-color: #e6fdff
}

.avatar {
  display: inline-flex;
  border-radius: 50%;
  text-align: center;
  vertical-align: middle;
  position: relative
}

.avatar .avatar-content {
  width: 32px;
  height: 32px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: .875rem
}

.avatar .avatar-content i,
.avatar .avatar-content svg {
  color: #fff;
  font-size: 1rem;
  height: 1rem
}

.avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%
}

.avatar .avatar-status {
  width: .7rem;
  height: .7rem;
  position: absolute;
  border-radius: 50%;
  border: 1px solid #fff;
  bottom: 0;
  right: 0
}

.avatar.avatar-sm .avatar-content,
.avatar.avatar-sm img {
  width: 24px;
  height: 24px;
  font-size: .8rem
}

.avatar.avatar-md .avatar-content,
.avatar.avatar-md img {
  width: 32px;
  height: 32px;
  font-size: .8rem
}

.avatar.avatar-lg .avatar-content,
.avatar.avatar-lg img {
  width: 48px;
  height: 48px;
  font-size: 1.2rem
}

.avatar.avatar-xl .avatar-content,
.avatar.avatar-xl img {
  width: 60px;
  height: 60px;
  font-size: 1.4rem
}

.btn .badge {
  border-radius: 50%;
  margin-left: 5px
}

.btn .badge.bg-transparent {
  background-color: hsla(0, 0%, 100%, .25) !important;
  color: #fff
}

.btn i,
.btn svg {
  width: 16px;
  height: 16px
}

.btn.icon {
  padding: .4rem .6rem
}

.btn.icon svg {
  width: 16px;
  height: 16px
}

.btn.icon.icon-left svg {
  margin-right: 3px
}

.btn.icon.icon-right svg {
  margin-left: 3px
}

.btn.btn-outline-white {
  color: #fff;
  border-color: #fff
}

.btn.btn-outline-white:hover {
  color: #333;
  background-color: #fff
}

.btn.btn-light-primary {
  background-color: #ebf3ff;
  color: #002152
}

.btn.btn-light-secondary {
  background-color: #e6eaee;
  color: #181e24
}

.btn.btn-light-success {
  background-color: #d2ffe8;
  color: #00391c
}

.btn.btn-light-danger {
  background-color: #ffdede;
  color: #450000
}

.btn.btn-light-warning {
  background-color: #fffdd8;
  color: #3f3c00
}

.btn.btn-light-info {
  background-color: #e6fdff;
  color: #00474d
}

.btn.btn-danger,
.btn.btn-info,
.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-success,
.btn.btn-warning {
  color: #fff
}

.btn.btn-light {
  color: #607080
}

.btn.btn-dark {
  color: #fff
}

.btn-block {
  width: 100%
}

.btn-group:not(.dropdown) .btn:not([class*=btn-]) {
  border: 1px solid #dfe3e7
}

.btn-group>.btn {
  border-radius: .267rem
}

.buttons .btn {
  margin: 0 10px 10px 0
}

.breadcrumb.breadcrumb-right {
  justify-content: flex-end;
  margin-top: 1rem
}

.breadcrumb.breadcrumb-center {
  justify-content: center;
  margin-top: 1rem
}

.carousel-inner {
  border-radius: .7rem
}

.carousel-caption h5 {
  color: #fff
}

.card {
  margin-bottom: 2.2rem;
  border: none
}

.card.card-statistic {
  box-shadow: 1px 2px 5px rgba(47, 170, 244, .5);
  background: linear-gradient(180deg, #25a6f1, #54b9ff)
}

.card.card-statistic .card-title {
  text-transform: uppercase;
  color: #fff;
  letter-spacing: .8px;
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 0;
  margin-top: 5px
}

.card.card-statistic .card-right p {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0
}

.card.card-statistic .card-right span.green {
  color: #6fff6f
}

.card.card-statistic .card-right span.red {
  color: #ff7979
}

.card.card-statistic .chart-wrapper {
  height: 100px
}

.card .card-header {
  border: none
}

.card .card-header h4 {
  font-size: 1.2rem;
  font-weight: 700
}

.card .card-header~.card-body {
  padding-top: 0
}

.card .card-content {
  position: relative
}

.card .card-title {
  font-size: 1.2rem
}

.card .card-body {
  padding: 1.5rem
}

.card .card-heading {
  color: #555;
  font-size: 1.5rem
}

.card .card-img-overlay {
  background-color: rgba(0, 0, 0, .6)
}

.card .card-img-overlay p {
  color: #eee
}

.card .card-img-overlay .card-title {
  color: #fff
}

.pricing .card {
  box-shadow: none;
  border-right: 1px solid #e9ecef;
  box-shadow: 0 10px 10px #e9ecef;
  margin-bottom: .5rem
}

.pricing h1 {
  text-align: center;
  font-size: 4rem;
  margin-bottom: 3rem
}

.pricing .card-header .card-title {
  font-size: 2rem !important;
  margin-bottom: 0
}

.pricing .card-header p {
  font-size: .8rem
}

.pricing ul li {
  list-style: none;
  margin-bottom: .5rem
}

.pricing ul li i,
.pricing ul li svg {
  width: 1rem;
  color: #198754;
  font-size: 1rem;
  margin-right: 7px
}

.pricing .card-highlighted {
  background-color: #435ebe;
  padding-top: 20px;
  padding-bottom: 20px
}

.pricing .card-highlighted .card-body,
.pricing .card-highlighted .card-header {
  background-color: #435ebe;
  color: #fff
}

.pricing .card-highlighted ul li {
  color: #fff
}

.pricing .card-highlighted ul li i,
.pricing .card-highlighted ul li svg {
  color: #479f76
}

.pricing .card-highlighted .card-footer {
  background-color: #435ebe
}

.pricing .card-highlighted .card-title {
  color: #fff;
  font-size: 1.8rem
}

.divider {
  display: block;
  text-align: center;
  overflow: hidden;
  margin: 1rem 0
}

.divider .divider-text {
  position: relative;
  display: inline-block;
  padding: 0 1rem;
  background-color: #fff
}

.divider .divider-text:after,
.divider .divider-text:before {
  content: "";
  position: absolute;
  top: 50%;
  width: 9999px;
  border-top: 1px solid #dfe3e7
}

.divider .divider-text:before {
  right: 100%
}

.divider .divider-text:after {
  left: 100%
}

.divider.divider-left .divider-text {
  left: 0;
  float: left;
  padding-left: 0
}

.divider.divider-left-center .divider-text {
  left: -25%
}

.divider.divider-right-center .divider-text {
  left: 25%
}

.divider.divider-right .divider-text {
  float: right;
  padding-right: 0
}

.dropdown-toggle:after {
  color: #fff
}

.dropdown-menu-large {
  min-width: 16rem
}

.dropdown-menu {
  box-shadow: 0 0 30px rgba(0, 0, 0, .03)
}

.dropdown-item {
  transition: all .5s
}

.form-group {
  margin-bottom: .7rem
}

.form-group label {
  color: rgba(35, 28, 99, .7);
  font-weight: 600
}

.form-group small {
  font-size: .7rem
}

.form-group.with-title {
  position: relative
}

.form-group.with-title label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px;
  font-size: .6rem;
  background-color: #e9ecef;
  width: 100%;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.form-group.with-title .form-control,
.form-group.with-title dataTable-input {
  padding-top: 2rem
}

.form-group.with-title .form-control:focus~label,
.form-group.with-title dataTable-input:focus~label {
  border-left: 1px solid #435ebe;
  border-top: 1px solid #435ebe;
  border-right: 1px solid #435ebe
}

.form-group[class*=has-icon-].has-icon-left .form-control {
  padding-left: 2.5rem
}

.form-group[class*=has-icon-].has-icon-left .form-control-icon {
  left: 0
}

.form-group[class*=has-icon-].has-icon-right .form-control {
  padding-right: 2.5rem
}

.form-group[class*=has-icon-].has-icon-right .form-control-icon {
  right: 0
}

.form-group[class*=has-icon-] .form-control:focus~.form-control-icon i,
.form-group[class*=has-icon-] .form-control:focus~.form-control-icon svg {
  color: #5a8dee
}

.form-group[class*=has-icon-] .form-control.form-control-xl {
  padding-left: 3rem
}

.form-group[class*=has-icon-] .form-control.form-control-xl~.form-control-icon i {
  font-size: 1.6rem
}

.form-group[class*=has-icon-] .form-control.form-control-xl~.form-control-icon i:before {
  color: #a6a8aa
}

.form-group[class*=has-icon-] .form-control-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 .6rem
}

.form-group[class*=has-icon-] .form-control-icon i,
.form-group[class*=has-icon-] .form-control-icon svg {
  width: 1.2rem;
  color: #6c757d;
  font-size: 1.2rem
}

.form-group[class*=has-icon-] .form-control-icon i:before,
.form-group[class*=has-icon-] .form-control-icon svg:before {
  vertical-align: sub
}

.form-control.form-control-xl {
  padding: .85rem 1rem;
  font-size: 1.2rem
}

.form-check .form-check-input[class*=bg-] {
  border: 0
}

.form-check .form-check-input:focus {
  box-shadow: none
}

.form-check .form-check-input.form-check-primary {
  background-color: #435ebe;
  border-color: #435ebe
}

.form-check .form-check-input.form-check-primary:not(:checked) {
  background-color: transparent;
  border: 1px solid #ced4da
}

.form-check .form-check-input.form-check-primary.form-check-glow {
  box-shadow: 0 0 5px #697ecb
}

.form-check .form-check-input.form-check-primary.form-check-glow:not(:checked) {
  box-shadow: none
}

.form-check .form-check-input.form-check-secondary {
  background-color: #6c757d;
  border-color: #6c757d
}

.form-check .form-check-input.form-check-secondary:not(:checked) {
  background-color: transparent;
  border: 1px solid #ced4da
}

.form-check .form-check-input.form-check-secondary.form-check-glow {
  box-shadow: 0 0 5px #868e96
}

.form-check .form-check-input.form-check-secondary.form-check-glow:not(:checked) {
  box-shadow: none
}

.form-check .form-check-input.form-check-success {
  background-color: #198754;
  border-color: #198754
}

.form-check .form-check-input.form-check-success:not(:checked) {
  background-color: transparent;
  border: 1px solid #ced4da
}

.form-check .form-check-input.form-check-success.form-check-glow {
  box-shadow: 0 0 5px #21b26f
}

.form-check .form-check-input.form-check-success.form-check-glow:not(:checked) {
  box-shadow: none
}

.form-check .form-check-input.form-check-info {
  background-color: #0dcaf0;
  border-color: #0dcaf0
}

.form-check .form-check-input.form-check-info:not(:checked) {
  background-color: transparent;
  border: 1px solid #ced4da
}

.form-check .form-check-input.form-check-info.form-check-glow {
  box-shadow: 0 0 5px #3cd5f4
}

.form-check .form-check-input.form-check-info.form-check-glow:not(:checked) {
  box-shadow: none
}

.form-check .form-check-input.form-check-warning {
  background-color: #ffc107;
  border-color: #ffc107
}

.form-check .form-check-input.form-check-warning:not(:checked) {
  background-color: transparent;
  border: 1px solid #ced4da
}

.form-check .form-check-input.form-check-warning.form-check-glow {
  box-shadow: 0 0 5px #ffce3a
}

.form-check .form-check-input.form-check-warning.form-check-glow:not(:checked) {
  box-shadow: none
}

.form-check .form-check-input.form-check-danger {
  background-color: #dc3545;
  border-color: #dc3545
}

.form-check .form-check-input.form-check-danger:not(:checked) {
  background-color: transparent;
  border: 1px solid #ced4da
}

.form-check .form-check-input.form-check-danger.form-check-glow {
  box-shadow: 0 0 5px #e4606d
}

.form-check .form-check-input.form-check-danger.form-check-glow:not(:checked) {
  box-shadow: none
}

.form-check .form-check-input.form-check-light {
  background-color: #f8f9fa;
  border-color: #f8f9fa
}

.form-check .form-check-input.form-check-light:not(:checked) {
  background-color: transparent;
  border: 1px solid #ced4da
}

.form-check .form-check-input.form-check-light.form-check-glow {
  box-shadow: 0 0 5px #fff
}

.form-check .form-check-input.form-check-light.form-check-glow:not(:checked) {
  box-shadow: none
}

.form-check .form-check-input.form-check-dark {
  background-color: #212529;
  border-color: #212529
}

.form-check .form-check-input.form-check-dark:not(:checked) {
  background-color: transparent;
  border: 1px solid #ced4da
}

.form-check .form-check-input.form-check-dark.form-check-glow {
  box-shadow: 0 0 5px #383f45
}

.form-check .form-check-input.form-check-dark.form-check-glow:not(:checked) {
  box-shadow: none
}

.form-check.form-check-sm .form-check-input {
  width: .9rem;
  height: .9rem;
  margin-top: .3em
}

.form-check.form-check-sm label {
  font-size: .7rem
}

.form-check.form-check-lg .form-check-input {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: .3em
}

.form-check.form-check-lg label {
  font-size: 1rem
}

.form-check.form-check-primary .form-check-input {
  background-color: #435ebe;
  border-color: #435ebe
}

.form-check.form-check-secondary .form-check-input {
  background-color: #6c757d;
  border-color: #6c757d
}

.form-check.form-check-success .form-check-input {
  background-color: #198754;
  border-color: #198754
}

.form-check.form-check-info .form-check-input {
  background-color: #0dcaf0;
  border-color: #0dcaf0
}

.form-check.form-check-warning .form-check-input {
  background-color: #ffc107;
  border-color: #ffc107
}

.form-check.form-check-danger .form-check-input {
  background-color: #dc3545;
  border-color: #dc3545
}

.form-check.form-check-light .form-check-input {
  background-color: #f8f9fa;
  border-color: #f8f9fa
}

.form-check.form-check-dark .form-check-input {
  background-color: #212529;
  border-color: #212529
}

.dataTable-input {
  min-height: calc(1.5em + .934rem + 2px);
  padding: .467rem .6rem;
  font-size: .9025rem;
  font-weight: 400;
  line-height: 1.5;
  color: #555252;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #dfe3e7;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.dataTable-input:focus {
  color: #555252;
  background-color: #fff;
  border-color: #5a8dee;
  outline: 0;
  box-shadow: 0 3px 8px 0 rgba(0, 0, 0, .1)
}

.modal .modal-content {
  box-shadow: -8px 12px 18px 0 rgba(25, 42, 70, .13);
  border: none
}

.modal .modal-full {
  max-width: 94%
}

.modal .white {
  color: #fff
}

.modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.modal .modal-header .modal-title {
  font-size: 1.1rem
}

.modal .modal-header .close {
  padding: 7px 10px;
  border-radius: 50%;
  background: none;
  border: none
}

.modal .modal-header .close:hover {
  background: #dee2e6
}

.modal .modal-header i,
.modal .modal-header svg {
  font-size: 12px;
  height: 12px;
  width: 12px
}

.modal .modal-footer {
  padding: 1rem
}

.modal.modal-borderless .modal-header {
  border-bottom: 0
}

.modal.modal-borderless .modal-footer {
  border-top: 0
}

#sidebar.active .sidebar-wrapper {
  left: 0
}

#sidebar:not(.active) .sidebar-wrapper {
  left: -300px
}

#sidebar:not(.active)~#main {
  margin-left: 0
}

.sidebar-wrapper {
  width: 300px;
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: 10;
  overflow-y: auto;
  background-color: #fff;
  bottom: 0;
  transition: left .5s ease-out
}

.sidebar-wrapper .sidebar-header {
  padding: 2rem 2rem 1rem;
  font-size: 2rem;
  font-weight: 700
}

.sidebar-wrapper .sidebar-header img {
  height: 1.2rem
}

.sidebar-wrapper .sidebar-toggler.x {
  position: absolute;
  right: 0;
  top: .5rem;
  display: none
}

.sidebar-wrapper .menu {
  margin-top: 2rem;
  padding: 0 2rem;
  font-weight: 600
}

.sidebar-wrapper .menu .sidebar-title {
  padding: 0 1rem;
  margin: 1.5rem 0 1rem;
  font-size: 1rem;
  list-style: none;
  font-weight: 600;
  color: #25396f
}

.sidebar-wrapper .menu .sidebar-link {
  display: block;
  padding: .7rem 1rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  border-radius: .5rem;
  transition: all .5s;
  text-decoration: none;
  color: #25396f
}

.sidebar-wrapper .menu .sidebar-link i,
.sidebar-wrapper .menu .sidebar-link svg {
  color: #7c8db5
}

.sidebar-wrapper .menu .sidebar-link span {
  margin-left: 1rem
}

.sidebar-wrapper .menu .sidebar-link:hover {
  background-color: #f0f1f5
}

.sidebar-wrapper .menu .sidebar-item {
  list-style: none;
  margin-top: .5rem;
  position: relative
}

.sidebar-wrapper .menu .sidebar-item.has-sub .sidebar-link:after {
  content: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><path stroke="gray" stroke-width="1" d="M6 9l6 6 6-6"/></svg>');
  position: absolute;
  color: #ccc;
  right: 15px;
  top: 12px;
  display: block
}

.sidebar-wrapper .menu .sidebar-item.active .sidebar-link {
  background-color: #435ebe
}

.sidebar-wrapper .menu .sidebar-item.active .sidebar-link span {
  color: #fff
}

.sidebar-wrapper .menu .sidebar-item.active .sidebar-link i,
.sidebar-wrapper .menu .sidebar-item.active .sidebar-link svg {
  fill: #fff;
  color: #fff
}

.sidebar-wrapper .menu .sidebar-item.active .sidebar-link.has-sub:after {
  content: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><path stroke="%23fff" stroke-width="1" d="M6 9l6 6 6-6"/></svg>')
}

.sidebar-wrapper .menu .submenu {
  list-style: none;
  display: none;
  transition: max-height 2s cubic-bezier(0, .55, .45, 1);
  overflow: hidden
}

.sidebar-wrapper .menu .submenu.active {
  max-height: 999px;
  display: block
}

.sidebar-wrapper .menu .submenu .submenu-item.active {
  position: relative
}

.sidebar-wrapper .menu .submenu .submenu-item.active>a {
  color: #435ebe;
  font-weight: 700
}

.sidebar-wrapper .menu .submenu .submenu-item a {
  padding: .7rem 2rem;
  display: block;
  color: #25396f;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .5px;
  transition: all .3s
}

.sidebar-wrapper .menu .submenu .submenu-item a:hover {
  margin-left: .3rem
}

@media screen and (max-width:1199px) {
  .sidebar-wrapper {
    position: absolute;
    left: -300px
  }

  .sidebar-wrapper .sidebar-toggler.x {
    display: block
  }
}

.nav-pills .nav-link.active {
  box-shadow: 0 2px 10px rgba(67, 94, 190, .5)
}

.nav-tabs,
.nav-tabs .nav-link {
  border: none
}

.nav-tabs .nav-link:hover {
  border: none;
  text-shadow: 0 0 2px rgba(67, 94, 190, .3)
}

.nav-tabs .nav-link.active {
  border: none;
  position: relative;
  color: #435ebe
}

.nav-tabs .nav-link.active:after {
  content: "";
  width: 100%;
  position: absolute;
  bottom: 0;
  height: 2px;
  background-color: #435ebe;
  left: 0;
  box-shadow: 0 2px 5px rgba(67, 94, 190, .5)
}

.navbar-fixed {
  position: fixed;
  background-color: #fff
}

.navbar {
  height: 90px;
  padding: 1.5rem
}

.navbar .navbar-brand img {
  height: 1.5rem
}

.navbar .user-menu img {
  width: 39px;
  height: 39px
}

.navbar.navbar-header li {
  display: flex;
  align-items: center
}

.navbar.navbar-header li.nav-icon {
  margin-right: .4rem
}

.navbar.navbar-header li.nav-icon .nav-link {
  display: block;
  padding: .4rem;
  border-radius: 50%
}

.navbar.navbar-header li.nav-icon .nav-link:hover {
  background-color: #e9ecef
}

.navbar.navbar-header .dropdown>a {
  color: #6c757d;
  font-weight: 600
}

.navbar.navbar-header .dropdown>a svg {
  height: 24px;
  width: 24px
}

.navbar.navbar-header .dropdown>a:after {
  display: none
}

.pagination.pagination-primary .page-item.active .page-link {
  background-color: #435ebe;
  border-color: #435ebe;
  box-shadow: 0 2px 5px rgba(67, 94, 190, .3)
}

.pagination.pagination-secondary .page-item.active .page-link {
  background-color: #6c757d;
  border-color: #6c757d;
  box-shadow: 0 2px 5px rgba(108, 117, 125, .3)
}

.pagination.pagination-success .page-item.active .page-link {
  background-color: #198754;
  border-color: #198754;
  box-shadow: 0 2px 5px rgba(25, 135, 84, .3)
}

.pagination.pagination-info .page-item.active .page-link {
  background-color: #0dcaf0;
  border-color: #0dcaf0;
  box-shadow: 0 2px 5px rgba(13, 202, 240, .3)
}

.pagination.pagination-warning .page-item.active .page-link {
  background-color: #ffc107;
  border-color: #ffc107;
  box-shadow: 0 2px 5px rgba(255, 193, 7, .3)
}

.pagination.pagination-danger .page-item.active .page-link {
  background-color: #dc3545;
  border-color: #dc3545;
  box-shadow: 0 2px 5px rgba(220, 53, 69, .3)
}

.pagination.pagination-light .page-item.active .page-link {
  background-color: #f8f9fa;
  border-color: #f8f9fa;
  box-shadow: 0 2px 5px rgba(248, 249, 250, .3)
}

.pagination.pagination-dark .page-item.active .page-link {
  background-color: #212529;
  border-color: #212529;
  box-shadow: 0 2px 5px rgba(33, 37, 41, .3)
}

.page-item:not(.active) .page-link:hover {
  color: #000
}

.page-item i,
.page-item svg {
  font-size: 13px;
  width: 13px;
  height: 13px
}

.page-item .page-link {
  font-size: .875rem
}

.page-item .page-link:focus {
  box-shadow: none
}

.page-item:first-child {
  margin-right: .4rem
}

.page-item:last-child {
  margin-left: .4rem
}

.dataTable-table td,
.dataTable-table thead th,
.table td,
.table thead th {
  vertical-align: middle
}

.dataTable-table:not(.table-borderless) thead th,
.table:not(.table-borderless) thead th {
  border-bottom: 1px solid #dedede !important
}

.table-md.dataTable-table tr td,
.table-md.dataTable-table tr th,
.table-sm.dataTable-table tr td,
.table-sm.dataTable-table tr th,
.table.table-md tr td,
.table.table-md tr th,
.table.table-sm tr td,
.table.table-sm tr th {
  padding: 1rem
}

.table-lg.dataTable-table tr td,
.table-lg.dataTable-table tr th,
.table.table-lg tr td,
.table.table-lg tr th {
  padding: 1.3rem
}

.dataTable-container {
  overflow-x: auto
}

.progress.progress-primary {
  overflow: visible
}

.progress.progress-primary .progress-bar {
  background-color: #435ebe;
  border-radius: .25rem
}

.progress.progress-secondary {
  overflow: visible
}

.progress.progress-secondary .progress-bar {
  background-color: #6c757d;
  border-radius: .25rem
}

.progress.progress-success {
  overflow: visible
}

.progress.progress-success .progress-bar {
  background-color: #198754;
  border-radius: .25rem
}

.progress.progress-info {
  overflow: visible
}

.progress.progress-info .progress-bar {
  background-color: #0dcaf0;
  border-radius: .25rem
}

.progress.progress-warning {
  overflow: visible
}

.progress.progress-warning .progress-bar {
  background-color: #ffc107;
  border-radius: .25rem
}

.progress.progress-danger {
  overflow: visible
}

.progress.progress-danger .progress-bar {
  background-color: #dc3545;
  border-radius: .25rem
}

.progress.progress-light {
  overflow: visible
}

.progress.progress-light .progress-bar {
  background-color: #f8f9fa;
  border-radius: .25rem
}

.progress.progress-dark {
  overflow: visible
}

.progress.progress-dark .progress-bar {
  background-color: #212529;
  border-radius: .25rem
}

.progress.progress-sm {
  height: .4rem
}

.progress.progress-lg {
  height: 1.5rem
}

.progress .progress-bar {
  position: relative;
  overflow: visible
}

.progress .progress-bar.progress-label:before {
  content: attr(aria-valuenow) "%";
  position: absolute;
  right: 0;
  top: -1.3rem;
  color: #495057;
  font-size: .8rem
}

.bi {
  width: 1rem;
  height: 1rem
}

.bi.bi-middle:before {
  vertical-align: middle
}

.bi.bi-sub:before {
  vertical-align: sub
}

.stats-icon {
  width: 3rem;
  height: 3rem;
  border-radius: .5rem;
  background-color: #000;
  float: right;
  display: flex;
  align-items: center;
  justify-content: center
}

.stats-icon i {
  color: #fff;
  font-size: 1.7rem
}

.stats-icon.purple {
  background-color: #9694ff
}

.stats-icon.blue {
  background-color: #57caeb
}

.stats-icon.red {
  background-color: #ff7976
}

.stats-icon.green {
  background-color: #5ddab4
}

@media (max-width:767px) {
  .stats-icon {
    float: left;
    margin-bottom: .4rem
  }
}

.burger-btn {
  display: none
}

#main {
  margin-left: 300px;
  padding: 2rem
}

@media screen and (max-width:1199px) {
  #main {
    margin-left: 0
  }
}

#main.layout-navbar {
  padding: 0
}

#main #main-content {
  padding: 2rem
}

.page-heading {
  margin: 0 0 2rem
}

.page-heading h3 {
  font-weight: 700
}

.page-title-headings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem
}

.page-title-headings h3 {
  margin-bottom: 0;
  margin-right: 1rem
}

.page-title-headings .breadcrumb {
  margin-bottom: 0
}

a {
  text-decoration: none
}

.mt-10 {
  margin-top: 3rem
}

.mb-10,
.my-10 {
  margin-bottom: 3rem
}

.my-10 {
  margin-top: 3rem
}

.mb-24,
.my-24 {
  margin-bottom: 6rem
}

.my-24 {
  margin-top: 6rem
}

.opacity-50 {
  opacity: 1%
}

.py-4-5 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important
}

.text-sm {
  font-size: .875rem
}

.text-xl {
  font-size: 1.25rem
}

.text-4xl {
  font-size: 2.25rem
}

.text-6xl {
  font-size: 4rem
}

.text-black {
  color: #000
}

.bg-gradient-ltr {
  background: linear-gradient(90deg, #095cde, #53c3f3)
}

.bg-light-primary {
  background-color: #ebf3ff;
  color: #002152
}

.bg-light-secondary {
  background-color: #e6eaee;
  color: #181e24
}

.bg-light-success {
  background-color: #d2ffe8;
  color: #00391c
}

.bg-light-danger {
  background-color: #ffdede;
  color: #450000
}

.bg-light-warning {
  background-color: #fffdd8;
  color: #3f3c00
}

.bg-light-info {
  background-color: #e6fdff;
  color: #00474d
}

.font-semibold {
  font-weight: 600
}

.font-bold {
  font-weight: 700
}

.font-extrabold {
  font-weight: 800
}

.text-width-md {
  max-width: 450px
}

.text-gray-300 {
  color: #dee2e6 !important
}

.text-gray-400 {
  color: #ced4da !important
}

.text-gray-500 {
  color: #adb5bd !important
}

.text-gray-600 {
  color: #6c757d !important
}

.btn-xl {
  padding: 1rem 2rem
}

.icon-mid:before {
  vertical-align: middle
}