@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

.hbplus-create-skeleton {
  --skeleton-surface: #fff;
  --skeleton-line: #e8eef5;
  --skeleton-shine: #f5f8fc;
  position: fixed;
  bottom: 0;
  z-index: 1100;
  padding: 20px 24px;
  overflow: hidden;
  background: #f4f7fb;
  pointer-events: auto;
}

.hbplus-skeleton-toolbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hbplus-skeleton-toolbar span,
.hbplus-skeleton-title,
.hbplus-skeleton-fields span,
.hbplus-skeleton-table span {
  display: block;
  border-radius: 6px;
  background: linear-gradient(100deg, var(--skeleton-line) 25%, var(--skeleton-shine) 50%, var(--skeleton-line) 75%);
  background-size: 200% 100%;
  animation: hbplus-skeleton-shimmer 1.6s ease-in-out infinite;
}

.hbplus-skeleton-toolbar span { width: 180px; height: 32px; }
.hbplus-skeleton-toolbar span:last-child { width: 96px; }
.hbplus-skeleton-card { background: var(--skeleton-surface); border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.hbplus-skeleton-title { width: 160px; height: 20px; margin-bottom: 24px; }
.hbplus-skeleton-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hbplus-skeleton-label { width: 30%; height: 12px; margin-bottom: 10px; }
.hbplus-skeleton-input { height: 40px; }
.hbplus-skeleton-table { display: grid; gap: 12px; }
.hbplus-skeleton-table span { height: 32px; }

body.dark-mode .hbplus-create-skeleton {
  --skeleton-surface: #202b37;
  --skeleton-line: #2d3d4e;
  --skeleton-shine: #3a4c5e;
  background: #18222e;
}

@keyframes hbplus-skeleton-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@media (max-width: 640px) {
  .hbplus-create-skeleton { padding: 16px; }
  .hbplus-skeleton-fields { grid-template-columns: minmax(0, 1fr); }
  .hbplus-skeleton-card { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hbplus-create-skeleton span,
  .hbplus-create-skeleton .hbplus-skeleton-title { animation: none; }
}
