body, html {
  height: 100%; /* Ensures body height is 100% of viewport */
  margin: 0;
}

.bg-main {
  background-color: #f4ecdc;
}

.fg-main {
  color: #c9a051;
}

.navbar {
  position: fixed;
  padding:0;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}

.navbar-footer {
  position: fixed;
  padding:0;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}

.top-menu-separator {
  width: 1px;
  height: 24px; /* Match button height */
  background-color: #ddd; /* Color of the separator */
  margin-right: 4px;
  margin-left: 4px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main_content {
  flex-grow: 1;
  padding: 10px;
  padding-top: 50px;
  margin: 0;
  box-sizing: border-box;
}

footer {
  background-color: #f4ecdc;
  color: #c9a051;
  text-align: center;
  font-size: small;
}

.nav {
  display: block;
}

.nav-link, .nav-link:visited, .nav-link.active {
  color: #c9a051;
  border-radius: 25px;
}

.nav-link:hover, .nav-link:visited:hover {
  color: #365fae;
  background-color: #c9a051;
  border-radius: 25px;
}

.nav-link.disabled,
.nav-link:disabled {
  color: rgb(33, 37, 41);
  background-color: transparent; /* No background color */
  pointer-events: none; /* Disable clicking */
  opacity: 0.65; /* Optional: make the disabled link look faded */
}

.tree-menu {
  /*
   height: calc(100vh - 70px);
   overflow-y: auto;
  */
  
}

.disabled {
  pointer-events: none; /* Prevent click events */
  opacity: 0.5;        /* Make it look dimmed */
  cursor: not-allowed; /* Change cursor to show it's disabled */
}

.tree-menu .nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tree-menu .nav-item {
  position: relative;
}

.tree-menu .nav-link {
  text-decoration: none;
  display: block;
  padding: 10px;
}

.tree-menu .nav-link:hover {
  text-decoration: none;
}

.tree-menu .nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
}

.tree-menu .nav-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
}

.tree-menu .nav-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tree-menu .nav-item:hover ul {
  display: block;
}

.tree-menu .nav-item ul li {
  padding-left: 20px;
}

.tree-menu .nav-item ul li a {
  padding-left: 10px;
}

.td_center {
  text-align: center !important;
}

.td_right {
  text-align: right !important;
}

.action-button {
  cursor: pointer;
  margin-left: 5px;
  margin-right: 5px; 
}

.form-control-lean {
    padding: 0.2rem 0.5rem;
    font-size: 0.875rem;
}

.input-group-lean .form-control,
.input-group-lean .input-group-text {
    padding: 0.2rem 0.5rem;
    font-size: 0.875rem;
}
.action-column {
  white-space: nowrap;
  width: 1%;
  text-align: center;
}

@media print {
  header, footer, div.tree-menu { 
    display: none; /* Hide header, footer, and left nav bar */
  }
  
  .main_content { 
    width: 100%; /* Make the main content take up full width */
    float: none; /* Ensure it's not floating to the right */
    border: 0;
  }

  body {
    margin: 0;
    padding: 0;
  }
  
  .noprint {
    display: none;
  }
}

.folder-main-container {
  padding: 20px;
}

.folder-filter-row {
  margin-bottom: 20px;
}

.folder-label {
  font-weight: bold;
  margin-bottom: 5px;
}

.folder-input {
  height: 35px;
  padding: 10px;
  font-size: 14px;
}

.folder-btn {
  margin-top: 25px;
}

.folder-datatable-row {
  margin-top: 20px;
}

.folder-datatable {
  font-size: 14px;
}

.folder-datatable thead th {
  background-color: #f0f0f0;
  border-bottom: 1px solid #ddd;
}

.folder-datatable tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.report-table {
  font-size: 12px;
}

.report-table th{
  text-align: left;
}

.password-highlight {
  font-family: 'Courier New', Courier, monospace; /* Monospace font for easier reading */
  background-color: #f8d7da; /* Light red background */
  color: #721c24; /* Dark red text color */
  font-weight: bold; /* Bold text */
  padding: 5px 10px; /* Padding around the text for better spacing */
  border-radius: 5px; /* Rounded corners for better visuals */
  display: inline-block; /* Ensures padding and background work as expected */
}

/* Gold metallic text with a dark brown border for contrast */
.gold-text {
  color: #D4AF37; /* Metallic gold */
  text-shadow: 
    -1px -1px 0 #5c3a0e,  /* Dark brown */
    1px -1px 0 #5c3a0e,
    -1px 1px 0 #5c3a0e,
    1px 1px 0 #5c3a0e;
}

/* Silver metallic text with a dark gray border for contrast */
.silver-text {
  color: #C0C0C0; /* Metallic silver */
  text-shadow: 
    -1px -1px 0 #4f4f4f,  /* Dark gray */
    1px -1px 0 #4f4f4f,
    -1px 1px 0 #4f4f4f,
    1px 1px 0 #4f4f4f;
}

/* Bronze metallic text with a dark orange/brown border for contrast */
.bronze-text {
  color: #CD7F32; /* Metallic bronze */
  text-shadow: 
    -1px -1px 0 #5a2d0a,  /* Dark orange-brown */
    1px -1px 0 #5a2d0a,
    -1px 1px 0 #5a2d0a,
    1px 1px 0 #5a2d0a;
}

.line-with-text {
  display: flex;
  align-items: center;
  text-align: center;
}

.line-with-text hr {
  flex-grow: 1;
  border: none;
  border-top: 2px solid #999;
  margin: 0 10px;
}

.line-with-text span {
  padding: 0 10px;
  font-weight: bold;
  color: #666;
}