@import 'primereact/resources/themes/saga-blue/theme.css';
@import 'primereact/resources/primereact.min.css';
@import 'primeicons/primeicons.css';
@import './styles/canvas-theme.css';

@layer tailwind-base, primereact, tailwind-utilities;

@tailwind base;
@tailwind components;
@tailwind utilities;

/* li > a {
  margin: 6px 0;
} */

/* src/index.css */
.custom-tabview .p-tabview-nav li {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  cursor: pointer;
  /* color: #0d9488; text-teal-700 */
  transition: color 0.3s;
}

.custom-tabview .p-tabview-nav li:hover a {
  color: #14b8a6; /* text-teal-500 */
}

.custom-tabview .p-tabview-nav li.p-highlight a {
  color: #0f766e; /* text-teal-600 */
  /* font-weight: 600; font-semibold */
}

.custom-tabview .p-tabview-nav li.p-highlight {
  border-bottom: 2px solid #14b8a6; /* border-teal-500 */
}

/*
* {
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none; 
}
*/

/* .p-highlight {
  background-color: #212f4d !important;
} */

/* ICONS */
.p-icon.p-checkbox-icon {
  border: 1px solid teal;
  color: #fff;
  background-color: teal;
}

/* DATA TABLE */
.p-dialog .p-dialog-header {
  padding-top: 32px !important;
  padding-bottom: 0px !important;
}

.p-datatable.p-datatable-gridlines .p-datatable-header {
  /* padding: 10px 8px 10px 8px !important; */
  z-index: 100;
}

.p-datatable-header {
  top: 0;
  z-index: 10;
  padding: 0 !important;
}

/* .p-datatable-header > div {
      display: flex;
    }*/

.p-datatable-header > div > div {
  padding: 0 0 18px 0;
}
.p-datatable-header > div > div > div > button {
  /* width: 100px; */
}

.p-datatable > .p-datatable-wrapper {
  overflow: initial !important;
  margin: 0 0 80px 0;
  width: 100%;
}

.p-datatable .p-datatable-header {
  position: sticky;
  padding: 0.3rem 1rem !important;
  width: 100%;
  background-color: #fff;
}

.p-datatable-thead {
  position: sticky;
  /* top: 114px; */
  top: 87.5px;
  z-index: 10;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #fff;
}

.p-sortable-column,
thead tr th {
  /* padding: 12px; */
  box-shadow: inset 0 -1px 0 #dee2e6;
  /* width: 100%; */
  background-color: #fff;
}
.p-dropdownpanel {
  width: 365px !important;
}

.p-datatable {
  width: 100%;
  /* margin-top: 32px; */
}

.p-datatable-tbody {
  margin-top: 32px;
}

/* search bar data table */
.p-datatable-header .p-inputtext.p-component {
  padding: 6px 64px;
  margin-left: -8px;
  border: 1px solid #222;
}

.p-paginator.p-component.p-paginator-bottom {
  position: fixed;
  bottom: 0;
  box-shadow: inset 0 1px 0 #dee2e6;
  width: 86%;
  margin: 0;
}


.pi.pi-search {
  margin: -8px 14px;
}

.p-inputtext.p-component {
  /* padding: 6px 64px; */
  /* margin-left: -8px; */
  border: 1px solid #222;
}

.p-component.p-highlight {
  outline: none !important;
  background-color: teal;
  border: 0px solid;
}
.p-button {
  outline: none !important;
  /* border: 0px solid; */
  padding: 10px !important;
  margin: 8px 0px;
}

/* in place element removal to make own clickable area*/
.p-inplace .p-inplace-display {
  display: block !important;
  padding: 0 !important;
  cursor: pointer;
}

/* .p-tabview-ink-bar {
  width: 0 !important;
} */

.link-style {
  color: blue;
  text-decoration: none;
  cursor: pointer;
}

.link-style:hover {
  text-decoration: underline;
  color: blue;
}

/* Ensure custom header in .p-datatable-header fills the width */
.p-datatable-header > div {
  width: 100% !important;
  min-width: 0 !important;
  background: #fff !important;
  display: flex !important;
}
