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

.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: 34px;
}

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

.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;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 254px;
    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: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

.clear-date {
  top: 50%;
  background: transparent;
  border: none;
}
.transform-y-50 {
  transform: translateY(-50%);
}

[dir='rtl'] .clear-date {
  left: 25px;
}
[dir='ltr'] .clear-date {
  right: 25px;
}

.datatables-warehouse-list thead tr th:nth-child(8) {
  width: 70px !important;
}
.profile-pic {
  width: 4px;
  left: 50%;
  transform: translateX(-50%);
  top: 0px;
  z-index: 1001;
}
.profile-pic img {
  border-radius: 50%;
  box-shadow: 0px 0px 5px 0px #c1c1c1;
  cursor: pointer;
  width: 63px;
  height: 63px;
}
.publicData li {
  width: 33%;
}
.publicData {
  border-right: 1px solid #dbdade !important;
  padding-right: 3rem !important;
}

.asphalt-work-order-list .datatables-warehouse-list thead tr th:nth-child(8) {
  width: 340px !important;
}
.show-attach {
  padding: 5px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: rgba(144, 163, 203, 0.1);
}
.attach-name {
  display: block;
  max-width: 100px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.attach-file {
  width: 100px;
  height: 100px;
  margin: 5px;
  cursor: pointer;
}
.modal-body .show-attach {
  width: fit-content !important;
}

/*fixed table*/
.fixed-table-container {
  max-height: 600px;
  overflow-y: auto;
}
.fixed-table-container table {
  width: 100%;
  border-collapse: collapse;
}
.fixed-table-container thead th {
  position: sticky;
  top: 0;
  background: #f4f4f4; /* Background color for header */
  z-index: 1;
}
/*fixed table*/

/*badges*/
.custom-badge {
  border-radius: 16px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 400;
  display: flex;
  width: max-content;
}
.custom-badge img {
  margin: 0 5px;
}
.pending-badge {
  background: #fffcf5;
  color: #dc6803;
}
.success-badge {
  background: #ecfdf3;
  color: #039855;
}
/*badges*/

/*colors and fonts*/
.font-weight-400 {
  font-weight: 400;
}
.font-weight-500 {
  font-weight: 500;
}
.font-weight-600 {
  font-weight: 600;
}
.font-weight-700 {
  font-weight: 700;
}
.font-10 {
  font-size: 10px;
}
.font-12 {
  font-size: 12px;
}
.font-14 {
  font-size: 14px;
}
.font-16 {
  font-size: 16px;
}
.font-18 {
  font-size: 18px;
}
.font-20 {
  font-size: 20px;
}
.font-22 {
  font-size: 22px;
}
.font-24 {
  font-size: 24px;
}
.font-26 {
  font-size: 26px;
}
.font-28 {
  font-size: 28px;
}
.font-36 {
  font-size: 36px;
}
.font-38 {
  font-size: 38px;
}
.font-40 {
  font-size: 40px;
}
.text-dark {
  color: #000 !important;
}
.text-gray {
  color: #8a8aa3;
}
.text-gray-100 {
  color: #3f3f50;
}
.text-gray-200 {
  color: #98a2b3;
}
.text-gray-300 {
  color: #475467;
}
.text-gray-400 {
  color: #a9a9bc;
}
.text-gray-500 {
  color: #667085;
}
.text-gray-800 {
  color: #1d2939;
}
.text-gray-900 {
  color: #101828;
}
.color-text-secondry {
  color: #6c6c89;
}
.color-orange {
  color: #dc6803;
}
.bg-green {
  background-color: #297863 !important;
}
.border-raduis-8 {
  border-radius: 8px !important;
}
.border-raduis-16 {
  border-radius: 16px !important;
}

/*green padge*/
.green-badge {
  border-radius: 16px;
  background: var(--Brand-50, #ecf6f2);
  color: var(--Brand-600, #297863);
  text-align: center;
  font-size: 12px;
  padding: 2px 10px;
  margin: 0 5px;
}

/*table new design*/

.list-tabs {
  border-radius: 8px;
  border: 1px solid var(--Gray-300, #d0d5dd);
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  width: fit-content;
  overflow: hidden;
  margin-bottom: 25px;
}
.list-tab {
  border-right: 1px solid var(--Gray-300, #d0d5dd);
  background: #fff;
  color: var(--Gray-500, #667085);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  overflow: hidden;
  padding: 10px;
}
.list-tab.active {
  background-color: #eee;
}

.table-title {
  font-size: 18px;
  font-weight: 500;
}
.card {
  border-radius: 16px;
 
  box-shadow: none;
}
.blue-card {
  border-radius: 16px;
  border: 1px solid var(--Gray-100, #f2f4f7);
  background: rgba(242, 244, 247, 0.6);
}
.card .card-header,
.blue-card .card-header {
  padding-right: 0;
  padding-left: 0;
}
.dataTable {
  border-top: none !important;
}
.dataTable thead {
  border-bottom: 1px solid var(--Gray-200, #e4e7ec);
  background: var(--Gray-50, #f9fafb);
}
.table-custom-option {
  border-radius: 8px !important;
  border: 1px solid #d0d5dd !important;
  background: var(--White, #fff);
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  color: #344054;
}
input[aria-controls='work_order_items-table'] {
  width: 250px !important;
}
.dataTables_filter input {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z" stroke="%23667085" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) center;
  background-size: 20px 20px;
  padding-right: 35px; /* Add padding to make space for the icon */
}

.filter-btn.active,
.add-file-attach {
  border: 1px solid #c8e3d9 !important;
  background: #f7fbf9 !important;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
}
.filter-flag {
  top: -5px;
  right: -5px;
}
/*table new design*/
.delete-item {
  border-radius: 10.667px;
  border: 1px solid var(--Error-300, #fda29b);
  background: var(--Error-50, #fef3f2);
  padding: 7px;
}
.quantity-plus {
  top: 50%;
  transform: translateY(-50%);
  right: 1rem;
  width: 25px;
  height: 25px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
}
.quantity-minus {
  top: 50%;
  transform: translateY(-50%);
  left: 1rem;
  width: 25px;
  height: 25px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
}
.custom-rate {
  border-radius: 6px;
  padding: 4px 6px;
}
.danger-rate {
  background-color: #fef3f2;
}
.success-rate {
  background-color: #ecf6f2;
}
.red-color {
  color: #d92d20;
}
.green-color {
  color: #297863;
}

.three-color-bar {
  width: 100%;
  height: 10px;
  display: flex;
}

.color1 {
  background-color: #6342ff;
  width: 20%;
  border-radius: 10px;
}

.color2 {
  background-color: #017efa;
  width: 50%;
  border-radius: 10px;
}

.color3 {
  background-color: #f48282;
  width: 30%;
  border-radius: 10px;
}

/* sidebar */
.flex-1 {
  flex: 1;
}
.menu-vertical,
.menu-vertical .menu-block,
.menu-vertical .menu-inner > .menu-item,
.menu-vertical .menu-inner > .menu-header {
  width: 19.25rem;
}
@media (min-width: 1200px) {
  [dir='rtl'].layout-menu-fixed:not(.layout-menu-collapsed) .layout-page,
  [dir='rtl'].layout-menu-fixed-offcanvas:not(.layout-menu-collapsed) .layout-page {
    padding-right: 19.25rem;
    padding-left: 0;
  }
}
.tabs-icon-container {
  width: fit-content;
  padding: 1rem;
  border-left: 1px solid #f0f0f0;
  background: #fcfcfd;
}
.sidebar-search {
  border-radius: 9999px;
  border: 1px solid var(--Gray-100, #f2f4f7);
  background: var(--Gray-25, #fcfcfd);
  width: 100%;
}

.sidebar-header {
  color: #667085;
}
/* .sidebar-menu li{
  padding: 10px;
} */
.sidebar-menu a {
  font-size: 14px;
  font-weight: 600;
  color: #475467;
}
.active-tab {
  border-right: 2px solid var(--Brand-600, #297863);
  background: linear-gradient(90deg, rgba(236, 246, 242, 0) 0%, #ecf6f2 100%);
}
hr.menu-separator {
  color: #f2f4f7;
  margin: 10px;
  border-color: #f2f4f7 !important;
}
.menu-vertical {
  box-shadow: none;
  border-left: 1px solid var(--Boarder---W, #f0f0f0);
}
.tbody tr td {
  font-size: 14px;
  font-weight: 600;
}
.card-filter-container {
  border-radius: 12px;
  border: 1px solid var(--Gray-100, #f2f4f7);
  box-shadow: 0px 14px 84px 0px rgba(0, 0, 0, 0.1);
}
.form-control {
  border-radius: 12px;
}
.select2-container--default .select2-selection {
  border-radius: 12px !important;
}
.btn,
.dt-buttons.btn-group button {
  border-radius: 1000px !important;
}
.layout-page .layout-navbar {
  box-shadow: none;
  background: transparent !important;
}
/* sidebar */

.breadcrumb-item,
.breadcrumb-item a {
  color: #98a2b3;
}
.breadcrumb-item.active a:not(:hover, :focus) {
  color: #667085;
}
.content-wrapper h4 {
  color: #101828;
  font-size: 24px;
  font-weight: 700;
}
.light-switch {
  border-radius: 999px;
  border: 1px solid var(--Gray-200, #e4e7ec);
  background: var(--Gray-25, #fcfcfd);
  padding: 7px 10px;
}
.light-switch .active {
  border-radius: 12px;
  border: 1px solid var(--Gray-200, #e4e7ec);
  background: var(--Gray-0, #fff);
  padding: 1px 10px;
}
input.top-search-bar {
  border-radius: 999px !important;
  border: 1px solid var(--Gray-200, #e4e7ec);
}
.dropdown-notifications {
  border-radius: 999px !important;
  border: 1px solid var(--Gray-200, #e4e7ec);
  background: #fcfcfd;
}
.layout-navbar .navbar-dropdown .badge-notifications {
  top: 3px;
  padding: 3px;
  right: 5px;
}

.custom-dropdown {
  border: 1px solid var(--Gray-200, #e4e7ec) !important;
  background: var(--Gray-25, #fcfcfd);
  padding: 9px 15px;
}

table th,
table td {
  font-weight: 500;
  font-size: 14px;
  color: #101828 !important;
}

.login-bg {
  background: url('../../../frontend/assets/img/icons/content.png') no-repeat;
  background-size: cover;
}

.dropdown-notifications .dropdown-menu{
  min-width: 390px;
  max-height: 400px;
  overflow: hidden;
  overflow-y: auto;
}
.view-attachments {
  white-space: nowrap;
}