body a {
  color: #52948e;
}

body a:hover {
  color: #2c504d;
}

/* Main page layout */
#container-grid {
  position: relative;
  height: 500px;
  background-image: url("../images/grid.png");
  background-repeat: repeat;
  background-size: auto;
  background-position: top center;
}

#container-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0));
  z-index: 2;
  pointer-events: none;
}

#container-grid::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, white, rgba(255, 255, 255, 0));
  z-index: 2;
  pointer-events: none;
}

/* File Preview */

#excel_table_container {
  height: 55vh;
  max-height: calc(100% - 50vh);
  overflow-y: auto;
  overflow-x: auto;
  margin: 0 auto;
}

.excel_table .cell {
  display: flex;
  border-right: 1px solid rgb(129, 204, 197);
  border-bottom: 1px solid rgb(129, 204, 197);
  padding: 10px;
  text-align: center;
  background-color: #fff;
  font-family: Arial, sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.excel_table .cell:focus {
  max-width: none;
  white-space: normal;
  overflow: visible;
  z-index: 10;
  background: #e6f7f3;
  outline: 2px solid #52948e;
}

.excel_table .cell.header {
  font-weight: bold;
  min-width: 150px;
  background-color: rgb(168, 227, 215);
  justify-content: center;
  position: relative;
}

.excel_table .cell.row-number {
  background-color: rgb(129, 204, 197);
  border-bottom: 1px solid rgb(168, 227, 215);
  font-weight: bold;
  text-align: center;
  justify-content: center;
}

.excel_table .cell.row-number:first-child {
  background-color: #fff;
}

#excel_table_container::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

#excel_table_container::-webkit-scrollbar-track {
  background: rgb(241, 241, 241);
  border-radius: 10px;
}

#excel_table_container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
  background-color: rgb(169, 169, 169);
}

#excel_table_container::-webkit-scrollbar-thumb:hover {
  background: rgb(116, 116, 116);
}

#excel_table_loader {
  position: absolute;
  z-index: -10; /* Behind the excel table, otherwise prevents interactions */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Excel table resizer */
.col-resizer {
  position: absolute;
  right: 0;
  top: 0;
  width: 6px;
  height: 100%;
  cursor: col-resize;
  user-select: none;
  z-index: 2;
}

/* BreadCrumb */

.breadcrumb {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.breadcrumb-item {
  position: relative;
  font-size: 16px;
  font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #6c757d;
  margin: 0 10px;
}

.breadcrumb-item a {
  text-decoration: none;
  color: #52948e;
  transition: color 0.3s ease-in-out;
}

.breadcrumb-item a:hover {
  color: #2c504d;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #6c757d;
  font-weight: 600;
}

.text-blue {
    color : #52948e ;
}

/* Custom Buttons (boostrap override) */
.btn-outline-primary,
.btn-outline-success {
  border-color: #52948e;
  color: #52948e;
}

.btn-outline-primary:hover,
.btn-outline-success:hover {
  background-color: #52948e;
  color: #fff;
  border-color: #52948e;
}

.btn-success,
.btn-primary {
  background-color: #52948e;
  border-color: #52948e;
}

.btn-success:hover,
.btn-primary:hover,
.btn-primary:focus,
.btn-success:focus,
.btn-primary:active,
.btn-success:active,
.btn-primary:disabled,
.btn-success:disabled {
  background-color: #2c504d;
  border-color: #2c504d;
}

.tab-sheet{
  color : #52948e;
}

.tab-sheet:hover{
  background-color: #52948e;
  color : white;
}

.sheet-toggle{
  color: #52948e;
  border-radius: 5px;
  padding: 5px;
}

.sheet-toggle:checked{
  background-color: #52948e;
  border-color: #dee2e6 #dee2e6 #fff;
  color: white;
}

/* Slider button */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  vertical-align: middle;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}
input:checked + .slider {
  background-color: #52948e;
}
input:focus + .slider {
  box-shadow: 0 0 1px #52948e;
}
input:checked + .slider:before {
  transform: translateX(24px);
}
.slider.round {
  border-radius: 24px;
}
.slider.round:before {
  border-radius: 50%;
}

.tooltip-inner {
  max-width: 400px;
  width: auto;
  text-align: center;
  font-size: 14px;
}

.list-group-item.active {
    background-color: #52948e ;
    border-color: #52948e ;
    color: white;
}

.dropdown-toggle.show{
  background: #2c504d !important;
  color: white;
}

.dropdown-item:focus {
  background: #52948e;
  color: white;
}
