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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* ---------------------------------------------------------------------------------------------------------
   Everything below moved out of the views so the Content-Security-Policy can drop 'unsafe-inline' from BOTH
   script-src and style-src. A nonce cannot rescue a style="..." ATTRIBUTE — only removing it can — so the
   handful of one-off widths and wraps the views carried are named classes now.
   --------------------------------------------------------------------------------------------------------- */

/* Chrome — was an inline <style> block in _Layout.cshtml. */
.navbar {
  background: linear-gradient(90deg, #0d6efd, #0dcaf0);
}

.navbar .navbar-brand {
  font-weight: 700;
  color: #fff !important;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.2s ease-in-out;
}

.navbar .nav-link:hover {
  color: #fff !important;
}

footer {
  background: #f8f9fa;
  padding: 1rem 0;
  font-size: 0.9rem;
}

main {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Page ground shared by the Errors and Manage Log Groups screens. */
.page-surface {
  background-color: #f9fafb;
}

/* The sign-in card: a fixed, deliberately narrow column. */
.login-card {
  width: 350px;
}

/* Dropdown panels that must not collapse to the width of their widest word. */
.menu-panel-sm {
  min-width: 14rem;
}

.menu-panel {
  min-width: 17rem;
}

.menu-panel-lg {
  min-width: 20rem;
  max-height: 22rem;
  overflow-y: auto;
}

/* Explanatory text under a menu group, held to the panel's own width. */
.menu-note {
  max-width: 17rem;
}

/* A captured body or a stack trace: wrapped rather than scrolled, and broken mid-token when a payload has no
   spaces in it at all. */
.payload-text {
  white-space: pre-wrap;
  word-break: break-word;
}

/* Long values in table cells — an exception message, a correlation id — wrap instead of stretching the row. */
.cell-wrap {
  overflow-wrap: anywhere;
}

.cell-wrap-38 {
  max-width: 38rem;
  overflow-wrap: anywhere;
}

/* Fixed column widths, so the table's shape does not shift between searches. */
.col-w-icon { width: 2rem; }
.col-w-id { width: 60px; }
.col-w-sm { width: 90px; }
.col-w-md { width: 120px; }
.col-w-lg { width: 150px; }