html {
  font-size: 16px;
  height: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #f7f9fc;
  color: #1f2933;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

:root {
  --lm-green: #67b430;
  --lm-blue: #2f77c7;
  --lm-blue-dark: #1f5a9c;
  --lm-dark: #0f1115;
}

.lm-header .top-strip {
  background: #f5f5f5;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.95rem;
}

.sign-in-link {
  color: #666666 !important;
  text-decoration: none;
  font-weight: 600;
}

.sign-in-link:hover {
  color: #666666 !important;
  text-decoration: underline;
}

.lm-header .main-nav {
  background: var(--lm-dark);
}

.energy-brand {
  display: inline-block;
  background: var(--lm-green);
  color: #fff !important;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.energy-brand:hover {
  color: #fff !important;
}

.energy-brand:visited {
  color: #fff !important;
}

.energy-brand:link {
  color: #fff !important;
}

.lm-brand {
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.nav-link-header {
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
  cursor: pointer;
  display: inline-block;
}

.nav-link-header:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link-header.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.14);
}

.nav-link-header:visited {
  color: #fff !important;
}

.nav-link-header:link {
  color: #fff !important;
}

.notice-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: #f2f6fb;
  border: 1px solid #dbe5f5;
  color: #4d5766;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 0;
}

.notice-bar p {
  margin: 0;
}

.page-shell {
  padding-top: 0;
  padding-bottom: 0;
}

.page-shell .container {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 576px) {
  .page-shell .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.lm-tabs .tab-btn {
  border: none;
  background: var(--lm-blue);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 3px 8px rgba(17, 48, 86, 0.25);
  transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.15s ease;
  text-decoration: none;
}

.lm-tabs .tab-btn:hover,
.lm-tabs .tab-btn:focus,
.lm-tabs .tab-btn:visited {
  text-decoration: none;
  color: #fff;
}

.lm-tabs .tab-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(17, 48, 86, 0.28);
}

.lm-tabs .tab-btn.active {
  background: var(--lm-blue-dark);
}

.lm-tabs .tab-secondary {
  background: #3e8ed0;
}

.select-row label {
  margin-bottom: 0;
}

.form-select {
  min-width: 220px;
  border-radius: 6px;
}

.site-select {
  width: 200px;
  max-width: 200px;
  min-width: 160px;
}

.site-select option {
  max-width: 200px;
  white-space: normal;
  word-break: break-word;
}

.foia-notice-box {
  border: none;
  border-radius: 4px;
  padding: 1rem 1.25rem;
  background-color: #fff;
  margin: 1.5rem 0;
  text-align: center;
}

.foia-notice-box p {
  color: #1f2933;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.foia-link {
  color: #2f77c7;
  text-decoration: underline;
  font-weight: 600;
}

.foia-link:hover {
  color: #1f5a9c;
  text-decoration: underline;
}

.lm-footer {
  background: #fff;
  margin-top: auto;
  width: 100%;
}

.lm-footer-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #1f2933;
  margin: 0;
}

.lm-footer-link {
  color: #2f77c7;
  text-decoration: underline;
}

.lm-footer-link:hover {
  color: #1f5a9c;
  text-decoration: underline;
}

/* Document Search Center (Search tab) */
.search-page-title {
  color: var(--lm-blue);
  font-size: 1.75rem;
  font-weight: 700;
}

.search-instruction {
  color: #1f2933;
}

.search-tips-link {
  color: var(--lm-blue);
  text-decoration: underline;
}

.search-tips-link:hover {
  color: var(--lm-blue-dark);
}

.search-sidebar-title {
  color: #6f42c1;
  font-weight: 600;
}

.search-sidebar-refiners {
  margin-top: 0.5rem;
}

.search-suggestions {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.search-btn {
  padding: 0.375rem 0.75rem;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.15rem rgba(47, 119, 199, 0.35);
}

@media (max-width: 768px) {
  .lm-header .container,
  .lm-header .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-links {
    width: 100%;
  }

  .nav-link-header {
    padding: 0.4rem 0.55rem;
  }

  .notice-bar {
    margin: 0 1rem;
    font-size: 0.92rem;
  }

  .lm-tabs {
    justify-content: center;
  }

  .select-row {
    margin-top: 1rem;
  }
}