.success { background-color: green !important; color: white !important; }
.error { background-color: red !important; color: white !important; }
.warning { background-color: orange !important; color: black !important; }
.responsive-logo {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* status page */
.stats-page {
  max-width: 1350px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.status-section {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-direction: column;
}

.left-section {
  flex: 1.4;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.disk-section,
.metrics-section {
  padding: 20px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  border-radius: 8px;
  max-width: 440px;
  min-width: 440px;
}

.disk-section h3,
.metrics-section h3,
.supervisor-section h3 {
  text-align: center;
  font-size: 18px;
  margin-bottom: 10px;
  max-width: 880px;
}

.disk-section pre,
.supervisor-section pre {
  background-color: #f4f4f4;
  padding: 5px;
  border-radius: 5px;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 14px;
}

.metrics-section ul {
  list-style: none;
  padding-left: 0;
}

.metrics-section li {
  font-size: 16px;
  margin: 10px 0;
}

.metrics-section li strong {
  color: #333;
}

.supervisor-section {
  flex: 2;
  padding: 15px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  border-radius: 8px;
  max-width: 900px;
}

@media screen and (max-width: 830px) {
  .status-section {
    flex-direction: column;
    gap: 20px;
  }

  .left-section,
  .supervisor-section {
    flex: 1;
    width: 830px;
  }
}
.menu-icon {
  font-size: 3.8em; /* Adjust size here */
  color: #f44336;
  position: absolute;
  left: 5px;
  top: -10px;
  height: auto;
  z-index: 999;
  line-height: 1;
  padding-top: 0px;
  margin-top: 0px;
}

.liDisabled {
  pointer-events: none;
  background-color: rgb(0, 153, 221);
}

.dropdown-content li {
  line-height: 1.6em !important;
  padding: 4px 10px !important;
  min-height: unset !important;
}

.dropdown-content li .material-icons,
.dropdown-content li .material-symbols-outlined {
  font-size: 1.6em;
  vertical-align: middle;
  line-height: 1;
  margin-right: 6px;
}

.dropdown-content li img {
  vertical-align: middle;
  height: 15px;
  margin-right: 6px;
}

#dropdown1 {
  min-width: 240px !important;
  max-width: 350px !important;
}

#dropdown1 li a {
  padding: 4px 6px;
  font-size: 14px;
  font-weight: bold;
  color: rgb(0, 43, 62);
}

#dropdown1 li {
  padding: 4px 6px;
  font-size: 14px;
  font-weight: bold;
  color: rgb(0, 43, 62);
  cursor: text;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: auto;
  position: relative;
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
}

.ag-cell-value button {
  border: none;
  color: white;
  padding: 3px 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  cursor: pointer;
  border-radius: 4px;
  background-color: #418838;
}
.ag-cell-value button:disabled {
  background-color: #bcbcbc !important;  /* Light gray */
  color: #666 !important;                /* Darker text */
  cursor: not-allowed !important;        /* "not allowed" cursor */
  opacity: 0.65;                         /* Slightly faded */
}
.ag-cell-value button {
  /* ...your existing styles... */
  margin-right: 3px;
}

.ag-cell-value button:last-child {
  margin-right: 0; /* Avoid extra margin after the last button */
}
#toast-container {
  top: 50% !important;
  right: 50% !important;
  transform: translate(50%, -50%);
  bottom: auto !important;
  left: auto !important;
}

.my-button {
  border: none;
  color: white;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
}

.separatorLI {
  height: 5px !important;
  background-color: black !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 5px !important;
}

.fixed-button {
  position: absolute;
  top: 5px;
  right: 10px;
  z-index: 2;
}

.ag-theme-alpine {
  --ag-grid-size: 3.5px;
  --ag-list-item-height: 20px;
}

div.ag-theme-alpine div.ag-row {
  font-size: 12px !important;
}

.containerDiv {
  height: 95vh;
  width: 100%;
}

#ag-grid-1 {
  height: 60%;
  width: 100%;
  min-height: 10%;
}

#ag-grid-logs {
  padding-top: 10px;
  height: 99%;
  width: 100%;
  min-height: 10%;
}
#filter-text-box {
  width: 200px!important;
  height: 30px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  border: #080808 1px solid;
}
#ag-grid-1{
  
  padding-top: 10px;
}
#cinemasGrid,
#moviesGrid {
  padding-top: 10px;
  height: 100%;
  width: 100%;
  min-height: 10%;
}

#ag-grid-2 {
  min-height: 10%;
  height: 35%;
  width: 100%;
}

#separator {
  margin-top: 10px;
  height: 15px;
  background: linear-gradient(to right, #d3d3d3, #080808, #d3d3d3);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  cursor: row-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}

#separator::after {
  content: '⇳ Drag to resize ⇳';
  font-size: 12px;
  color: #fff;
}

.full-width-height-container {
  width: 100%;
  height: 85%;
  margin: 0;
  padding: 0;
}

.ag-input-field-input.ag-text-area-input {
  height: 150px;
  margin: 0;
  padding: 0;
}

/* Toolbar select styling */
#gridToolbar select,
.my-select {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 1000 !important;
  position: relative !important;
}

#gridToolbar {
  visibility: visible !important;
  display: flex !important;
}
