﻿html, body {
  color: #666;
  font-size: 0.9rem;
  height: 100vh;
  padding-bottom: 0px;
}
@media (max-width: 640px) {
  html .navbar-brand img, body .navbar-brand img {
    height: 1.8rem;
  }
}

main {
  padding-bottom: 50px;
}

.footer {
  color: #fff !important;
  background-color: #333;
  position: fixed;
  width: 100%;
  bottom: 0;
  padding: 15px;
  z-index: 5;
}

a, a:active, a:focus {
  color: #18a5ff;
  text-decoration: none;
}

@media (min-width: 991px) {
  .text-md-right {
    text-align: right !important;
  }
}
.cursor-pointer {
  cursor: pointer;
}

.cursor-block {
  cursor: no-drop;
}

a:hover {
  color: #18a5ff;
}

.navbar {
  border-bottom: solid 1px #ccc;
}

.btn {
  border-radius: 16px;
}

.btn-primary,
.btn-primary:active,
.btn-primary:focus {
  background-color: #18a5ff;
  color: #fff;
  border-color: #18a5ff;
}

.btn-primary:hover {
  background-color: #18a5ff !important;
  box-shadow: 0px 0px 12px #18a5ff !important;
  border-color: #18a5ff;
}

.btn-secondary,
.btn-secondary:active,
.btn-secondary:focus {
  background-color: #122d50 !important;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #122d50 !important;
  box-shadow: 0px 0px 12px #122d50 !important;
}

.btn-disabled {
  background-color: #ccc !important;
  color: #333 !important;
  border: none;
}

.btn-disabled.disabled {
  background-color: #ccc !important;
  color: #333 !important;
}

.btn-disabled:hover {
  background-color: #ccc !important;
  box-shadow: 0px 0px 12px #ccc !important;
}

.btn-danger {
  background-color: #b14c4c !important;
  color: #fff;
}

.btn-danger:hover {
  background-color: #b14c4c !important;
  box-shadow: 0px 0px 12px #b14c4c;
}

.btn-outline-dark:hover {
  background-color: #000;
  box-shadow: 0px 0px 12px #000;
}

a.disabled {
  color: #ccc !important;
  pointer-events: none;
  cursor: default;
}

a.disabled:hover {
  cursor: default;
}

.bg-lightgray {
  background-color: #eee;
}

.bg-primary {
  background-color: #18a5ff !important;
}

.bg-secondary {
  background-color: #122d50 !important;
}

.text-shadow-white {
  text-shadow: 0px 0px 12px #fff;
}

.toolbar-container {
  background-color: #fff;
  border-bottom: solid 1px #ccc;
  min-height: 40px;
}

.toolbar-menu {
  margin: 0;
}

.toolbar-menu li {
  padding: 0 1rem;
}

.toolbar-menu li:not(:first-child) {
  border-left: solid 1px #eee;
}

.toolbar-search {
  position: relative;
  width: 220px;
  border-radius: 100%;
}

.toolbar-search__input {
  padding-right: 3rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  height: 32px;
  transition: all 0.2s ease;
  background-color: #eee;
}

.toolbar-search__input:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
  border-color: #86b7fe;
}

.toolbar-search__btn {
  position: absolute;
  top: 50%;
  right: 0.4rem;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.toolbar-search__btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
}

.toolbar-search__btn i {
  font-size: 0.9rem;
}

.flex-table {
  background-color: #fff;
  font-weight: bold;
  border-bottom: solid 1px #ccc;
  /*margin: .1rem 0rem;*/
}

.col {
  flex: 1;
}

:root {
  --primary: #18a5ff;
  --primary-soft: #5fafe1;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --panel: rgba(255, 255, 255, 0.8);
  --border: rgba(148, 163, 184, 0.2);
  --shadow: 0 25px 70px rgba(37, 99, 235, 0.15);
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
.min-w-300 {
  min-width: 300px !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.22), transparent 30%), radial-gradient(circle at right center, rgba(59, 130, 246, 0.18), transparent 25%), linear-gradient(135deg, #f8fbff 0%, #eef4ff 46%, #f9fbff 100%);
  position: relative;
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  z-index: 0;
}

body::before {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -100px;
  background: rgba(59, 130, 246, 0.18);
}

body::after {
  width: 340px;
  height: 340px;
  right: -80px;
  bottom: -80px;
  background: rgba(56, 189, 248, 0.16);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.page-shell {
  min-height: 100vh;
  position: relative;
  z-index: 1;
  padding: 32px;
}

.login-card {
  width: 100%;
  max-width: 1120px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.48), rgba(219, 234, 254, 0.7));
  position: relative;
}

.brand-panel::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 28px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  pointer-events: none;
}

.logo-wrap img {
  max-width: 250px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(37, 99, 235, 0.18));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.hero-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-copy,
.muted {
  color: var(--text-muted);
}

.stat-chip {
  min-width: 140px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.form-panel {
  background: rgba(255, 255, 255, 0.82);
}

.form-shell {
  max-width: 420px;
  width: 100%;
}

.form-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.form-control {
  border-radius: 16px;
  min-height: 56px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(248, 250, 252, 0.95);
  padding-left: 16px;
  padding-right: 16px;
  font-size: 0.98rem;
}

.form-control:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.12);
  background: #fff;
}

.input-label {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.btn-primary {
  min-height: 56px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  background: linear-gradient(135deg, #2563eb, var(--primary));
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.link-btn {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.link-btn:hover {
  color: #1d4ed8;
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(148, 163, 184, 0.35), transparent);
}

.social-btn {
  border-radius: 14px;
  min-height: 52px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-main);
  font-weight: 600;
}

.social-btn:hover {
  background: #fff;
  border-color: rgba(37, 99, 235, 0.22);
  color: var(--primary);
}

.footer-note {
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (max-width: 991.98px) {
  .page-shell {
    padding: 18px;
  }
  .login-card {
    border-radius: 24px;
  }
  .brand-panel,
  .form-panel {
    padding: 2rem !important;
  }
}
