/* Individual components */

/* Card */
.dCard {
  display: flex;
  flex-direction: column;
  width: 15rem;
}
.cardRow {
  margin: 0.5rem 0;
  display: flex;
  justify-content: space-between;
}
.dCardHead {
  font-weight: 600;
}
.status-icons {
  width: 2rem;
}

.labelCSS {
  /* text-decoration: underline; */
  /* color: var(--primary-text-color); */
  /* color: white; */
  -webkit-text-fill-color: var(--primary-text-color);
  /*Will override color (regardless of order) */
  /* -webkit-text-stroke-width: 0.8px; */
  -webkit-text-stroke-width: 0.4px;
  -webkit-text-stroke-color: rgb(0, 0, 0);

  /* padding: 2px 8px; */
  border-radius: 8px;
  margin-top: -90%;
  padding: 12px;
  /* background-color: black; */
  background-color: #ffffff;
}

/* Custom CSS for the info window content */
.info-window {
  /* padding: 10px; */
  background-color: #ffffff;
  /* background-color: #cf98ff; */
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: black;
  font-family: Gotham-Book;
  /* font-size: 1.2rem; */
}

/* .info-window .info-head {
  font-family: Gotham-Medium;
} */

.info-window p {
  margin: 0;
  /* font-size: 14px; */
  color: #666666;
}

.gm-style-iw {
  overflow: hidden;
  text-align: center;
  height: 2rem;
  font-weight: 550;
  font-family: var(--font-family);
}

.myinfo {
  text-align: center;
  font-weight: 550;
}

.gm-style-iw-t .gm-style-iw-tc {
  overflow: hidden;
  height: 1rem;
  width: 2.6rem;
}
/* .gm-style-iw-t .gm-style-iw-tc::after {
  height: 1.2rem;
  width: 2.6rem;
} */

.gm-style-iw-chr {
  overflow: hidden;
  display: none;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.online {
  background-color: green;
}

.status-dot.offline {
  background-color: red;
}

.gm-style .gm-style-iw-d {
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.gm-style-iw-tc {
  display: none;
}

.gm-style .gm-style-iw-c {
  padding: 0 !important;
  margin: 8px;
}

.small-screen-iframes {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Adjust the ratio as needed */
  text-align: center;
  color: var(--primary-text-color);
  border: none;
}

.resizable-container {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.small-screen-iframes {
  width: 100%;
  height: 100%;
  border: none;
}

iframe {
  display: block; /* Ensures the iframe behaves like a block element */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
  border: none; /* Remove default border */
  /* pointer-events: none; */
}

.iframe_div {
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  transition: transform 0.2s ease; /* Smooth transition for hover effect */
  transition: transform 0.2s ease, background-color 0.2s ease;
}

button {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: block;
  text-align: left; /* Align content within button */
}

.iframe_div:hover {
  transform: scale(1.01); /* Scale up slightly on hover */
  cursor: pointer; /* Change cursor to pointer on hover */
  background-color: rgba(102, 102, 102, 0.2);
}

.small-screen-iframe {
  width: 100%;
  height: 200px; /* Adjust height as needed */
  border: none;
}

.small-screen-iframe {
  top: 8rem;
  width: 17rem;
  height: calc(17rem * 9 / 16);
}

.main-tab {
  top: 12vh;
  left: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  width: auto;
  height: fit-content;
  border-radius: 0.5rem;
}

table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse; /* Ensure no extra spacing between cells */
}

.list-item-text {
  font-size: 80%;
  white-space: nowrap;
  width: auto;
}

.small_screen {
  display: flex;
  flex-direction: column;
  bottom: 4px;
  left: 54px;
  width: 24vw;
  height: calc((24vw / 16) * 9);
}
.small_screen_disabled {
  border: none;
  right: -26rem;
  rotate: 270deg;
  height: 0rem;
}

.droneDataRows {
  display: flex;
  justify-content: space-evenly;
}
/* .row {
  margin: 0px 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0.6rem;
} */

.row-item {
  padding: 4px;
  margin: 4px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.drone_data_display {
  border-radius: 0.5rem;
  display: flex;
  width: auto;
}

.drone_data_display .data {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  /* font-size: 1.4rem; */
  /* width: 5.0rem; */
}

.tab-pill {
  padding: 0.5rem;
  background-color: var(--secondary-color);
  color: var(--text-color-on-secondary);
  border-radius: 0.5rem;
  margin: 0.5rem 0.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3rem;
  box-shadow: black 0rem 0.3rem 0.3rem;
  /* font-size: 1.5rem; */
}

.tab-pill.active {
  font-weight: 600;
  background-color: var(--primary-color);
  cursor: grab;
  color: var(--text-color-on-primary);
  box-shadow: none;
}

#status-icon-data {
  padding: 0.5rem 0px;
  color: green;
  /* font-family: 'Roboto Mono', monospace; */
  /* word-spacing: -0.6rem; */
}

.display-window {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0rem;
  top: 0rem;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-window {
  /* font-size: 3.2rem; */
  padding: 4rem;
  background-color: var(--primary-bg-color);
  color: var(--primary-text-color);
  z-index: 6;
  width: 50rem;
  height: auto;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  position: relative;
  border-radius: 0.5rem;
}

.close-button {
  position: absolute;
  z-index: 100;
  right: 0rem;
  top: 0rem;
  cursor: pointer;
}

.main-window .close-button {
  margin-top: -1rem;
  margin-right: -1rem;
  width: 4rem;
  height: 4rem;
}

.small-info {
  display: block;
  color: gray;
  /* font-size: 1.6rem; */
  /* font-family: 'Ubuntu', sans-serif; */
  line-height: 1;
}

.primary-button {
  background-color: var(--primary-color);
  color: var(--text-color-on-primary);
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  border: none;
  border-radius: 0.5rem;
  /* font-family: 'Quicksand', sans-serif; */
  font-family: Gotham-Medium;
  height: 6rem;
  /* font-size: 3rem; */
  cursor: pointer;
  box-shadow: 0rem 0.5rem 0.4rem 0rem black;
}

.primary-button-outline {
  background-color: transparent;
  color: var(--primary-color);
  color: var(--primary-text-color);
  display: flex;
  align-items: center;
  width: 49%;
  justify-content: center;
  border: 0.3rem solid var(--primary-color);
  border-radius: 0.75rem;
  font-family: Gotham-Medium;
  /* font-family: 'Quicksand', sans-serif; */
  height: 4rem;
  cursor: pointer;
  height: 3.8rem;
  /* font-size: 1.4rem; */
  width: 100%;
  margin-top: 3rem;
}

.main-settings {
  width: 100%;
  height: 100%;
  z-index: 2 !important;
  top: 0rem;
  left: 0rem;
  display: flex;
  display: none;
  background-color: var(--gray-1);
}

.droneListTable {
  top: 10rem;
  position: relative;
  width: 100%;
  border-spacing: 0rem;
}

.droneListTable td {
  padding: 2rem;
}

.droneListTable td:hover {
  background-color: var(--gray-3);
  cursor: pointer;
}

.main-settings .active {
  background-color: var(--gray-3);
}

.statusTextTable,
.statusTextTable th,
.statusTextTable td {
  border: 0.05rem solid;
  border-collapse: collapse;
}
.statusTextTable td,
th {
  padding: 0.5rem 1rem;
}

.action-list {
  list-style: none;
  margin: 0rem;
  padding: 0rem;
  flex-direction: column;
  z-index: 5;
  box-shadow: 0rem 0rem 0.5rem 0rem;
}

.action-list li {
  padding: 0.5rem;
  width: 15rem;
}

.action-list li:hover {
  background-color: var(--gray-3);
  cursor: pointer;
}

.tab-sm {
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  /* background-color: var(--primary-color); */
  color: var(--primary-color);
  box-shadow: none;
  /* width: 7.0rem; */
  /* font-size: 1.4rem; */
}

.arrow-button {
  width: 100%;
  background-color: #cf98ff;
  border: aliceblue;
  cursor: pointer;
  /* font-size: 2.4rem; */
  border-radius: 0.5rem;
}

.arrow-button:focus {
  outline: none;
}

.custom-td {
  width: 100%;
}

.pry {
  border-collapse: collapse;
}

.pry th,
.pry td {
  border: 0.1rem solid #ccc;
  text-align: center;
}

.pry th:first-child,
.pry td:first-child {
  border-left: none;
}

.pry th:last-child,
.pry td:last-child {
  border-right: none;
}

.pry tr:first-child th,
.pry tr:first-child td {
  border-top: none;
}

.pry tr:last-child th,
.pry tr:last-child td {
  border-bottom: none;
}

/* temp hard coded data for demp purpose 7587 */
.signal-text {
  top: 2.1rem;
  position: absolute;
  right: 9.5rem;
  /* font-size: 1.8rem; */
}

.device-id {
  left: 1.5rem;
  position: absolute;
  top: 0.3rem;
  /* font-size: 1.6rem; */
}

#drone-list::-webkit-scrollbar {
  /* display: none; */
  width: 4rem;
  color: gray;
}

/* Hide scrollbar for IE, Edge and Firefox */
/* #drone-list {
    -ms-overflow-style: none;  
    scrollbar-width: none;  
  } */

/* width */
#drone-list::-webkit-scrollbar {
  width: 0.6rem;
  padding: 0 0.2rem;
}

/* Track */
#drone-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
#drone-list::-webkit-scrollbar-thumb {
  background: #cbcbcb;
}

/* Handle on hover */
#drone-list::-webkit-scrollbar-thumb:hover {
  background: #b4b2b2;
}

#selectedDrone-list::-webkit-scrollbar {
  /* display: none; */
  width: 4rem;
  color: gray;
}

/* Hide scrollbar for IE, Edge and Firefox */
/* #selectedDrone-list {
    -ms-overflow-style: none;  
    scrollbar-width: none;  
  } */

/* width */
#selectedDrone-list::-webkit-scrollbar {
  width: 0.6rem;
  padding: 0 0.2rem;
}

/* Track */
#selectedDrone-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
#selectedDrone-list::-webkit-scrollbar-thumb {
  background: #cbcbcb;
}

/* Handle on hover */
#selectedDrone-list::-webkit-scrollbar-thumb:hover {
  background: #b4b2b2;
}

.vl {
  border-left: 0.2rem solid green;
  height: auto;
  align-self: stretch;
  margin-right: 1rem;
}
.vl-blue {
  border-color: rgb(0, 81, 255);
}

#droneHistory_Button {
  font-family: "GOTHAM-BOOK";
  padding: 0.75rem;
  border-radius: 0.8rem;
  /* font-size: 1.4rem; */
}

.summCont {
  margin: 0.25rem 0;
}
.summImg {
  max-width: 50%;
}

.summContainer {
  display: flex;
  align-items: center;
}
.summaryList {
  /* margin: 1rem 0.5rem;
    padding: 0.25rem 1rem ;
    width: 95%;
    display: flex;
    font-size: 2rem;
    justify-content: flex-start;

    border-radius: 0.25rem;
    flex-wrap: wrap; */
  margin: 1rem 0rem;
  padding: 0.25rem 0rem;
  /* width: 95%; */
  display: flex;
  /* font-size: 2rem; */
  justify-content: flex-start;
  border-radius: 0.25rem;
  flex-wrap: wrap;
}
.summaryMain {
  display: flex;
  width: 100%;
  padding: 0.5rem;
}
.summaryMain:hover {
  background: rgb(0, 0, 0, 0.6);
  cursor: pointer;
}
.summarySub {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  /* font-size: 1.5rem; */
  margin-top: 0.25rem;
  margin-left: 8%;
  padding: 0.5rem;
  /* padding: 0.5rem 0; */
}
.summarySub:hover {
  background: rgb(0, 0, 0, 0.6);
  cursor: pointer;
}
.summaryContainer {
  width: 95%;
  padding: 1rem;
}
.summaryHead {
  text-align: left;
  /* margin-bottom: 0.5rem; */
}
.summaryHead:hover {
  background: rgb(0, 0, 0, 0.6);
}
.summaryTime {
  margin-left: auto;
  /* font-size: 1.6rem; */
}

.summarySubHead {
  text-align: left;
}
.summarySubTime {
  margin-left: auto;
  /* font-size: 1.2rem; */
}

.error_display {
  top: 47rem;
  min-width: 23rem;
  padding-left: 1rem;
  padding-right: 1rem;
  left: 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  width: auto;
  padding: 1rem;
}

.error-col {
  height: auto;
  padding: 1rem 2rem;
  background-color: rgb(146, 22, 22);
}
.error-data {
  /* font-size: 1.5rem; */
  text-align: center;
}

#parameters-table {
  position: absolute;
  min-width: 210px;
  padding: 0;
  height: fit-content;
  top: calc(56px + 4px);
  left: calc(50px + 4px);
}

#parameters-table .card-header {
  padding: 0;
}

.not-available {
  background: #c53030;
}
