/* ScanSuite app theme and shared page styles. */

/* Base layout */
:root {
  --sentinel-primary: #f97316;
  --sentinel-primary-dark: #ea580c;
  --sentinel-bg: #f8fafc;
  --sentinel-surface: #ffffff;
  --sentinel-line: #e2e8f0;
  --sentinel-line-soft: #f1f5f9;
  --sentinel-text: #0f172a;
  --sentinel-muted: #64748b;
  --sentinel-shadow: 0 1px 3px rgba(15, 23, 42, .03), 0 14px 34px rgba(15, 23, 42, .04);
  --sentinel-page-title-size: 1.75rem;
  --sentinel-page-title-weight: 700;
  --sentinel-page-title-line-height: 1.2;
  --sentinel-sidebar: #0f172a;
  --sentinel-sidebar-deep: #111827;
  --sentinel-sidebar-muted: #94a3b8;
  --sentinel-sidebar-soft: rgba(249, 115, 22, .12);
}

body,
.content {
  background: var(--sentinel-bg);
  color: var(--sentinel-text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.material-symbols-outlined {
  display: inline-block;
  font-family: "Material Symbols Outlined";
  font-size: 1.25rem;
  font-style: normal;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
  max-width: 1em;
  overflow: hidden;
  text-transform: none;
  vertical-align: middle;
  white-space: nowrap;
  word-wrap: normal;
}

.material-symbols-outlined.material-icon-fill {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.footer-logo {
  height: 28px;
}

.plain-centered-list {
  list-style-type: none;
  padding-left: 0;
  text-align: center;
}

.plain-centered-list li,
.list-item-spaced {
  margin: 5px 0;
}

.wrap-anywhere {
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-all;
  word-wrap: break-word;
}

.content .breadcrumb {
  background: transparent;
  color: var(--sentinel-muted);
  font-size: .875rem;
  margin-bottom: 1rem;
  padding: 0;
}

.content .breadcrumb a,
.content .breadcrumb-item {
  color: var(--sentinel-muted);
  text-decoration: none;
}

.content .breadcrumb-item.active {
  color: var(--sentinel-text);
  font-weight: 700;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content .h4,
.content .h5 {
  color: var(--sentinel-text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.content > .d-flex.justify-content-between .h4 {
  font-size: var(--sentinel-page-title-size);
  font-weight: var(--sentinel-page-title-weight);
  line-height: var(--sentinel-page-title-line-height);
}

.content .card {
  background: var(--sentinel-surface);
  border: 1px solid var(--sentinel-line) !important;
  border-radius: 1rem;
  box-shadow: var(--sentinel-shadow) !important;
}

.content .card-body {
  padding: 1.5rem;
}

.content .card-footer {
  background: rgba(248, 250, 252, .72);
  border-top: 1px solid var(--sentinel-line-soft) !important;
}

.content label,
.content .form-label {
  color: var(--sentinel-muted);
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: .55rem;
  text-transform: uppercase;
}

.content .form-control,
.content .form-select {
  background-color: var(--sentinel-bg);
  border-color: var(--sentinel-line);
  border-radius: .5rem;
  color: #334155;
  font-size: .9rem;
  min-height: 44px;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.content textarea.form-control {
  line-height: 1.55;
}

.content .form-control:focus,
.content .form-select:focus {
  background-color: #fff;
  border-color: var(--sentinel-primary);
  box-shadow: 0 0 0 .2rem rgba(249, 115, 22, .14);
}

.content .input-group-text {
  background: var(--sentinel-bg);
  border-color: var(--sentinel-line);
  border-radius: .5rem;
  color: #94a3b8;
}

.content .input-group .input-group-text + .form-control,
.content .input-group .input-group-text + .form-select {
  border-left: 0;
}

.content .form-check-input {
  border-color: var(--sentinel-line);
  cursor: pointer;
}

.content .form-check-input:checked {
  background-color: var(--sentinel-primary);
  border-color: var(--sentinel-primary);
}

.content .form-check-input:focus {
  border-color: var(--sentinel-primary);
  box-shadow: 0 0 0 .2rem rgba(249, 115, 22, .14);
}

.content .btn {
  border-radius: .5rem;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .9rem;
  font-weight: 700;
  min-height: 40px;
}

.content .btn-primary,
.content .btn-gray-800 {
  background: var(--sentinel-primary);
  border-color: var(--sentinel-primary);
  box-shadow: 0 10px 20px rgba(249, 115, 22, .16);
  color: #fff;
}

.content .btn-primary:hover,
.content .btn-primary:focus,
.content .btn-gray-800:hover,
.content .btn-gray-800:focus {
  background: var(--sentinel-primary-dark);
  border-color: var(--sentinel-primary-dark);
  color: #fff;
}

.content .btn-secondary,
.content .btn-gray,
.content .btn-outline-gray-500 {
  background: #fff;
  border-color: var(--sentinel-line);
  color: #334155;
}

.content .btn-secondary:hover,
.content .btn-gray:hover,
.content .btn-outline-gray-500:hover {
  background: var(--sentinel-bg);
  color: var(--sentinel-primary-dark);
}

.scansuite-swal-popup {
  border: 1px solid var(--sentinel-line);
  border-radius: .9rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
  color: var(--sentinel-ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 1.35rem;
}

.scansuite-swal-title {
  color: var(--sentinel-ink);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
}

.scansuite-swal-text {
  color: var(--sentinel-muted);
  font-size: .95rem;
  line-height: 1.5;
}

.scansuite-swal-btn {
  align-items: center;
  border-radius: .55rem;
  display: inline-flex;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .85rem;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  min-width: 104px;
  padding: .75rem 1.05rem;
  text-transform: uppercase;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.scansuite-swal-btn:active {
  transform: scale(.98);
}

.scansuite-swal-confirm {
  background: var(--sentinel-primary);
  border: 1px solid var(--sentinel-primary);
  box-shadow: 0 10px 20px rgba(249, 115, 22, .16);
  color: #fff;
}

.scansuite-swal-confirm:hover,
.scansuite-swal-confirm:focus {
  background: var(--sentinel-primary-dark);
  border-color: var(--sentinel-primary-dark);
  color: #fff;
}

.scansuite-swal-cancel {
  background: #fff;
  border: 1px solid var(--sentinel-line);
  color: #334155;
}

.scansuite-swal-cancel:hover,
.scansuite-swal-cancel:focus {
  background: var(--sentinel-bg);
  color: var(--sentinel-primary-dark);
}

.content .btn-link {
  color: #334155;
  text-decoration: none;
}

.content .btn-link:hover {
  color: var(--sentinel-primary-dark);
}

.content .dropdown-menu {
  border: 1px solid var(--sentinel-line);
  border-radius: .75rem;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
  overflow: hidden;
}

.content .dropdown-item {
  color: #334155;
  font-size: .875rem;
  font-weight: 600;
  min-height: 38px;
}

.content .dropdown-item:hover,
.content .dropdown-item:focus {
  background: #fff7ed;
  color: var(--sentinel-primary-dark);
}

.content .table-settings {
  background: var(--sentinel-surface);
  border: 1px solid var(--sentinel-line);
  border-radius: 1rem;
  box-shadow: var(--sentinel-shadow);
  padding: 1rem;
}

.content .table-wrapper {
  border-radius: 1rem;
  overflow: hidden;
}

.content .table {
  color: #475569;
  font-size: .9rem;
  margin-bottom: 0;
}

.content .table thead th {
  background: rgba(248, 250, 252, .72);
  border-bottom: 1px solid var(--sentinel-line-soft);
  color: var(--sentinel-muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 1rem 1.25rem;
  text-transform: uppercase;
}

.content .table tbody td {
  border-color: var(--sentinel-line-soft);
  padding: 1rem 1.25rem;
  vertical-align: middle;
}

.content .table-hover tbody tr:hover {
  --bs-table-accent-bg: rgba(248, 250, 252, .82);
}

.content .table a {
  color: var(--sentinel-text);
  text-decoration: none;
}

.content .table a:hover {
  color: var(--sentinel-primary-dark);
}

.content .pagination .page-link {
  background: #fff;
  border-color: var(--sentinel-line);
  color: #334155;
  font-weight: 700;
  min-height: 40px;
}

.content .pagination .page-item.active .page-link {
  background: var(--sentinel-primary);
  border-color: var(--sentinel-primary);
  color: #fff;
}

.content .pagination .page-link:hover {
  background: var(--sentinel-bg);
  color: var(--sentinel-primary-dark);
}

.icon-sm {
  width: 8px;
  height: 8px;
}


/* Sidebar */
.sentinel-mobile-nav {
  background: var(--sentinel-sidebar);
  border-bottom: 1px solid rgba(148, 163, 184, .12);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .18);
}

.sentinel-mobile-brand {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  gap: .65rem;
  letter-spacing: 0;
  text-decoration: none;
}

.sentinel-brand-mark {
  align-items: center;
  background: var(--sentinel-primary);
  border-radius: .45rem;
  color: #fff;
  display: inline-flex;
  flex: 0 0 2rem;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.sentinel-sidebar {
  background: linear-gradient(180deg, var(--sentinel-sidebar) 0%, var(--sentinel-sidebar-deep) 100%) !important;
  box-shadow: 16px 0 40px rgba(15, 23, 42, .18);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  width: 16rem;
}

.sentinel-sidebar .sidebar-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem 0;
}

.sentinel-brand {
  align-items: center;
  display: flex;
  gap: .75rem;
  margin-bottom: 2rem;
  padding: 0 1.5rem;
  text-decoration: none;
}

.sentinel-brand-title {
  color: #fff;
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.sentinel-brand-subtitle {
  color: #94a3b8;
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  margin: .18rem 0 0;
  text-transform: uppercase;
}

.sentinel-sidebar .nav {
  gap: .15rem;
}

.sentinel-nav-section {
  margin-top: .45rem;
}

.sentinel-nav-section + .sentinel-nav-section {
  margin-top: 1.15rem;
}

.sentinel-nav-heading {
  align-items: center;
  color: rgba(148, 163, 184, .76);
  display: flex;
  font-size: .68rem;
  font-weight: 800;
  gap: .55rem;
  letter-spacing: .08em;
  line-height: 1;
  margin: 0 1.5rem .45rem;
  text-transform: uppercase;
}

.sentinel-nav-heading::after {
  background: rgba(148, 163, 184, .14);
  content: "";
  flex: 1;
  height: 1px;
}

.sentinel-nav-group {
  margin: 0;
  padding: 0;
}

.sentinel-sidebar .nav-link {
  align-items: center;
  border-radius: 0;
  color: var(--sentinel-sidebar-muted) !important;
  display: flex;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .875rem;
  font-weight: 400;
  gap: .75rem;
  letter-spacing: 0;
  min-height: 42px;
  padding: .68rem 1.5rem;
  position: relative;
  transition: background-color .15s ease, color .15s ease, font-weight .15s ease;
}

.sentinel-sidebar .nav-link .sidebar-text,
.sentinel-sidebar .nav-link .material-symbols-outlined {
  color: var(--sentinel-sidebar-muted) !important;
}

.sentinel-sidebar .nav-link:hover {
  background: rgba(30, 41, 59, .72);
  color: #fff !important;
  font-weight: 700;
}

.sentinel-sidebar .nav-link:hover .sidebar-text,
.sentinel-sidebar .nav-link:hover .material-symbols-outlined {
  color: #fff !important;
}

.sentinel-sidebar .nav-item.active .nav-link {
  background: rgba(30, 41, 59, .72);
  color: var(--sentinel-sidebar-muted) !important;
  font-weight: 400;
}

.sentinel-sidebar .nav-item.active .nav-link:hover {
  font-weight: 700;
}

.sentinel-sidebar .nav-item.active .nav-link::after {
  background: var(--sentinel-primary);
  border-radius: 999px 0 0 999px;
  bottom: 0;
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
}

.sentinel-sidebar .nav-item.active .material-symbols-outlined {
  color: var(--sentinel-primary) !important;
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.sentinel-sidebar .nav-item.nav-item-no-accent.active .nav-link::after {
  display: none;
}

.sentinel-sidebar .nav-item.nav-item-no-accent.active .material-symbols-outlined {
  color: var(--sentinel-sidebar-muted) !important;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.sentinel-sidebar-divider {
  border-color: rgba(148, 163, 184, .16);
  margin: 1.1rem 1.5rem .85rem;
}

.sentinel-mobile-user {
  border-bottom: 1px solid rgba(148, 163, 184, .16);
  margin-bottom: .75rem;
  padding: 0 1.5rem 1.25rem;
}

@media (max-width: 991.98px) {
  .sentinel-sidebar {
    width: 100%;
  }
}


/* Top navigation */
.sentinel-topbar {
  align-items: center;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #f1f5f9;
  box-shadow: 0 1px 8px rgba(15, 23, 42, .04);
  display: flex;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  justify-content: space-between;
  margin: -1.25rem -1.5rem 0;
  min-height: 4rem;
  padding: .75rem 2rem;
  position: sticky;
  top: 0;
  z-index: 30;
}

.sentinel-search {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 999px;
  color: #94a3b8;
  display: flex;
  gap: .6rem;
  max-width: 420px;
  min-height: 42px;
  padding: 0 1rem;
  position: relative;
  width: min(36vw, 420px);
}

.sentinel-search input {
  background: transparent;
  border: 0;
  color: #334155;
  font-size: .875rem;
  outline: 0;
  padding: 0;
  width: 100%;
}

.sentinel-search input:focus {
  box-shadow: none;
}

.sentinel-search input::placeholder {
  color: #94a3b8;
}

.sentinel-search-results {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: .5rem;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .14);
  left: 0;
  max-height: min(58vh, 28rem);
  min-width: 100%;
  overflow-y: auto;
  padding: .35rem;
  position: absolute;
  top: calc(100% + .55rem);
  width: min(36rem, 70vw);
  z-index: 60;
}

.sentinel-search-result {
  border-radius: .375rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: .18rem;
  padding: .65rem .75rem;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

.sentinel-search-result:hover,
.sentinel-search-result:focus {
  background: #fff7ed;
  color: #c2410c;
  outline: 0;
}

.sentinel-search-result-title {
  color: inherit;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.25;
}

.sentinel-search-result-title strong {
  color: #0f766e;
  font-weight: 800;
}

.sentinel-search-result-meta,
.sentinel-search-empty {
  color: #64748b;
  font-size: .76rem;
  line-height: 1.3;
}

.sentinel-search-empty {
  padding: .75rem;
}

.sentinel-top-actions {
  align-items: center;
  display: flex;
  gap: 1.5rem;
}

.sentinel-icon-actions {
  align-items: center;
  border-right: 1px solid #f1f5f9;
  display: flex;
  gap: 1rem;
  padding-right: 1.5rem;
}

.sentinel-icon-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #64748b;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  transition: color .15s ease, background-color .15s ease;
  width: 36px;
}

.sentinel-icon-button:hover,
.sentinel-icon-button:focus {
  color: #f97316;
}

.sentinel-user-toggle {
  align-items: center;
  color: #0f172a;
  display: flex;
  gap: .75rem;
  text-decoration: none;
}

.sentinel-user-toggle:hover,
.sentinel-user-toggle:focus {
  color: #0f172a;
}

.sentinel-user-toggle::after {
  display: none;
}

.sentinel-user-copy {
  line-height: 1.1;
  text-align: right;
}

.sentinel-user-name {
  color: #0f172a;
  display: block;
  font-size: .78rem;
  font-weight: 800;
}

.sentinel-user-role {
  color: #64748b;
  display: block;
  font-size: .68rem;
  margin-top: .18rem;
}

.sentinel-avatar {
  border: 2px solid #f1f5f9;
  border-radius: 999px;
  height: 40px;
  object-fit: cover;
  transition: border-color .15s ease;
  width: 40px;
}

.sentinel-user-toggle:hover .sentinel-avatar {
  border-color: #f97316;
}

.sentinel-dropdown {
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
  min-width: 14rem;
  overflow: hidden;
}

.sentinel-dropdown .dropdown-item,
.sentinel-dropdown .dropdown-item-text {
  color: #334155;
  font-size: .875rem;
  font-weight: 600;
}

.sentinel-dropdown .dropdown-item {
  align-items: center;
  display: flex;
  gap: .65rem;
  min-height: 40px;
}

.sentinel-dropdown .dropdown-item:hover,
.sentinel-dropdown .dropdown-item:focus {
  background: #fff7ed;
  color: #ea580c;
}

.sentinel-dropdown .dropdown-header-label {
  color: #64748b;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .sentinel-topbar {
    margin: 0 -1rem;
    min-height: 3.75rem;
    padding: .75rem 1rem;
  }

  .sentinel-search {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .sentinel-icon-actions {
    gap: .4rem;
    padding-right: .75rem;
  }

  .sentinel-user-copy {
    display: none;
  }
}


/* Authentication */
.auth-shell {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(17, 24, 39, .92)),
    radial-gradient(circle at top right, rgba(249, 115, 22, .28), transparent 36%);
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.auth-layout {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0 auto;
  max-width: 760px;
  min-height: calc(100vh - 4rem);
  justify-content: center;
  width: 100%;
}

.auth-story {
  align-items: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  text-align: center;
}

.auth-brand {
  align-items: center;
  display: inline-flex;
  gap: .75rem;
  margin-bottom: 0;
}

.auth-brand-mark,
.auth-card-icon {
  align-items: center;
  background: var(--sentinel-primary);
  border-radius: .5rem;
  color: #fff;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.auth-card-icon i {
  font-size: 1.15rem;
  line-height: 1;
}

.auth-brand-title {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.auth-brand-subtitle {
  color: #94a3b8;
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  margin-top: .18rem;
  text-transform: uppercase;
}

.auth-metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  text-align: center;
  width: 100%;
}

.auth-metric {
  border-top: 1px solid rgba(148, 163, 184, .28);
  padding-top: 1rem;
}

.auth-metric strong {
  color: #fff;
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.auth-metric span {
  color: #94a3b8;
  display: block;
  font-size: .78rem;
  line-height: 1.45;
  margin-top: .45rem;
}

.auth-panel-wrap {
  align-items: center;
  display: flex;
  justify-content: center;
  max-width: 460px;
  width: 100%;
}

.auth-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 1rem;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .2), 0 2px 8px rgba(15, 23, 42, .04);
  padding: 2.25rem;
  width: 100%;
}

.auth-card-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.auth-card-title {
  color: var(--sentinel-text);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.auth-card-subtitle {
  color: var(--sentinel-muted);
  font-size: .92rem;
  line-height: 1.55;
  margin: .35rem 0 0;
}

.auth-alert {
  align-items: center;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: .75rem;
  color: #b91c1c;
  display: flex;
  font-size: .88rem;
  font-weight: 700;
  gap: .65rem;
  margin-bottom: 1.5rem;
  padding: .9rem 1rem;
}

.auth-alert i {
  flex: 0 0 auto;
  line-height: 1;
}

.auth-field {
  margin-bottom: 1.25rem;
}

.auth-label {
  color: var(--sentinel-muted);
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  margin-bottom: .5rem;
  text-transform: uppercase;
}

.auth-input-wrap {
  align-items: center;
  background: var(--sentinel-bg);
  border: 1px solid var(--sentinel-line);
  border-radius: .75rem;
  display: flex;
  min-height: 50px;
  padding: 0 .95rem;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.auth-input-wrap:focus-within {
  background: #fff;
  border-color: var(--sentinel-primary);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .14);
}

.auth-input-wrap .material-symbols-outlined {
  color: #94a3b8;
  flex: 0 0 1.25rem;
  margin-right: .7rem;
}

.auth-input-wrap .auth-fa-icon {
  color: #94a3b8;
  flex: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1;
  margin-right: .7rem;
  text-align: center;
}

.auth-input-wrap .form-control {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--sentinel-text);
  flex: 1 1 auto;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .95rem;
  min-height: 48px;
  min-width: 0;
  padding: 0;
}

.auth-input-wrap .form-control:focus {
  background: transparent;
  box-shadow: none;
}

.auth-input-wrap .form-control:autofill {
  caret-color: var(--sentinel-text);
  filter: none;
  box-shadow: 0 0 0 1000px var(--sentinel-bg) inset;
  -webkit-text-fill-color: var(--sentinel-text);
}

.auth-input-wrap:focus-within .form-control:autofill {
  box-shadow: 0 0 0 1000px #fff inset;
}

.auth-input-wrap .form-control:-moz-autofill {
  caret-color: var(--sentinel-text);
  filter: none;
  box-shadow: 0 0 0 1000px var(--sentinel-bg) inset;
}

.auth-input-wrap:focus-within .form-control:-moz-autofill {
  box-shadow: 0 0 0 1000px #fff inset;
}

.auth-input-wrap .form-control:-webkit-autofill {
  caret-color: var(--sentinel-text);
  filter: none;
  box-shadow: 0 0 0 1000px var(--sentinel-bg) inset;
  -webkit-text-fill-color: var(--sentinel-text);
}

.auth-input-wrap:focus-within .form-control:-webkit-autofill {
  box-shadow: 0 0 0 1000px #fff inset;
}

.auth-submit {
  align-items: center;
  background: var(--sentinel-primary);
  border: 0;
  border-radius: .75rem;
  box-shadow: 0 12px 24px rgba(124, 45, 18, .18);
  color: #fff;
  display: inline-flex;
  font-size: .95rem;
  font-weight: 800;
  gap: .55rem;
  justify-content: center;
  letter-spacing: .01em;
  min-height: 50px;
  text-transform: uppercase;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
  width: 100%;
}

.auth-submit i {
  flex: 0 0 auto;
  font-size: .95rem;
  line-height: 1;
}

.auth-submit:hover {
  background: var(--sentinel-primary-dark);
  box-shadow: 0 16px 30px rgba(124, 45, 18, .22);
  color: #fff;
}

.auth-submit:active {
  transform: scale(.98);
}

@media (max-width: 991.98px) {
  .auth-story {
    padding: 1rem 0 0;
  }

  .auth-brand {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .auth-shell {
    padding: 1rem;
  }

  .auth-layout {
    min-height: calc(100vh - 2rem);
  }

  .auth-card {
    padding: 1.4rem;
  }

  .auth-metrics {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}


/* Account management */
.account-page {
  background: #f8fafc;
  color: #251913;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: -1.5rem;
  min-height: calc(100vh - 4rem);
  padding: 2rem;
}

.account-page-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.account-breadcrumb {
  align-items: center;
  color: #64748b;
  display: flex;
  font-size: .88rem;
  gap: .45rem;
  margin-bottom: 1.5rem;
}

.account-breadcrumb .material-symbols-outlined {
  color: #94a3b8;
  font-size: 1.15rem;
}

.account-header {
  align-items: flex-end;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.account-eyebrow {
  color: #f97316;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: .65rem;
  text-transform: uppercase;
}

.account-title {
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}

.account-subtitle {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
  margin: .75rem 0 0;
  max-width: 620px;
}

.account-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
}

.account-section-title {
  align-items: center;
  display: flex;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.account-section-title-icon {
  align-items: center;
  background: #fff7ed;
  border-radius: .5rem;
  color: #f97316;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.account-section-title h2 {
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

.account-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .05), 0 1px 2px rgba(15, 23, 42, .04);
  padding: 1.75rem;
}

.account-card-muted {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
}

.account-form-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-form-full {
  grid-column: 1 / -1;
}

.account-label {
  color: #64748b;
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  margin-bottom: .5rem;
  text-transform: uppercase;
}

.account-input-shell {
  position: relative;
}

.account-input-shell .material-symbols-outlined {
  color: #94a3b8;
  font-size: 1.2rem;
  left: .9rem;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.account-page .form-control,
.account-page .form-select {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  box-shadow: none;
  color: #0f172a;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .95rem;
  min-height: 48px;
  padding: .75rem .95rem .75rem 2.75rem;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.account-page .form-control:focus,
.account-page .form-select:focus {
  background-color: #fff;
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .14);
}

.account-page .form-check {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  display: flex;
  gap: .75rem;
  margin: .25rem 0 0;
  min-height: 48px;
  padding: .75rem 1rem;
}

.account-page .form-check-input {
  border-color: #cbd5e1;
  height: 1.1rem;
  margin: 0;
  width: 1.1rem;
}

.account-page .form-check-input:checked {
  background-color: #f97316;
  border-color: #f97316;
}

.account-page .form-check-label {
  color: #334155;
  font-size: .92rem;
  font-weight: 700;
}

.account-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.5rem;
}

.account-btn {
  align-items: center;
  border: 0;
  border-radius: .75rem;
  display: inline-flex;
  font-size: .9rem;
  font-weight: 800;
  gap: .5rem;
  justify-content: center;
  letter-spacing: .01em;
  min-height: 46px;
  padding: .85rem 1.15rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.account-btn:active {
  transform: scale(.98);
}

.account-btn-primary {
  background: #f97316;
  box-shadow: 0 12px 24px rgba(124, 45, 18, .16);
  color: #fff;
}

.account-btn-primary:hover {
  background: #ea580c;
  box-shadow: 0 16px 30px rgba(124, 45, 18, .2);
  color: #fff;
}

.account-btn-danger {
  background: #fff;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.account-btn-danger:hover {
  background: #fef2f2;
  color: #991b1b;
}

.account-summary-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.account-summary-item {
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
}

.account-summary-item strong {
  color: #0f172a;
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.account-summary-item span {
  color: #64748b;
  display: block;
  font-size: .85rem;
  line-height: 1.5;
  margin-top: .45rem;
}

.account-denied {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
}

.account-denied-icon {
  align-items: center;
  background: #fef2f2;
  border-radius: .75rem;
  color: #dc2626;
  display: inline-flex;
  flex: 0 0 2.5rem;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.account-denied h2 {
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 .45rem;
}

.account-denied p {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991.98px) {
  .account-page {
    margin: -1rem;
    padding: 1.25rem;
  }

  .account-header,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-grid {
    display: grid;
  }
}

@media (max-width: 767.98px) {
  .account-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-form-grid {
    grid-template-columns: 1fr;
  }
}


/* History */
  .history-page {
      color: var(--sentinel-text);
      font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      margin-left: -1rem;
      margin-right: -1rem;
      min-height: calc(100vh - 5rem);
      padding: 4rem 1rem 4rem;
  }

  .history-shell {
      margin: 0 auto;
      max-width: 1280px;
  }

  .history-breadcrumb {
      align-items: center;
      color: var(--sentinel-muted);
      display: flex;
      font-size: .9rem;
      gap: .75rem;
      margin-bottom: 1.25rem;
  }

  .history-breadcrumb a {
      color: var(--sentinel-muted);
      text-decoration: none;
      transition: color .15s ease;
  }

  .history-breadcrumb a:hover {
      color: var(--sentinel-text);
  }

  .history-breadcrumb .material-symbols-outlined {
      color: #64748b;
      font-size: 1rem;
  }

  .history-header {
      align-items: center;
      display: flex;
      justify-content: space-between;
      margin-bottom: 2.5rem;
  }

  .history-title {
      color: var(--sentinel-text);
      font-size: var(--sentinel-page-title-size);
      font-weight: var(--sentinel-page-title-weight);
      letter-spacing: 0;
      line-height: var(--sentinel-page-title-line-height);
      margin: 0;
  }

  .history-subtitle {
      color: var(--sentinel-muted);
      font-size: .95rem;
      margin: .5rem 0 0;
  }

  .history-new-scan {
      align-items: center;
      background: var(--sentinel-primary);
      border: 0;
      border-radius: .5rem;
      box-shadow: 0 10px 20px rgba(249, 115, 22, .18);
      color: #fff;
      display: inline-flex;
      font-size: .95rem;
      font-weight: 700;
      gap: .55rem;
      min-height: 48px;
      padding: .85rem 1.5rem;
      text-decoration: none;
      transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
  }

  .history-new-scan:hover,
  .history-new-scan:focus {
      background: var(--sentinel-primary-dark);
      box-shadow: 0 14px 26px rgba(249, 115, 22, .24);
      color: #fff;
  }

  .history-card {
      background: var(--sentinel-surface);
      border: 1px solid var(--sentinel-line);
      border-radius: 1rem;
      box-shadow: var(--sentinel-shadow);
      overflow: hidden;
  }

  .history-toolbar {
      align-items: center;
      background: #fff;
      border-bottom: 1px solid var(--sentinel-line-soft);
      display: flex;
      gap: 1rem;
      justify-content: space-between;
      padding: 1.5rem;
  }

  .history-search {
      align-items: center;
      background: #f8fafc;
      border: 1px solid #f1f5f9;
      border-radius: 999px;
      color: #94a3b8;
      display: flex;
      gap: .6rem;
      max-width: 420px;
      min-height: 42px;
      padding: 0 1rem;
      width: 100%;
  }

  .history-search .history-search-icon {
      color: #94a3b8;
      font-size: 1.25rem;
  }

  .history-search input {
      background: transparent;
      border: 0;
      color: var(--sentinel-text);
      font-size: .875rem;
      min-width: 0;
      outline: 0;
      padding: 0;
      width: 100%;
  }

  .history-search input:focus {
      box-shadow: none;
      outline: 0;
  }

  .history-search input::placeholder {
      color: #94a3b8;
  }

  .history-search input::-webkit-search-cancel-button {
      appearance: none;
  }

  .history-search-clear {
      align-items: center;
      border-radius: .4rem;
      color: #94a3b8;
      display: inline-flex;
      flex-shrink: 0;
      height: 28px;
      justify-content: center;
      text-decoration: none;
      transition: background-color .15s ease, color .15s ease;
      width: 28px;
  }

  .history-search-clear .material-symbols-outlined {
      font-size: 1.15rem;
  }

  .history-search-clear:hover,
  .history-search-clear:focus {
      background: #e2e8f0;
      color: var(--sentinel-primary-dark);
  }

  .history-toolbar-actions {
      align-items: center;
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: flex-end;
  }

  .history-count {
      color: var(--sentinel-muted);
      font-size: .9rem;
      white-space: nowrap;
  }

  .history-filter-btn,
  .history-clear-btn,
  .history-bulk-btn {
      align-items: center;
      background: #fff;
      border: 1px solid var(--sentinel-line);
      border-radius: .5rem;
      color: #334155;
      display: inline-flex;
      font-size: .9rem;
      font-weight: 700;
      gap: .5rem;
      min-height: 42px;
      padding: .65rem 1rem;
      text-decoration: none;
      transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  }

  .history-filter-btn:hover,
  .history-clear-btn:hover,
  .history-bulk-btn:hover {
      background: var(--sentinel-bg);
      color: var(--sentinel-primary-dark);
  }

  .history-bulk-btn:disabled,
  .history-bulk-btn:disabled:hover {
      cursor: not-allowed;
      opacity: .55;
  }

  .history-table-wrap {
      overflow-x: auto;
  }

  .history-table {
      border-collapse: separate;
      border-spacing: 0;
      color: #475569;
      font-size: .9rem;
      margin: 0;
      min-width: 980px;
      width: 100%;
  }

  .history-table thead {
      background: rgba(248, 250, 252, .7);
      border-bottom: 1px solid var(--sentinel-line-soft);
  }

  .history-table th {
      color: #64748b;
      font-size: .75rem;
      font-weight: 800;
      letter-spacing: .05em;
      padding: 1rem 1.5rem;
      text-transform: uppercase;
      white-space: nowrap;
  }

  .history-selection-column {
      width: 1%;
      white-space: nowrap;
  }

  .history-table td {
      background: #fff;
      border-bottom: 1px solid var(--sentinel-line-soft);
      padding: 1.35rem 1.5rem;
      vertical-align: middle;
  }

  .history-table tbody tr {
      transition: background-color .15s ease;
  }

  .history-table tbody tr:hover td {
      background: rgba(248, 250, 252, .82);
  }

  .history-date-main,
  .history-type-label {
      color: var(--sentinel-text);
      font-weight: 700;
  }

  .history-date-sub {
      color: #94a3b8;
      display: block;
      font-size: .78rem;
      margin-top: .2rem;
  }

  .history-type {
      align-items: center;
      display: inline-flex;
      gap: .55rem;
  }

  .history-type .material-symbols-outlined {
      color: #94a3b8;
      font-size: 1.15rem;
  }

  .history-target {
      color: #334155;
      display: block;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
      font-size: .78rem;
      max-width: 260px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
  }

  .history-link {
      color: inherit;
      text-decoration: none;
  }

  .history-link:hover {
      color: var(--sentinel-primary-dark);
  }

  .history-env {
      background: #f1f5f9;
      border-radius: .4rem;
      color: #334155;
      display: inline-flex;
      font-size: .8rem;
      font-weight: 700;
      line-height: 1;
      max-width: 190px;
      overflow: hidden;
      padding: .45rem .75rem;
      text-overflow: ellipsis;
      white-space: nowrap;
  }

  .history-status {
      align-items: center;
      border: 1px solid transparent;
      border-radius: 999px;
      display: inline-flex;
      font-size: .82rem;
      font-weight: 800;
      gap: .4rem;
      line-height: 1;
      padding: .5rem .75rem;
      white-space: nowrap;
  }

  .history-status-dot {
      border-radius: 999px;
      display: inline-flex;
      height: .4rem;
      width: .4rem;
  }

  .history-status-success {
      background: #ecfdf5;
      border-color: rgba(16, 185, 129, .24);
      color: #047857;
  }

  .history-status-success .history-status-dot {
      background: #10b981;
  }

  .history-status-danger {
      background: #fef2f2;
      border-color: rgba(239, 68, 68, .24);
      color: #dc2626;
  }

  .history-status-danger .history-status-dot {
      background: #ef4444;
  }

  .history-status-warning {
      background: #eff6ff;
      border-color: rgba(59, 130, 246, .24);
      color: #1d4ed8;
  }

  .history-status-queued {
      background: #f8fafc;
      border-color: rgba(100, 116, 139, .28);
      color: #475569;
  }

  .history-status-warning .material-symbols-outlined,
  .history-status-queued .material-symbols-outlined {
      font-size: .9rem;
  }

  .history-status-warning .history-status-spin {
      animation: history-spin 1s linear infinite;
  }

  @keyframes history-spin {
      to {
          transform: rotate(360deg);
      }
  }

  .history-actions {
      align-items: center;
      display: flex;
      gap: .35rem;
      justify-content: flex-end;
  }

  .history-action-btn {
      align-items: center;
      background: transparent;
      border: 0;
      border-radius: .45rem;
      color: #94a3b8;
      display: inline-flex;
      height: 34px;
      justify-content: center;
      padding: 0;
      text-decoration: none;
      transition: background-color .15s ease, color .15s ease, opacity .15s ease;
      width: 34px;
  }

  .history-action-btn:hover {
      background: #fff7ed;
      color: var(--sentinel-primary-dark);
  }

  .history-action-danger:hover {
      background: #fef2f2;
      color: #dc2626;
  }

  .history-action-muted {
      cursor: not-allowed;
      opacity: .45;
  }

  .history-footer {
      align-items: center;
      background: rgba(248, 250, 252, .72);
      display: flex;
      justify-content: space-between;
      padding: 1.25rem;
  }

  .history-footer-text {
      color: var(--sentinel-muted);
      font-size: .9rem;
      margin: 0;
  }

  .history-pagination {
      display: inline-flex;
      margin: 0;
  }

  .history-pagination .page-link {
      background: #fff;
      border-color: var(--sentinel-line);
      color: #334155;
      font-weight: 700;
      min-height: 42px;
      padding: .65rem 1rem;
  }

  .history-pagination .page-item.active .page-link {
      background: var(--sentinel-primary);
      border-color: var(--sentinel-primary);
      color: #fff;
  }

  .history-pagination .page-link:hover {
      background: var(--sentinel-bg);
      color: var(--sentinel-primary-dark);
  }

  @media (max-width: 991.98px) {
      .history-page {
          margin-left: 0;
          margin-right: 0;
          padding: 2rem 0 3rem;
      }

      .history-header,
      .history-toolbar,
      .history-footer {
          align-items: stretch;
          flex-direction: column;
      }

      .history-toolbar-actions {
          justify-content: space-between;
          width: 100%;
      }

      .history-new-scan {
          justify-content: center;
      }
  }


/* Products */
.product-form-card {
    margin-bottom: 1.5rem;
}

.product-form-body {
    background: #fff;
    padding: 1.5rem;
}

.product-form-grid {
    align-items: end;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.product-field {
    min-width: 0;
}

.product-submit {
    align-items: end;
    display: flex;
}

.product-toolbar-title {
    align-items: center;
    color: var(--sentinel-text);
    display: inline-flex;
    font-size: .95rem;
    font-weight: 800;
    gap: .55rem;
}

.product-toolbar-title .material-symbols-outlined {
    color: #94a3b8;
    font-size: 1.2rem;
}

.product-table {
    min-width: 840px;
}

.product-name-link {
    color: var(--sentinel-text);
    font-weight: 800;
}

.product-targets {
    max-width: 760px;
}

.product-table tbody tr {
    cursor: pointer;
}

.product-table tbody tr.table-active td {
    background: #fff7ed;
}

.product-table .history-action-btn {
    cursor: pointer;
}

@media (max-width: 991.98px) {
    .product-form-grid {
        grid-template-columns: 1fr;
    }

    .product-submit,
    .product-submit .history-new-scan {
        width: 100%;
    }
}


/* Logs */
.logs-page {
    color: var(--sentinel-text);
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin-left: -1rem;
    margin-right: -1rem;
    min-height: calc(100vh - 5rem);
    padding: 4rem 1rem 4rem;
}

.logs-shell {
    margin: 0 auto;
    max-width: 1280px;
}

.logs-header {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.logs-title {
    color: var(--sentinel-text);
    font-size: var(--sentinel-page-title-size);
    font-weight: var(--sentinel-page-title-weight);
    letter-spacing: 0;
    line-height: var(--sentinel-page-title-line-height);
    margin: 0;
}

.logs-subtitle {
    color: var(--sentinel-muted);
    font-size: .95rem;
    margin: .5rem 0 0;
}

.logs-back-link,
.logs-secondary-btn {
    align-items: center;
    background: #fff;
    border: 1px solid var(--sentinel-line);
    border-radius: .5rem;
    color: #334155;
    display: inline-flex;
    font-size: .9rem;
    font-weight: 800;
    gap: .5rem;
    min-height: 42px;
    padding: .65rem 1rem;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
    white-space: nowrap;
}

.logs-back-link:hover,
.logs-back-link:focus,
.logs-secondary-btn:hover,
.logs-secondary-btn:focus {
    background: var(--sentinel-bg);
    color: var(--sentinel-primary-dark);
}

.logs-summary-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1.25rem;
}

.logs-card {
    background: var(--sentinel-surface);
    border: 1px solid var(--sentinel-line);
    border-radius: 1rem;
    box-shadow: var(--sentinel-shadow);
    min-width: 0;
    overflow: hidden;
    padding: 1.5rem;
}

.logs-card-wide,
.logs-output-card {
    grid-column: 1 / -1;
}

.logs-card-header {
    align-items: flex-start;
    display: flex;
    gap: .85rem;
    margin-bottom: 1.25rem;
}

.logs-card-header h2 {
    color: var(--sentinel-text);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.logs-card-header p {
    color: var(--sentinel-muted);
    font-size: .85rem;
    margin: .25rem 0 0;
}

.logs-card-icon {
    align-items: center;
    background: #fff7ed;
    border-radius: .5rem;
    color: var(--sentinel-primary);
    display: inline-flex;
    flex: 0 0 2rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.logs-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    min-width: 0;
}

.logs-chip-list-extra {
    margin-top: .5rem;
}

.logs-chip {
    background: #f1f5f9;
    border-radius: .45rem;
    color: #334155;
    display: inline-flex;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.25;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: .45rem .75rem;
}

.logs-chip-wide {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: .78rem;
}

.logs-secondary-btn {
    margin-top: 1rem;
}

.logs-param-list {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.logs-param-list div {
    background: #f8fafc;
    border: 1px solid var(--sentinel-line-soft);
    border-radius: .65rem;
    min-width: 0;
    padding: .85rem 1rem;
}

.logs-param-list dt {
    color: #64748b;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .04em;
    margin-bottom: .25rem;
    text-transform: uppercase;
}

.logs-param-list dd {
    color: #334155;
    font-size: .9rem;
    font-weight: 700;
    margin: 0;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.logs-output-card {
    padding: 0;
}

.logs-output-card .logs-card-header {
    border-bottom: 1px solid var(--sentinel-line-soft);
    margin: 0;
    padding: 1.5rem;
}

.logs-output {
    background: #0f172a;
    color: #dbeafe;
    font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: .84rem;
    line-height: 1.65;
    max-height: 62vh;
    overflow-y: auto;
    padding: .75rem 0;
}

.logs-output-line {
    align-items: flex-start;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
    display: grid;
    gap: .75rem;
    grid-template-columns: .55rem minmax(0, 1fr);
    min-width: 0;
    padding: .8rem 1.5rem;
}

.logs-output-line:last-child {
    border-bottom: 0;
}

.logs-output-marker {
    background: var(--sentinel-primary);
    border-radius: 999px;
    display: inline-flex;
    height: .42rem;
    margin-top: .55rem;
    width: .42rem;
}

.logs-output-line-error {
    background: rgba(239, 68, 68, .12);
    color: #fecaca;
}

.logs-output-line-error .logs-output-marker {
    background: #ef4444;
}

.logs-output-line-warning {
    background: rgba(245, 158, 11, .1);
    color: #fde68a;
}

.logs-output-line-warning .logs-output-marker {
    background: #f59e0b;
}

.logs-output pre {
    color: inherit;
    font: inherit;
    margin: 0;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 991.98px) {
    .logs-page {
        margin-left: 0;
        margin-right: 0;
        padding: 2rem 0 3rem;
    }

    .logs-header {
        align-items: stretch;
        flex-direction: column;
    }

    .logs-summary-grid,
    .logs-param-list {
        grid-template-columns: 1fr;
    }

    .logs-output {
        max-height: none;
    }
}


/* Product helpers */
.trash-bin {
  cursor: pointer;
  height: 20px;
  width: 20px;
}

.replay-sign {
  cursor: pointer;
  height: 18px;
  width: 18px;
}
