/* Colors */
:root {
  --amber-200: #FDE68A;
  --amber-500: #F59E0B;
  --amber-900: #78350F;
  --black: #030303;
  --blue-200: #BFDBFE;
  --blue-500: #3B82F6;
  --blue-900: #1E3A8A;
  --gray-200: #E5E7EB;
  --gray-500: #6B7280;
  --gray-900: #18181B;
  --green-200: #BBF7D0;
  --green-500: #22C55E;
  --green-900: #14532D;
  --indigo-200: #c7d2fe;
  --indigo-500: #6366f1;
  --indigo-900: #312e81;
  --red-200: #FECACA;
  --red-500: #EF4444;
  --red-900: #7F1D1D;
  --white: #FFFFFF;
}

* {
  box-sizing: border-box;
}
html {
  font-size: 12pt;
}

body {
  font-family: sans-serif;
  min-height: 100vh;
  margin: 0;
  background: black;
  /*
  background-image: url(/halftone.svg);
  background-repeat: repeat-x;
  background-size: auto 75vh;
  background-position-y: bottom;
  background-color: black;
  color: white;
  */
}

/*
main {
  display: grid;
  place-content: center;
  grid-gap: 1rem;
  height: 100%;
  min-height: 65vh;
}
*/

a:link {
  text-decoration: none;
}

input {
  /*
  background-color: #151515;
  color: white;
  */
}

button,
.button {
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  border: 2px solid black;
  padding: 0.5rem 1rem;
  background: white;
  /* background: black; */
  /* color: white; */
  opacity: 1;
  cursor: pointer;
}
button:hover,
.button:hover {
  background: #eee;
}

input[readonly] {
  visibility: hidden;
  position: absolute;
  height: 0;
  width: 0;
}

#dash > * > * {
  max-width: 1020px;
  margin: 0 auto;
  width: 100%;
}

#dash > header {
  background: white;
  border-bottom: 3px solid black;
  padding: 0 2rem;
}

#dash > header > div {
  display: flex;
  align-items: center;
  overflow: visible;
  max-height: 2.5rem;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.8rem;
  gap: 1rem;
  width: 100%;
  /* background: black; */
  /* border-top: 1px solid black; */
  /* letter-spacing: 1px; */
  /* color: #888; */
}

#dash > header a:first-child {
  margin-right: auto;
}

#dash > header a:not(:first-child) {
  opacity: 0.6;
  overflow: visible;
}

#dash > header button {
  border: 0;
  max-width: 30ch;
  text-overflow: ellipsis;
  overflow-x: hidden;
  white-space: nowrap;
  font-weight: 700;
  padding: 0;
  /* letter-spacing: 1px; */
}

#dash > main {
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
  width: 100%;
  background: #ccc;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#dash > footer {
  min-height: 8rem;
  height: 100%;
  border-top: 3px solid black;
}

#dash section,
.panel {
  background: white;
  border: 2px solid black;
  border-bottom: 3px solid black;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-style: italic;
}
h1 {
  font-size: 2rem;
}

* {
  color: inherit;
}

.google-btn {
  display: inline-block;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
  background-color: #4285f4;
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}
.google-btn img {
  vertical-align: middle;
  margin-right: 10px;
  height: 24px;
}
.google-btn:hover {
  background-color: #357ae8;
}

.hidden {
  visibility: hidden;
  height: 0;
  width: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}
th {
  text-align: left;
}
table th,
table td {
  vertical-align: middle;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 12rem;
  padding: 0.1rem 0.75rem;
  width: 0;
  border: 2px solid black;
  background: white;
}
table th {
  text-transform: capitalize;
  padding: 0.25rem 0.75rem;
  letter-spacing: 1px;
  background: #eee;
}

.box {
  /*
  background: #151515;
  */
  padding: 1rem 4rem 3rem;
  border: 2px solid #444;
  border-radius: 5px;
  letter-spacing: 2px;
  font-weight: 500;
  /* font-style: italic; */
  text-transform: uppercase;
}

/* Alert */

.alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  height: fit-content;
  line-height: 1rem;
  font-weight: bold;
}

.alert-info {
  background-color: var(--blue-200);
  color: var(--blue-900);
}

.alert-secondary {
  background-color: var(--gray-200);
  color: var(--gray-900);
}

.alert-success {
  background-color: var(--green-200);
  color: var(--green-900);
}

.alert-warning {
  background-color: var(--amber-200);
  color: var(--amber-900);
}

.alert-error {
  background-color: var(--red-200);
  color: var(--red-900);
}

/* Layout */

.layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-bottom: 15%;
  background-color: #f7f7f7;
}

.layout-header {
  margin: 24px 0;
  position: relative;
}

.layout-header h1 {
  font-size: 45px;
}

.layout-header p {
  margin-bottom: 0;
  color: #555;
}

.container {
  display: flex;
  flex-direction: column;
  max-width: 90%;
  flex-grow: 1;
}

.container-md {
  width: 1020px;
}

.container-lg {
  width: 1460px;
}

.centered-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 24px;
  height: 65px;
}

.navbar-links {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 24px;
  max-height: fit-content;
}

.navbar-portals {
  display: flex;
  gap: 24px;
  flex-grow: 1;
  margin-left: 24px;
}

.navbar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-500);
  font-weight: normal;
}

.navbar-link:hover {
  color: black;
}

.navbar-link-active {
  color: black;
  font-weight: bold;
}

/* Portals */

.portal-container {
  display: flex;
  flex-grow: 1;
  gap: 24px;
  height: 100%;
}

.portal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 240px;
  min-width: 240px;
  margin-top: 42px;
}

.sidebar-item-icon {
  margin-bottom: 2px;
}

.sidebar-item-sub-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gray-200);
}

.sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-group-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  color: var(--gray-500);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.sidebar-group-links {
  display: flex;
  flex-direction: column;
  gap: 0.825rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gray-200);
  margin-left: 0.5rem;
}

/* LayoutHeader */

.breadcrumbs {
  margin-left: 6px;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-size: small;
  color: var(--gray-500);
}

.breadcrumb:hover {
  color: black;
}

.breadcrumb:not(:first-child)::before {
  content: " / "
}

.usr-badge-usr {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gray-500);
  text-transform: uppercase;
  font-weight: 600;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.8rem;
  border: 2px solid var(--gray-900);
  border-radius: 6px;
  background-color: #333;
  color: white;
  width: fit-content;
}

.btn:hover {
  background-color: var(--gray-900);
}

.btn.btn-sm {
  padding: 0.25rem 0.5rem;
}

.btn.btn-disabled {
  background-color: var(--gray-500);
  border-color: var(--gray-500);
  pointer-events: none;
}

/* Button Variants */

.btn.btn-secondary {
  background-color: var(--gray-200);
  color: var(--gray-900);
  border: 2px solid var(--gray-200);
}

.btn.btn-secondary:hover {
  border-color: var(--gray-900);
}

.btn.btn-secondary.btn-disabled {
  color: var(--gray-500);
}

.btn.btn-destructive {
  background-color: var(--red-200);
  color: var(--red-900);
  border: 2px solid var(--red-200);
}

.btn.btn-destructive:hover {
  border-color: var(--red-900);
}

.btn.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--blue-500);
}

.btn.btn-ghost:hover,
.btn.btn-ghost:focus {
  background-color: white;
  border-color: var(--blue-500)
}

.action-table {
  border: 2px solid var(--gray-500);
  border-collapse: unset;
  border-spacing: 0;
}

.action-table thead th {
  border: none;
  border-bottom: 2px solid var(--gray-500);
}

.action-table tbody td {
  border: none;
  background-color: transparent;
}

table:not(.charts-css).action-table tbody tr:nth-child(odd) {
  background-color: white;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 12px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.25rem 0.75rem;
  border: 2px solid var(--gray-500);
  border-radius: 6px;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 100px;
}

.form-group label {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: bold;
}

.form-group-hint {
  margin: 6px 0;
  font-size: 14px;
  color: var(--gray-500);
}

.empty-callout {
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  background-color: #eee;
  color: #333;
  border-radius: 6px;
}

/* TrackedStat */

.tracked-stat {
  display: flex;
  justify-content: space-between;
  background-color: white;
  width: 100%;
}

.tracked-stat-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tracked-stat-header {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
}

.tracked-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  width: 32px;
  margin-right: 12px;
  border-radius: 4px;
  background-color: var(--gray-200);
}

.tracked-stat-values {
  display: flex;
  flex-direction: column;
  margin-left: 44px;
}

.tracked-stat-sum {
  margin-top: 24px;
  font-size: 60px;
}

.tracked-stat-total {
  margin-top: 12px;
  font-size: 24px;
  color: var(--gray-500);
}

.tracked-stat-table.line {
  max-width: 360px;
  margin: 0;
  margin-top: auto;
}

.tracked-stat-table th {
  font-size: 14px;
  color: var(--gray-500);
}

/* InlineForm */

.inline-form {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 35px;
}

/* TODO: Pull most of these into global input? */
.inline-form input,
.inline-form select {
  flex-grow: 1;
  height: 100%;
  padding: 0.25rem 0.75rem;
  border: 2px solid var(--gray-500);
  border-radius: 6px;
  font-size: 1rem;
}

/* PagerButtons */

.pager-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 35px;
}

.pager-btns-group {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 35px;
}

.pager-btn {
  margin: 0 6px;
}

/* PageSection */

.page-section {
  margin-bottom: 18px;
}

/* SectionHeader */

.section-header {
  position: relative;
  margin-bottom: 24px;
}

.section-header p {
  margin-bottom: 0;
}

.header-actions {
  position: absolute;
  top: 0;
  right: 0;
}

.header-action-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* User Roles */

.user-role {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background-color: var(--gray-200);
  margin-bottom: 6px;
  border-radius: 6px;
}

.user-role span {
  font-weight: bold;
}

.user-role .warning {
  margin: 8px 0;
  color: var(--gray-500)
}

.user-add-role-form {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

/* FeedItem */
.feed-item {
  display: flex;
  gap: 24px;
  padding: 12px;
  border-bottom: 2px solid #eee;
  margin-bottom: 12px;
  border-radius: 6px;
  background-color: white;
}

.feed-item img {
  height: 128px;
  border-radius: 6px;
}

.feed-item-details {
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 12px;
  flex-grow: 1;
}

/* Badge */

.badge {
  height: fit-content;
  min-width: fit-content;
  width: fit-content;
  padding: 3px 8px;
  font-size: smaller;
  text-transform: uppercase;
  /* border: 1px solid var(--gray-500); */
  border-radius: 6px;
  background-color: var(--gray-200);
  color: var(--gray-500);
  font-weight: bold;
}

.badge.badge-blue {
  background-color: var(--blue-200);
  color: var(--blue-900);
}

.badge.badge-amber {
  background-color: var(--amber-200);
  color: var(--amber-900);
}

.badge.badge-red {
  background-color: var(--red-200);
  color: var(--red-900);
}

.badge.badge-green {
  background-color: var(--green-200);
  color: var(--green-900)
}

/* ConfirmationDialog */

.confirmation-dialog {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;;
  border: 2px solid var(--gray-200);
  background-color: white;
  border-radius: 12px;
}

.confirmation-dialog-actions {
  display: flex;
  justify-content: space-between;
}

/* Table */


.styled-table {
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
  font-family: sans-serif;
  min-width: 400px;
  overflow: hidden;
}

.styled-table tr {
  height: 3rem;
  background-color: var(--white);
}

.styled-table thead tr {
  height: 2.5rem;
  color: var(--gray-500);
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.styled-table thead th {
  background-color: transparent;
}

.styled-table thead th,
.styled-table tbody td {
    background-color: transparent;
    border: none;
}

.styled-table tbody tr {
  background-color: var(--white);
}

.styled-table tbody tr:not(:last-child) {
  border-bottom: 1px solid var(--gray-200);
}

.styled-table tbody tr a {
  text-decoration: underline;
  font-weight: bold;
}

/* Empty Message */

.empty-message {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  justify-content: center;
  align-items: center;
  color: var(--gray-500);
  border: 1px dashed var(--gray-200);
  border-radius: 6px;
}

/* Card */

.card {
  background-color: var(--white);
  border-radius: 6px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--gray-200);
}

.card-header-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
}

.card-description {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.card-content {
  padding: 1rem;
}

.card-action {
  color: var(--blue-500);
  font-weight: 500;
  font-size: 0.875rem;
}

.card-action:hover {
  color: var(--blue-900);
}

.card-footer {
  padding: 1rem 0.75rem;
  border-top: 1px solid var(--gray-200);
}

/* DetailItem */

.detail-item {
  display: flex;
  margin-bottom: 0.5rem;
  min-height: 1.5rem;
  gap: 0.5rem;
}

.detail-item.detail-item-row {
  align-items: center;
  justify-content: space-between;
}

.detail-item.detail-item-col {
  flex-direction: column;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item-label {
  font-size: small;
  font-weight: bold;
  color: var(--gray-500);
}

.detail-item-null {
  font-size: small;
  font-weight: bold;
  color: var(--gray-500);
}

.detail-item-text {
  font-size: small;
  font-weight: bold;
}

.detail-item-text a {
  text-decoration: underline;
}

/* Dialog */

.dialog-container {
  position: relative;
  display: inline-block;
}

.dialog {
  padding: 0;
  margin: 0;
  border: none;
  width: 100%;
  max-width: 28rem;
  background-color: transparent;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 6px;
}

.dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

.dialog-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  cursor: pointer;
  color: var(--gray-500);
}

.dialog-close:hover {
  background-color: var(--gray-200);
  color: var(--gray-900);
}

/* Popover */

.popover-container {
  position: relative;
  display: inline-block;
}

.popover {
  position: absolute;
  z-index: 100;
  display: none;
  border-radius: 6px;
  background-color: transparent; /* Card provides background */
  width: max-content;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.15);
}

.popover.popover-top {
  bottom: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
}

.popover.popover-bottom {
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
}

.popover.popover-left {
  right: calc(100% + 0.5rem);
  top: 50%;
  transform: translateY(-50%);
}

.popover.popover-right {
  left: calc(100% + 0.5rem);
  top: 50%;
  transform: translateY(-50%);
}

.popover.popover-visible {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dialog[open] {
  animation: fadeIn 0.15s ease-out;
}

.popover.popover-visible {
  animation: fadeIn 0.15s ease-out;
}

.btn-icon {
  padding: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* PopoverFilter */

.popover-filter {
  padding: 0.5rem;
  min-width: 200px;
}

.popover-filter-title {
  font-weight: bold;
  margin: 0 0 0.5rem 0;
  color: var(--gray-900);
  font-size: 0.875rem;
}

.popover-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.popover-filter-item {
  color: var(--gray-500);
  border-radius: 4px;
}

.popover-filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem;
  text-decoration: none;
}

.popover-filter-item.active {
  font-weight: bold;
  color: var(--indigo-500);
}

.popover-filter-item:hover {
  background-color: var(--gray-200);
  color: var(--gray-900);
}

.popover-filter-item.active:hover {
  background-color: var(--indigo-200);
  color: var(--indigo-900);
}

.popover-filter-footer {
  padding-top: 0.5rem;
  border-top: 1px solid var(--gray-200);
  margin-top: 0.5rem;
  display: flex;
}

/* ClientSbAssetTable */

.table-filter-row th {
  padding: 0.5rem;
  vertical-align: top;
  border-top: none;
  border-bottom: 1px solid var(--gray-200);
  background-color: white;
}

.filter-select-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.filter-select {
  width: 100%;
  padding: 0.25rem 0.5rem;
  padding-right: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.25rem;
  font-size: 0.75rem;
  background-color: white;
}

.filter-select:focus {
  border-color: var(--blue-500);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.filter-dropdown {
  width: 100%;
}

.filter-clear-btn {
  position: absolute;
  right: 0.25rem;
  display: none;
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0 0.25rem;
  z-index: 2;
}

.clear-all-filters-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.5rem;
}

.search-container {
  width: 100%;
  max-width: 300px;
  position: relative;
}

.filter-search-input {
  width: 100%;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.25rem;
  font-size: 0.875rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.filter-search-input:focus {
  border-color: var(--blue-500);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.filterable-assets-table .sortable {
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.filterable-assets-table .sortable.active {
  font-weight: 600;
  color: var(--indigo-500);
}

.filterable-assets-table .sortable:hover {
  color: var(--indigo-500);
}

.filterable-assets-table .header-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0;
}


.filterable-assets-table .sort-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}

.sort-chevrons {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.2s;
  line-height: 0.5;
}

.sortable:hover .sort-chevrons {
  opacity: 1 !important;
}

/* Notifications */

.notification {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  position: relative;
}

.notification:first-child {
  padding-top: 0;
}

.notification:last-child {
  padding-bottom: 0;
}

.notification + .notification {
  border-top: 1px solid var(--gray-200);
}

/* Compact variant for popover */
.notification-compact {
  padding: 10px 0;
  gap: 10px;
}

.notification-compact:first-child {
  padding-top: 0;
}

.notification-compact:last-child {
  padding-bottom: 0;
}

.notification-compact .notification-content {
  font-size: 0.875rem;
  line-height: 1;
}

/* "full" variant for user notifications page */
.notification-full {
  padding: 16px 0;
}

.notification-full:first-child {
  padding-top: 0;
}

.notification-full:last-child {
  padding-bottom: 0;
}

.notification-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px; /* Slight adjustment to align with first line of text */
}

.notification-full .notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.notification-info .notification-icon {
  background: var(--blue-200);
  color: var(--blue-900);
}

.notification-warning .notification-icon {
  background: var(--amber-200);
  color: var(--amber-900);
}

.notification-error .notification-icon {
  background: var(--red-200);
  color: var(--red-900);
}

.notification-success .notification-icon {
  background: var(--green-200);
  color: var(--green-900);
}

.notification-default .notification-icon {
  background: var(--gray-200);
  color: var(--gray-900);
}

/* Body content */
.notification-body {
  flex: 1;
  min-width: 0;
}

.notification-content {
  color: var(--gray-900);
  font-size: 0.9375rem;
  line-height: 1.5;
  padding-top: 4px;
  word-wrap: break-word;
}

.notification-meta {
  color: var(--gray-500);
  font-size: 0.8125rem;
  margin-top: 4px;
  font-weight: 400;
}

.notification-actions {
  margin-top: 8px;
}

.notification-actions a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.notification-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--gray-500);
}

.notification-empty-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.notification-empty-text {
  font-size: 0.9375rem;
  font-weight: 400;
}

/* View all button container */
.notification-view-all {
  padding-top: 0.75rem;
  margin-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.notification-view-all .btn {
  width: 100%;
  justify-content: center;
}

.notifications-page .notification {
  padding: 1rem 0;
}

.notifications-page .notification:first-child {
  padding-top: 0;
}

.notifications-page .notification:last-child {
  padding-bottom: 0;
}

/* Responsive styles for notifications page */
@media (max-width: 480px) {
  .notification {
    gap: 10px;
  }

  .notification-icon {
    width: 20px;
    height: 20px;
  }

  .notification-full .notification-icon {
    width: 24px;
    height: 24px;
  }

  .notification-content {
    font-size: 0.875rem; /* 14px */
  }

  .notification-compact .notification-content {
    font-size: 0.8125rem; /* 13px */
  }
}
