/*
* 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: uppercase;
}

/* ! 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;
}

.dashboard-card {
  border: 1px solid rgba(67, 89, 113, 0.08);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

.dashboard-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dashboard-table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.dashboard-table tbody tr {
  transition: background-color 0.2s ease;
}

.dashboard-table tbody tr:hover {
  background-color: rgba(105, 108, 255, 0.08);
}

.dashboard-cards .card {
  height: 100%;
}

.dashboard-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dashboard-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem 0.95rem 1.35rem;
  border-radius: 0.85rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)),
    repeating-linear-gradient(
      0deg,
      rgba(15, 23, 42, 0.03),
      rgba(15, 23, 42, 0.03) 1px,
      transparent 1px,
      transparent 22px
    );
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.14);
}

.dashboard-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #6d6fff, #8b5cf6);
}

.dashboard-item__content {
  flex: 1;
}

.dashboard-item--outgoing {
  border-color: rgba(16, 185, 129, 0.2);
}

.dashboard-item--outgoing::before {
  background: linear-gradient(180deg, #10b981, #22c55e);
}

.dashboard-item--review {
  border-color: rgba(245, 158, 11, 0.25);
}

.dashboard-item--review::before {
  background: linear-gradient(180deg, #f59e0b, #facc15);
}

.dashboard-item__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}

.dashboard-item__field {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}


.dashboard-item__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 600;
}

.dashboard-item__value {
  font-size: 0.92rem;
  font-weight: 600;
  color: #2f3650;
}

.dashboard-item--outgoing .dashboard-item__value {
  color: #0f766e;
}

.dashboard-item--review .dashboard-item__value {
  color: #a16207;
}

.dashboard-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: #667085;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.dashboard-item__meta i {
  margin-right: 0.35rem;
  color: #6d6fff;
}

.dashboard-item--outgoing .dashboard-item__meta i {
  color: #0f766e;
}

.dashboard-item--review .dashboard-item__meta i {
  color: #d97706;
}


.dashboard-item__btn {
  padding: 0.2rem 0.6rem;
  line-height: 1.2;
  border-radius: 0.5rem;
}

.dashboard-empty {
  padding: 2.25rem 1.5rem;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.95));
}

.dashboard-empty__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 0.85rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.dashboard-empty__icon i {
  font-size: 1.4rem;
  line-height: 1;
  color: inherit;
}


@media (max-width: 575.98px) {
  .dashboard-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-item__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .dashboard-table {
    font-size: 0.85rem;
  }

  .dashboard-table thead th {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 575.98px) {
  .dashboard-table thead {
    display: none;
  }

  .dashboard-table tbody tr {
    display: grid;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(67, 89, 113, 0.08);
  }

  .dashboard-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
  }

  .dashboard-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #64748b;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
}
.table-card {
  border: 1px solid rgba(67, 89, 113, 0.08);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

.table-modern thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.table-modern tbody tr {
  transition: background-color 0.2s ease;
}

.table-modern tbody tr:hover {
  background-color: rgba(105, 108, 255, 0.08);
}

.table-modern thead th {
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.18), rgba(105, 108, 255, 0.06));
  color: #344054;
  border-bottom: none;
}

.dashboard-table thead th {
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.16), rgba(105, 108, 255, 0.05));
  color: #344054;
  border-bottom: none;
}

.dashboard-table thead th:first-child {
  border-top-left-radius: 10px;
}

.dashboard-table thead th:last-child {
  border-top-right-radius: 10px;
}

.table-modern thead th:first-child {
  border-top-left-radius: 10px;
}

.table-modern thead th:last-child {
  border-top-right-radius: 10px;
}

.search-card {
  min-width: 260px;
  background: #fff;
  border: 1px solid rgba(67, 89, 113, 0.12);
  border-radius: 0.5rem;
  padding: 0.35rem 0.6rem;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
}

.search-input {
  border: none;
  padding: 0;
  height: 1.6rem;
}

.search-input:focus {
  box-shadow: none;
}

.navbar-time {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(67, 89, 113, 0.12);
  border-radius: 0.75rem;
  color: #566072;
  font-size: 0.85rem;
  background: #fff;
  min-height: 38px;
  height: 38px;
}

.navbar-time__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(105, 108, 255, 0.12);
  color: #4f46e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.navbar-avatar {
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, #6d6fff, #a855f7);
  box-shadow: 0 6px 14px rgba(109, 111, 255, 0.35);
}

.navbar-logout {
  border-radius: 0.75rem;
  padding: 0.4rem 0.85rem;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #6d6fff, #a855f7);
  box-shadow: 0 8px 16px rgba(109, 111, 255, 0.3);
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 991.98px) {
  .navbar-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
  }

  .navbar-logout {
    min-height: 34px;
    padding: 0.3rem 0.7rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-time {
    display: none;
  }

  .navbar-logout {
    width: 100%;
    justify-content: center;
  }
}

.navbar-logout:hover {
  background: linear-gradient(135deg, #5f63f2, #9333ea);
  color: #fff;
}
.content-footer {
  border-top: 1px solid rgba(67, 89, 113, 0.1);
}


.swal2-simasur {
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.15);
  font-family: 'Public Sans', sans-serif;
}

.swal2-simasur-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.swal2-simasur-text {
  color: #6c757d;
  font-size: 0.95rem;
}

.swal2-simasur-btn {
  background: #696cff;
  color: #fff;
  padding: 0.4375rem 1.25rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.53;
}

.swal2-simasur-btn:hover {
  background: #5b5fef;
}

.swal2-simasur-btn--outline {
  background: transparent;
  color: #697a8d;
  border-color: #d9dee3;
}

.swal2-simasur-btn--outline:hover {
  background: rgba(67, 89, 113, 0.08);
}

.swal2-actions {
  gap: 0.5rem;
}

.swal2-toast.swal2-simasur {
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
}

.swal2-container.swal2-top-end {
  top: 80px !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;
}
