/*!**/
/** demo.css*/
/** File include item demo only specific css only*/
/*******************************************************************************!*/

/*.menu .app-brand.demo {*/
/*  height: 64px;*/
/*  margin-top: 12px;*/
/*}*/

/*.app-brand-logo.demo svg {*/
/*  width: 22px;*/
/*  height: 38px;*/
/*}*/

/*.app-brand-text.demo {*/
/*  font-size: 1.75rem;*/
/*  letter-spacing: -0.5px;*/
/*  text-transform: lowercase;*/
/*}*/

/*!* ! For .layout-navbar-fixed added fix padding top tpo .layout-page *!*/
/*!* Detached navbar *!*/
/*.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {*/
/*  padding-top: 76px !important;*/
/*}*/
/*!* Default navbar *!*/
/*.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {*/
/*  padding-top: 64px !important;*/
/*}*/

/*!* Navbar page z-index issue solution *!*/
/*.content-wrapper .navbar {*/
/*  z-index: auto;*/
/*}*/

/*!**/
/** Content*/
/*******************************************************************************!*/

/*.demo-blocks > * {*/
/*  display: block !important;*/
/*}*/

/*.demo-inline-spacing > * {*/
/*  margin: 1rem 0.375rem 0 0 !important;*/
/*}*/

/*!* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. *!*/
/*.demo-vertical-spacing > * {*/
/*  margin-top: 1rem !important;*/
/*  margin-bottom: 0 !important;*/
/*}*/
/*.demo-vertical-spacing.demo-only-element > :first-child {*/
/*  margin-top: 0 !important;*/
/*}*/

/*.demo-vertical-spacing-lg > * {*/
/*  margin-top: 1.875rem !important;*/
/*  margin-bottom: 0 !important;*/
/*}*/
/*.demo-vertical-spacing-lg.demo-only-element > :first-child {*/
/*  margin-top: 0 !important;*/
/*}*/

/*.demo-vertical-spacing-xl > * {*/
/*  margin-top: 5rem !important;*/
/*  margin-bottom: 0 !important;*/
/*}*/
/*.demo-vertical-spacing-xl.demo-only-element > :first-child {*/
/*  margin-top: 0 !important;*/
/*}*/

/*.rtl-only {*/
/*  display: none !important;*/
/*  text-align: left !important;*/
/*  direction: ltr !important;*/
/*}*/

/*[dir='rtl'] .rtl-only {*/
/*  display: block !important;*/
/*}*/

/*!**/
/** Layout demo*/
/*******************************************************************************!*/

/*.layout-demo-wrapper {*/
/*  display: -webkit-box;*/
/*  display: -ms-flexbox;*/
/*  display: flex;*/
/*  -webkit-box-align: center;*/
/*  -ms-flex-align: center;*/
/*  align-items: center;*/
/*  -webkit-box-orient: vertical;*/
/*  -webkit-box-direction: normal;*/
/*  -ms-flex-direction: column;*/
/*  flex-direction: column;*/
/*  margin-top: 1rem;*/
/*}*/
/*.layout-demo-placeholder img {*/
/*  width: 900px;*/
/*}*/
/*.layout-demo-info {*/
/*  text-align: center;*/
/*  margin-top: 1rem;*/
/*}*/

.menu .app-brand {
  height: 64px;
  margin-top: 12px;
}

.pagination {
    padding: 10px;
}


.wrap-300 {
  word-wrap: break-word;
  max-width: 300px; 
}

.wrap-250 {
  word-wrap: break-word;
  max-width: 250px; 
}

.wrap-200 {
  word-wrap: break-word;
  max-width: 200px; 
}

.wrap-150 {
  word-wrap: break-word;
  max-width: 150px; 
}
.wrap-100 {
  word-wrap: break-word;
  max-width: 100px; 
}

/* Promo push list: .layout-page is flex with min-width 0 — page + card must not expand past viewport */
.push-notifications-page {
  min-width: 0;
  max-width: 100%;
}

/* Fill space between top chrome and footer so the table scrolls inside the card (no extra page scroll). */
/* Without a max-height on .layout-page, it grows with the table and the flex chain never constrains — browser scroll returns. */
.layout-content-navbar .layout-page:has(.push-notifications-page--fill) {
  min-height: 0;
  max-height: 100vh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.layout-content-navbar .layout-page:has(.push-notifications-page--fill) > .layout-navbar {
  flex-shrink: 0;
}

.layout-content-navbar .layout-page:has(.push-notifications-page--fill) > .content-wrapper {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.layout-content-navbar .content-wrapper:has(.push-notifications-page--fill) > .push-notifications-page--fill {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.push-notifications-page--fill > .push-notifications-table-section {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.push-notifications-page--fill .push-notifications-table-col {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  max-width: 100%;
}

.push-notifications-page--fill .push-notifications-table-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

/* Tables inside .layout-page (flex, min-width: 0): horizontal scroll inside card */
.admin-table-wide {
  min-width: 0;
  max-width: 100%;
}

.admin-table-wide > .card {
  max-width: 100%;
}

.admin-table-wide .table-responsive {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: scroll;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.admin-table-wide .table-responsive > .table {
  width: max-content;
  min-width: 100%;
  margin-bottom: 0;
}

/* Push list: scroll inside card; flex fill uses remaining viewport under navbar + page header + filters + footer */
.push-notifications-page .push-notifications-table-viewport {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.push-notifications-page--fill .push-notifications-table-viewport {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

/* Fallback when :has() is unavailable */
@supports not selector(:has(*)) {
  .push-notifications-page--fill .push-notifications-table-viewport {
    max-height: calc(100dvh - 24rem);
  }
}

.push-notifications-page .push-notifications-table-viewport thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background-color: var(--bs-body-bg, #fff);
  box-shadow: inset 0 -1px 0 var(--bs-border-color, #d9dee3);
}

.push-notifications-page .card .push-notifications-table-viewport thead th {
  background-color: var(--bs-card-bg, var(--bs-body-bg, #fff));
}

.push-notifications-table .push-stat-metric-label,
.pin-schedule-table .push-stat-metric-label {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.push-notifications-table .col-push-stats,
.pin-schedule-table .col-push-stats {
  min-width: 6.5rem;
  vertical-align: top;
}

.push-notifications-table .col-push-data {
  min-width: 16rem;
  max-width: 22rem;
  white-space: normal;
  word-wrap: break-word;
  vertical-align: top;
}

.push-notifications-table .col-push-target {
  min-width: 7.5rem;
  max-width: 12rem;
  white-space: normal;
  word-wrap: break-word;
  vertical-align: top;
}

/* Grouped rows: two-column language chips with equal column widths so short codes (e.g. IT) align */
.push-notifications-table .push-lang-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.5rem;
  max-width: 14rem;
}

.push-notifications-table .push-lang-chips .badge {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  hyphens: auto;
}

/* Admin sections that remain editable but are not shown in the mobile app */
.menu-item.nav-menu-hidden-in-app > .menu-link,
.menu-item.nav-menu-hidden-in-app .menu-sub .nav-menu-hidden-in-app-link {
  opacity: 0.62;
  color: var(--bs-secondary, #8592a3) !important;
}

.menu-item.nav-menu-hidden-in-app > .menu-link:hover,
.menu-item.nav-menu-hidden-in-app .menu-sub .nav-menu-hidden-in-app-link:hover {
  opacity: 0.82;
}

.menu-item.nav-menu-hidden-in-app.open.active > .menu-link,
.menu-item.nav-menu-hidden-in-app .menu-sub .menu-item.active > .nav-menu-hidden-in-app-link {
  opacity: 0.72;
}

.menu-item.nav-menu-hidden-in-app > .menu-link .menu-icon {
  filter: grayscale(0.45);
}

.nav-menu-hidden-in-app-hint {
  font-size: 0.65rem;
  line-height: 1.2;
  font-weight: 400;
  color: var(--bs-secondary, #8592a3);
  margin-top: 0.1rem;
  letter-spacing: 0.01em;
}

.btn-google-signin {
  color: #3c4043;
  background-color: #fff;
  border: 1px solid #dadce0;
  box-shadow: none;
}

.btn-google-signin:hover,
.btn-google-signin:focus {
  color: #1a73e8;
  background-color: #f8f9fa;
  border-color: #dadce0;
}

