/* anchored-position[popover] {
  border-width: 1px;
  position: absolute;
  border-radius: 8px; 
  background-color: #f6f8fa;
  border-color: #d1d5da;
}

.Banner {
  background-color: #dff7ff;
  border-top: 1px solid #0366d6;
  border-bottom: 1px solid #0366d6;
  color: #060606;
  padding: 16px 24px;
} */

/* Dropdown menu styling */
action-menu > anchored-position[popover] {
  border: 1px solid #d0d7de;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(140, 149, 159, 0.2);
  background-color: #ffffff;
  margin-top: 8px;
  min-width: 240px;
  max-width: 300px;
  overflow: hidden;
}

action-list {
  padding: 0;
}

action-list action-list-item,
action-list a[role="menuitem"] {
  border-radius: 0;
  padding: 8px 16px;
  transition: all 0.2s ease;
  display: block;
  text-decoration: none;
  color: #24292f;
}

action-list action-list-item:hover,
action-list a[role="menuitem"]:hover {
  background-color: #f6f8fa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

action-list action-list-item[data-variant="danger"]:hover {
  background-color: #ffebe9;
}

action-list action-list-divider {
  margin: 4px 0;
  border-top: 1px solid #d0d7de;
}

.data-table {
  width: 100%;
  text-align: left;

}

.data-table tr {
border-bottom: 1px solid #ddd;
}

.data-table tr:nth-child(even) {
background-color: #f9f9f9;
}

/* =========================================
   React Page Components - Shared Styles
   ========================================= */

/* ---- App Header ---- */
.np-topbar {
  background-color: #24292f;
  color: white;
  padding: 4px 16px;
  font-size: 14px;
  border-bottom: 1px solid #d0d7de;
}

.np-topbar a {
  color: white;
  text-decoration: none;
}

.np-header {
  background-color: #f6f8fa;
  border-bottom: 1px solid #d0d7de;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.np-header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.np-header-logo {
  fill: #24292f;
}

/* Primer React dropdown menu */
[data-portal-root] {
  z-index: 10000;
}

ul[role="menu"] {
  border: 1px solid #d0d7de;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(140, 149, 159, 0.2);
  background-color: #ffffff;
  min-width: 240px;
  max-width: 300px;
  padding: 4px;
  margin-top: 8px;
}

ul[role="menu"] a,
ul[role="menu"] li[role="menuitem"] {
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  margin: 2px 0;
  color: #24292f;
}

ul[role="menu"] a:hover,
ul[role="menu"] li[role="menuitem"]:hover {
  background-color: #f6f8fa;
  color: #0969da;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

ul[role="menu"] li[data-variant="danger"]:hover {
  background-color: #ffebe9;
  color: #cf222e;
}

ul[role="menu"] hr,
ul[role="menu"] li[role="separator"] {
  margin: 4px 0;
  border: 0;
  border-top: 1px solid #d0d7de;
  height: 0;
  padding: 0;
}

header button[type="submit"]:hover {
  background-color: #f3f4f6 !important;
  border-color: rgba(31, 35, 40, 0.15) !important;
}

/* ---- App Footer ---- */
.np-footer {
  background-color: #f6f8fa;
  border-top: 1px solid #d0d7de;
  padding: 40px 32px;
  margin-top: 64px;
}

.np-footer a {
  color: #57606a;
  text-decoration: none;
}

.np-footer a:hover {
  color: #0969da;
  text-decoration: underline;
}

.np-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.np-footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.np-footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.np-footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.np-footer-bottom {
  border-top: 1px solid #d0d7de;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.np-footer-legal {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #57606a;
  flex-wrap: wrap;
}

.np-footer-social {
  display: flex;
  gap: 16px;
}

/* ---- Page Layout ---- */
.np-page-bg {
  background-color: #f6f8fa;
  min-height: calc(100vh - 200px);
}

.np-page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px;
}

.np-page-container--offers {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px;
}

/* ---- Section Cards ---- */
.np-card {
  background-color: #ffffff;
  border-radius: 6px;
  border: 1px solid #d0d7de;
  margin-bottom: 24px;
}

.np-card-header {
  padding: 24px;
  border-bottom: 1px solid #d0d7de;
  background-color: #f6f8fa;
}

.np-card-header--lg {
  padding: 32px;
  border-bottom: 1px solid #d0d7de;
  background-color: #f6f8fa;
}

.np-card-body {
  padding: 24px;
}

.np-card-body--lg {
  padding: 32px;
}

/* ---- Icon Circles ---- */
.np-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.np-icon-circle--blue {
  background-color: #ddf4ff;
}

.np-icon-circle--green {
  background-color: #dcffe4;
}

.np-icon-circle--blue-solid {
  background-color: #0969da;
  color: #ffffff;
  width: 64px;
  height: 64px;
}

/* ---- Centered Section Header ---- */
.np-section-header {
  text-align: center;
  margin-bottom: 24px;
}

/* ---- Flash Messages ---- */
.np-flash-wrapper {
  margin-bottom: 16px;
}
