/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.wrapper {
  display: grid;
  border-style: solid;
  border-color: #4d4d4d;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(60, 1fr);
  grid-gap: 0px;
  width: 100vw;
  height: 96.5vh;
  /* height: 100vh; */
  background-color: #4d4d4d;
}

.wrapper-sandbox {
  display: grid;
  border-style: solid;
  border-color: #4d4d4d;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(60, 1fr);
  width: 100vw;
  height: 96.35vh;
  background-color: #4d4d4d;
}

.one {
  border-style: solid;
  border-color: blue;
  grid-column: 1 / 2;
  grid-row: 1 / 4;
}

.gridMap {
  grid-column: 4 / 11;
  grid-row: 1 / 59;
  border-color: white;
}

.gridMap-full {
  grid-column: 4 / 11;
  grid-row: 1 / 61;
  border-color: white;
}

.grid_Table_Parameters {
  border-style: solid;
  border-color: white;
  grid-column: 1 / 4;
  grid-row: 1 / 35;
}

.grid_Table_Parameters_full {
  border-style: solid;
  border-color: white;
  grid-column: 1 / 4;
  grid-row: 1 / 53;
  /* overflow: auto; */
  overflow-y: scroll;
}

/* html {
    overflow:   scroll;
  } */
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
  /* make scrollbar transparent */
}

.grid_buttons {
  grid-row: 0.5;
  /* grid-column: 1; */
  border-style: solid;
  border-color: white;
}

.grid_buttons_2 {
  grid-row: 0.5;
  /* grid-column: 2; */
  border-style: solid;
  border-color: white;
}

.grid_buttons_3 {
  grid-row: 0.5;
  /* grid-column: 3; */
  border-style: solid;
  border-color: white;
}
.grid_buttons_4 {
  grid-row: 0.5;
  /* grid-column: 4; */
  border-style: solid;
  border-color: white;
}

.grid_Table_Results {
  background-color: #4d4d4d;
  border-style: solid;
  border-color: white;
  grid-column: 1 / 4;
  grid-row: 35 / 61;
}

.five {
  border-style: solid;
  border-color: white;
  grid-column: 1 / 11;
  grid-row: 59/61;
  background-color: white;
  text-align: center;
  font-size: 9pt;
  padding: 3px;
}

.five-half {
  border-style: solid;
  border-color: white;
  grid-column: 1 / 4;
  grid-row: 59/61;
  background-color: white;
  text-align: center;
  font-size: 9pt;
  padding: 3px 3px;
}

table {
  text-align: center;
  border-collapse: collapse;
  background-color: #f6f6f6;
  border-spacing: 0px;
}

td,
th {
  border: 1px solid #999;
  border-collapse: collapse;
  border-spacing: 0;
  padding: 2px;
  font-size: 8pt;
}

th {
  background: #4d4d4d;
  color: white;
  border-radius: 0;
  top: 0;
  padding: 2px;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #999;
  border-spacing: 0;
}

.primary {
  background-color: #000000;
}

tfoot > tr {
  background: black;
  color: white;
}

tbody > tr:hover {
  background-color: #ffc107;
  font-size: 7pt;
  border: 1px solid #999;
  border-spacing: 0;
}

tr:hover .userInput {
  background-color: #ffc107;
}

button {
  background-color: grey;
  border: 1px solid black;
  border-color: black;
  color: black;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  width: 32.5%;
  font-family: "TimesNewRoman";
}

button:hover {
  background-color: #ffc107;
}

.info {
  padding: 6px 8px;
  font: 14px/16px Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.info h4 {
  margin: 0 0 5px;
  color: #777;
}

.userInput {
  font-size: 8pt;
  font-family: "TimesNewRoman";
  text-align: center;
  outline: none;
  background: floralwhite;
  color: #000;
}

.userInput_2 {
  width: 100%;
  height: 100%;
  border: none;
  font-size: 8pt;
  font-family: "TimesNewRoman";
  text-align: center;
  outline: none;
  background-color: #777777;
}

#aircraftDropdown {
  background-color: #ece8e8;
  width: 100%;
  border: none;
  font-size: 8pt;
  font-family: "TimesNewRoman";
  text-align: center;
  outline: none;
}

.sandy {
  background-color: #c8c8c8;
  color: #000000;
  text-align: center;
  width: 50%;
}

.sandy_sub {
  background-color: #dcdcdc;
  text-align: center;
  color: #000000;
  font-size: x-small;
  width: 50%;
}

.collapsible {
  background-color: #444444;
  color: white;
  cursor: pointer;
  padding: 2px;
  width: 100%;
  border: none;
  text-align: center;
  outline: none;
  font-size: 8pt;
  font-family: "TimesNewRoman";
  font-weight: bold;
}

.aircraft_type {
  font-size: 10pt;
  gap: 15px;
  margin: 5px;
  display: inline-flex;
  color: white;
  align-content: center;
}

.actionButton {
  width: auto;
  border-radius: 1;
  float: right;
  padding: 8px;
  font-size: 10pt;
}

.active,
.collapsible:hover {
  background-color: #555555;
}

.collapsible:after {
  content: "\25BC";
  /* Unicode character for "plus" sign (+) */
  font-size: 8pt;
  color: white;
  float: right;
  margin-left: 5px;
}

.content {
  /* padding: 2px 18px; */
  padding-top: 3px;
  background-color: #666666;
  max-height: 0;
  overflow: auto;
  font-family: "TimesNewRoman";
  font-size: 8pt;
  /* padding: 2px; */
  transition: max-height 0.2s ease-out;
}

#progress {
  align-items: center;
  width: 100%;
  background-color: white;
  /* grid-row: 53/55; */
  grid-column: 1/4;
  border-style: solid;
  border-color: white;
}

#bar {
  width: 0%;
  height: 100%;
  background-color: green;
}

.fix_width {
  width: 140px;
}

.leaflet-control-layers leaflet-control-layers-expanded leaflet-control {
  width: fit-content;
}

/* Style for the command prompt modal */
.command-prompt-modal {
  background-color: rgba(
    0,
    0,
    0,
    0.8
  ); /* Set a background color with opacity */
  color: #00ff00;
  font-family: "Courier New", monospace;
  border: none;
}

.command-prompt-modal .modal-dialog {
  max-width: 50%; /* Set a custom width for the modal */
}

.command-prompt-modal .modal-content {
  height: 50vh;
  overflow-y: scroll;
}

.command-prompt-modal .modal-header {
  background-color: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid #00ff00;
  /* background-color: #000; */
  color: #00ff00;
}

.command-prompt-modal .modal-title {
  color: #00ff00;
}

.command-prompt-modal .modal-body {
  background-color: rgba(0, 0, 0, 0.8);
  color: #00ff00;
  padding: 15px;
  display: flex;
  flex-direction: column;
  white-space: pre-wrap; /* Allow line breaks within log lines */
  word-break: break-word; /* Break long words to prevent overflow */
  text-align: left;
}

.command-prompt-modal .modal-footer {
  background-color: rgba(0, 0, 0, 0.8);
  border-top: 1px solid #00ff00;
}

.progress-bar {
  order: -1; /* Push the progress bar to the top */
}

/* normal radios – leave them to the browser */
input[type="radio"][name="type"]:not(:disabled) {
  accent-color: initial;
}

/* disabled radios – custom draw */
input[type="radio"][name="type"]:disabled {
  -webkit-appearance: none;
  appearance: none;
  width: 1em;
  height: 1em;
  border: 2px solid #666;
  border-radius: 50%;
  background: #fff;
}
input[type="radio"][name="type"]:disabled:checked {
  background: radial-gradient(
    circle at 50% 50%,
    #777 0 48%,
    #fff 49% 100%
  ) !important;
}

label.disabled {
  opacity: 0.5;
  pointer-events: none;
}

tr,
td,
th,
td:hover,
tr:hover,
th:hover {
  border: none !important;
  box-shadow: none !important;
  border-collapse: collapse;
  /* cursor: pointer; */
}

.quadra-panel {
  padding: 8px 10px;
  background-color: rgba(255, 255, 255, 0.9);
  font: 13px;
  color: #333;
  width: 140px;
}
.quadra-panel h5 {
  margin: 2px 0 3px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
}
.info.legend {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2px 8px;
  line-height: 1.2;
  color: #333;
  width: 140px;
}
.info.legend .square {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  opacity: 0.8;
}
