/*
* RMA OS design layer
******************************************************************************/

:root {
  --rma-surface: rgba(255, 255, 255, .78);
  --rma-surface-strong: rgba(255, 255, 255, .9);
  --rma-surface-muted: rgba(246, 248, 251, .78);
  --rma-ink: #172033;
  --rma-muted: #697386;
  --rma-line: rgba(23, 32, 51, .1);
  --rma-shadow: 0 18px 48px rgba(24, 35, 60, .12);
  --rma-shadow-soft: 0 8px 28px rgba(24, 35, 60, .08);
  --rma-radius: .75rem;
}

.dark-style {
  --rma-surface: rgba(34, 40, 56, .74);
  --rma-surface-strong: rgba(40, 48, 67, .9);
  --rma-surface-muted: rgba(28, 34, 49, .78);
  --rma-ink: #eef3fb;
  --rma-muted: #a8b3c7;
  --rma-line: rgba(232, 237, 244, .12);
  --rma-shadow: 0 18px 48px rgba(0, 0, 0, .28);
  --rma-shadow-soft: 0 8px 28px rgba(0, 0, 0, .2);
}

.rma-os {
  background: linear-gradient(180deg, rgba(247, 249, 252, .98), rgba(239, 243, 248, .98));
  color: var(--rma-ink);
}

.dark-style .rma-os {
  background: linear-gradient(180deg, #171b29, #111521);
}

.rma-os .layout-page,
.rma-os .content-wrapper {
  background: transparent;
}

.rma-os .layout-navbar {
  background: var(--rma-surface) !important;
  border: 1px solid var(--rma-line);
  box-shadow: var(--rma-shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.rma-os .layout-menu {
  background: var(--rma-surface-strong) !important;
  border-right: 1px solid var(--rma-line);
  box-shadow: var(--rma-shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.rma-os .menu-inner > .menu-item > .menu-link {
  border-radius: .625rem;
  margin-inline: .75rem;
}

.rma-os .menu-item.active > .menu-link,
.rma-os .menu-item.open > .menu-link {
  box-shadow: none;
}

.rma-os .card,
.rma-os .modal-content,
.rma-os .dropdown-menu,
.rma-glass {
  background: var(--rma-surface);
  border: 1px solid var(--rma-line);
  border-radius: var(--rma-radius);
  box-shadow: var(--rma-shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.rma-os .card {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.rma-os .card:hover {
  border-color: rgba(115, 103, 240, .24);
  box-shadow: var(--rma-shadow);
}

.rma-os .card-header {
  background: transparent;
  border-bottom-color: var(--rma-line);
}

.rma-os .table {
  --bs-table-bg: transparent;
  --bs-table-hover-bg: rgba(115, 103, 240, .06);
}

.rma-os .table thead th {
  border-bottom: 1px solid var(--rma-line);
  color: var(--rma-muted);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rma-os .table tbody td {
  border-color: var(--rma-line);
  vertical-align: middle;
}

.rma-os .btn {
  border-radius: .625rem;
  transition: box-shadow .18s ease, transform .18s ease;
}

.rma-os .btn:hover {
  box-shadow: var(--rma-shadow-soft);
  transform: translateY(-1px);
}

.rma-os .form-control,
.rma-os .form-select {
  border-radius: .625rem;
}

.rma-page-hero {
  background: linear-gradient(135deg, rgba(23, 32, 51, .96) 0%, rgba(31, 111, 139, .9) 55%, rgba(77, 139, 87, .86) 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--rma-radius);
  box-shadow: var(--rma-shadow);
  color: #fff;
  overflow: hidden;
  padding: 1.5rem;
}

.rma-page-hero .text-white-50 {
  color: rgba(255, 255, 255, .68) !important;
}

.rma-metric {
  min-height: 9.25rem;
}

.rma-metric-icon {
  align-items: center;
  border-radius: .75rem;
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.rma-action-strip {
  align-items: center;
  background: var(--rma-surface-muted);
  border: 1px solid var(--rma-line);
  border-radius: var(--rma-radius);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  padding: .875rem;
}

.rma-empty-state {
  align-items: center;
  color: var(--rma-muted);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 13rem;
  padding: 2rem;
  text-align: center;
}

.rma-empty-state i {
  font-size: 2.5rem;
  margin-bottom: .75rem;
  opacity: .66;
}

.rma-chip {
  align-items: center;
  background: var(--rma-surface-muted);
  border: 1px solid var(--rma-line);
  border-radius: 999px;
  display: inline-flex;
  gap: .375rem;
  padding: .35rem .7rem;
}

.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo {
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -ms-flexbox;
  display: flex;
  width: 34px;
  height: 24px;
}

.app-brand-logo.demo svg {
  width: 35px;
  height: 24px;
}

.app-brand-text.demo {
  font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 78px !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;
}
