:root{
  --brand:#0d6efd;
  --surface:#ffffff;
  --muted:#6c757d;
}

/* Sticky footer: keep footer at bottom of viewport when content is short */
html{
  height: 100%;
}
body{
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #f4f6f9;
}
body > form#form1{
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
body > form#form1 > main{
  flex: 1 0 auto;
}
body > form#form1 > footer{
  flex-shrink: 0;
}

/* Notice bar */
.notice-bar{
  background: #0dcaf0;
  color: #05313a;
  font-size: 14px;
}
.notice-bar a{ color: inherit; text-decoration: underline; }
.notice-scroll{
  white-space: nowrap;
  overflow: hidden;
}
.notice-scroll > div{
  display: inline-block;
  padding-left: 100%;
  animation: notice-marquee 22s linear infinite;
}
@keyframes notice-marquee{
  0%{ transform: translate3d(0,0,0); }
  100%{ transform: translate3d(-100%,0,0); }
}

/* Simple "AdminLTE-like" login look */
.login-page{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(1200px circle at 20% 10%, rgba(13,110,253,.18), transparent 55%),
              radial-gradient(900px circle at 90% 70%, rgba(25,135,84,.12), transparent 55%),
              #f4f6f9;
}

/* Auth login pages (Admin/Customer under Site.Master): center form; logo from WebsiteSettings */
.auth-login-shell{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: min(72vh, calc(100dvh - 14rem));
  padding-top: 0.25rem;
  padding-bottom: 1rem;
}
.auth-login-logo{
  max-height: 96px;
  width: auto;
  border-radius: 12px;
}

.login-box{
  width: 390px;
  max-width: 100%;
}

.card{
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.card .card-header{
  background: var(--surface);
}

.navbar-brand img{
  border-radius: 6px;
}

.btn{
  border-radius: 10px;
}

.table{
  --bs-table-bg: transparent;
}

.footer-links a{
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover{
  text-decoration: underline;
}

.breadcrumb a{
  text-decoration: none;
}
.breadcrumb a:hover{
  text-decoration: underline;
}

.home-feature-link{
  display: block;
  color: inherit;
  text-decoration: none;
}
.home-feature-link:hover{
  color: inherit;
  text-decoration: none;
}
.home-feature-link .card{
  transition: transform .15s ease, box-shadow .15s ease;
}
.home-feature-link:hover .card{
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.card-header{
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.card-header.card-info{
  background: #17a2b8;
  color: #fff;
}

.input-group-text{
  background: #fff;
}

.btn-primary{
  background: var(--brand);
  border-color: var(--brand);
}

.small-nav a{
  font-size: 12px;
}

