/*
* Common styles
******************************************************************************/
.center-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

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

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

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

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

#jobStatusModal .modal-header {
  padding-bottom: var(--bs-modal-header-padding-y, 1rem) !important;
}

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

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 300px;
    position: relative;
  }

  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

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

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1.25rem;
}

/** ============================ Modal ============================ */
/* Update Modal */
.modal-simple .modal-content {
  padding: 4rem;
}

/* Modal Close Button */
.modal-simple .btn-close {
  position: absolute;
  top: -2.5rem;
  inset-inline-end: -2.5rem;
}

/* Premium Dark Mode Styles */
html.dark-style body {
  background-color: #282a42;
  color: #b2b2c4;
}

html.dark-style .card,
html.dark-style .bg-white,
html.dark-style .layout-navbar,
html.dark-style .layout-menu,
html.dark-style .footer,
html.dark-style .modal-content,
html.dark-style .dropdown-menu {
  background-color: #30334e !important;
  color: #b2b2c4;
  border-color: #404463 !important;
  box-shadow: 0 0.125rem 0.25rem rgba(15, 20, 34, 0.4) !important;
}

html.dark-style h1,
html.dark-style h2,
html.dark-style h3,
html.dark-style h4,
html.dark-style h5,
html.dark-style h6,
html.dark-style .text-heading,
html.dark-style .card-title,
html.dark-style th {
  color: #d5d5e2 !important;
}

html.dark-style .form-control,
html.dark-style .form-select,
html.dark-style .input-group-text,
html.dark-style select.form-select {
  background-color: #282a42 !important;
  border-color: #404463 !important;
  color: #d5d5e2 !important;
}

html.dark-style .form-control:focus,
html.dark-style .form-select:focus {
  background-color: #282a42 !important;
  border-color: #7367f0 !important;
  color: #d5d5e2 !important;
  box-shadow: 0 0 0 0.15rem rgba(115, 103, 240, 0.25) !important;
}

html.dark-style .table {
  color: #b2b2c4;
  border-color: #404463;
  --bs-table-bg: transparent;
  --bs-table-color: #b2b2c4;
  --bs-table-border-color: #404463;
  --bs-table-hover-bg: rgba(115, 103, 240, 0.08);
}

html.dark-style .table th {
  background-color: #282a42 !important;
  border-bottom-color: #404463 !important;
}

html.dark-style .table td,
html.dark-style .table th {
  border-color: #404463 !important;
}

html.dark-style .border,
html.dark-style .border-bottom,
html.dark-style .border-top,
html.dark-style .border-start,
html.dark-style .border-end,
html.dark-style hr {
  border-color: #404463 !important;
}

html.dark-style .nav-tabs .nav-link.active {
  background-color: #30334e;
  color: #7367f0;
  border-color: #404463;
  border-bottom-color: #30334e;
}

html.dark-style .text-muted {
  color: #8c8f9d !important;
}

html.dark-style a:not(.btn) {
  color: #7367f0;
}

html.dark-style .menu-inner-shadow {
  background: linear-gradient(180deg, rgba(48, 51, 78, 1) 44%, rgba(48, 51, 78, 0.43) 73%, rgba(48, 51, 78, 0));
}

html.dark-style .app-brand .layout-menu-toggle i {
  color: #d5d5e2;
}

html.dark-style .page-link {
  background-color: #30334e;
  border-color: #404463;
  color: #d5d5e2;
}

html.dark-style .page-item.active .page-link {
  background-color: #7367f0;
  border-color: #7367f0;
  color: #fff;
}

html.dark-style .page-item.disabled .page-link {
  background-color: #282a42;
  border-color: #404463;
  color: #8c8f9d;
}

html.dark-style .dropdown-item {
  color: #b2b2c4 !important;
}

html.dark-style .dropdown-item h6,
html.dark-style .dropdown-item span {
  color: #b2b2c4 !important;
}

html.dark-style .dropdown-item:hover,
html.dark-style .dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: #d5d5e2 !important;
}

html.dark-style .dropdown-item:hover h6,
html.dark-style .dropdown-item:hover span,
html.dark-style .dropdown-item:hover i {
  color: #d5d5e2 !important;
}

html.dark-style .dropdown-item i {
  color: #8c8f9d !important;
}

/** ============================ /Modal ============================ */