:root {
  --primary-background: #131313;
  --primary-white: #ffffff;
  --primary-blue: #5095e6;

  --grey-900: #181818;
  --grey-800: #242424;
  --grey-700: #404040;
  --grey-500: #6f7780;
  --grey-400: #a2a7ad;
  --grey-300: #cad1d8;
  --grey-200: #d4dde8;
  --grey-100: #f0f6fc;
}

html {
  background-color: var(--primary-background);
  height: 100%;
  min-width: 240px;
}

::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #aaaaaa;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: grey;
}

body {
  font-family: "Lato", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  max-width: 570px;
  margin: auto !important;
}
.body-backgroundcolor {
  background-color: var(--primary-background) !important;
}

.list-container {
  width: 100%;
  min-height: 54px;
  overflow: hidden;
  border-radius: 12px;
  margin: 0;
  background-color: var(--grey-900);
}

.dropdown-container {
  padding: 8px;
  width: 100%;
  min-height: 54px;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
  margin: 0;
  background-color: var(--grey-900);
}

a,
a:hover,
a:visited,
a:active {
  color: #e4e6eb;
  text-decoration: none;
}

.body-center {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add_button {
  background-color: var(--primary-blue) !important;
  width: 50px;
  position: fixed;
  bottom: 70px;
  right: 10px;
  font-size: x-large !important;
  border-radius: 30px !important;
  max-width: 570px;
}

@media (min-width: 570px) {
  .add_button {
    right: calc(50% - 270px);
  }

  .popup {
    right: calc(50% - 270px) !important;
  }
}

.add_button:hover {
  color: white !important;
  background-color: var(--primary-blue) !important;
}

.header {
  position: fixed;
  width: 100%;
  max-width: 570px;
  text-align: center;
}

.nav_back {
  position: fixed;
  top: 0;
  width: 100%;
  height: 55px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  background-color: var(--primary-background);
  display: flex;
  align-items: center;
  padding-left: 8px;
  overflow-x: auto;
}

.nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 70px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  background-color: var(--primary-background);
  display: flex;
  overflow-x: auto;
  max-width: 570px;
  margin: auto !important;
}

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  min-width: 50px;
  overflow: hidden;
  white-space: nowrap;
  font-family: sans-serif;
  font-size: 13px;
  color: var(--primary-white);
  text-decoration: none;
}

.nav__link:hover {
  text-decoration: none;
  color: white;
  background-color: var(--grey-800);
}

.nav__link--active {
  color: var(--primary-blue);
}

.nav__icon {
  font-size: 18px;
}

.site-container:hover {
  background-color: var(--grey-800);
}
.info-container:hover {
  background-color: var(--grey-800);
}

.hidden {
  display: none !important;
}

.chip_selected {
  margin-right: 12px;
  display: inline-block;
  padding: 4px 10px;
  height: 25px;
  font-size: 14px;
  line-height: 17px;
  border-radius: 4px;
  color: var(--grey-100);
  background-color: var(--primary-blue);
  cursor: pointer;
}

.chip {
  margin-right: 12px;
  display: inline-block;
  padding: 4px 10px;
  height: 25px;
  font-size: 14px;
  line-height: 17px;
  border-radius: 4px;
  color: var(--grey-100);
  background-color: var(--grey-800);
  cursor: pointer;
}

.collapsible {
  border-radius: 10px;
  background-color: var(--grey-900);
  color: white;
  cursor: pointer;
  padding: 8px;
  width: 100%;
  min-height: 48px;
  border: none;
  text-align: left;
  outline: none;
  font-size: 11px;
}

.fireItem{
    border-radius: 10px;
    background-color: var(--grey-900);
    color: white;
    cursor: pointer;
    padding: 8px;
    width: 100%;
    min-height: 48px;
    border: none;
    text-align: left;
    outline: none;
    font-size: 11px;
}

.open {
  border-radius: 12px 12px 0 0;
}

.invalid {
  color: red;
  font-size: 20px;
}

.screen {
  z-index: 1;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fe4705;
  display: flex;
  align-items: center;
}

.loader {
  width: 100%;
  height: 15px;
  text-align: center;
}

.dot {
  position: relative;
  width: 15px;
  height: 15px;
  margin: 0 2px;
  display: inline-block;
}

.dot:first-child:before {
  animation-delay: 0ms;
}

.dot:first-child:after {
  animation-delay: 0ms;
}

.dot:last-child:before {
  animation-delay: 200ms;
}

.dot:last-child:after {
  animation-delay: 200ms;
}

.dot:before {
  content: "";
  position: absolute;
  left: 0;
  width: 15px;
  height: 15px;
  background-color: blue;
  animation-name: dotHover;
  animation-duration: 900ms;
  animation-timing-function: cubic-bezier(0.82, 0, 0.26, 1);
  animation-iteration-count: infinite;
  animation-delay: 100ms;
  background: white;
  border-radius: 100%;
}

.dot:after {
  content: "";
  position: absolute;
  z-index: -1;
  background: black;
  box-shadow: 0px 0px 1px black;
  opacity: 0.2;
  width: 100%;
  height: 3px;
  left: 0;
  bottom: -2px;
  border-radius: 100%;
  animation-name: dotShadow;
  animation-duration: 900ms;
  animation-timing-function: cubic-bezier(0.82, 0, 0.26, 1);
  animation-iteration-count: infinite;
  animation-delay: 100ms;
}

@keyframes dotShadow {
  0% {
    transform: scaleX(1);
  }
  50% {
    opacity: 0;
    transform: scaleX(0.6);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes dotHover {
  0% {
    top: 0px;
  }
  50% {
    top: -50px;
    transform: scale(1.1);
  }
  100% {
    top: 0;
  }
}
.cards {
  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

  grid-auto-rows: auto;

  grid-gap: 1rem;
}

.card {
  margin-left: 10px;
  margin-right: 10px;
  box-shadow: 1px 1px 1px 1px rgb(0 0 0 / 10%);
  background-color: var(--grey-900) !important;
  color: white;
  border-radius: 5px;
  text-align: center;
}

.blockName {
  font-size: 1.17em;
  margin-block-start: 15px;
  margin-inline-start: 15px;
  font-weight: bold;
}

.creator {
  font-size: 14px;
  margin-inline-end: 15px;
  margin-block-start: 5px;
}

.creator2 {
  font-size: 14px;
  margin-inline-end: 15px;
  top: 20px;
  margin-block-end: 5px;
}

.textBox {
  text-align: right;
}

.switchText{
    white-space: nowrap;
    color: white;
    margin-right: 8px;
    font-size: 14px;
    letter-spacing: 0.035px;
    overflow: hidden;
}

.switchButton{
    display: flex;
    align-items: center;
}

.companySwitch:hover {
   background-color: rgba(80, 149, 230, 0.8); /* 50% opacity */
}

.companySwitch{
    background-color: var(--primary-blue);
    margin-top: 12px;
    margin-right: 14px;
    padding: 12px;
    width: 101px;
    height: 48px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.search-bar-div {
    width: 100%;
  display: flex !important;
  background-color: var(--grey-800);
  margin-top: 12px;
  margin-right: 12px !important;
  margin-left: 12px !important;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 8px;
  align-items: center;
  height: 48px;
}

.home-search {
  background-color: var(--grey-800);
  display: inline-block;
  flex: 1;
  outline: none;
  border: none;
  color: var(--grey-300);
  height: 17px;
}

.home-search::placeholder {
  color: var(--grey-300);
  font-size: 14;
}

.p8 {
  padding-right: 8px;
}

.p8tb {
  padding-top: 4px;
  padding-bottom: 4px;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0, "opsz" 48;
}

.nav-text {
  font-size: 12px;
}

.nav-text-active {
  font-size: 12px;
  color: var(--primary-blue);
}

.navlink {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  min-width: 50px;
  overflow: hidden;
  white-space: nowrap;
  color: var(--primary-white);
  text-decoration: none;
}
.lato {
  font-family: "Lato", sans-serif;
}

.m16lr {
  margin-left: 16px;
  margin-right: 16px;
}

.create-site {
  margin-right: 12px;
  margin-left: 12px;
}

.input-box {
  background-color: var(--primary-background) !important;
  height: 51px !important;
  outline: none !important;
  border: 1px var(--grey-700) solid !important;
  border-radius: 8px !important;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  color: white !important;
  width: 100%;
  padding: 0.375rem 0.75rem;
  margin-bottom: 8px;
}

.input-box::placeholder {
  color: white !important;
}

.label {
  color: var(--grey-300) !important;
  font-size: 14px;
}

.submit-button {
  font-size: 16px;
  border: none;
  border-radius: 16px;
  height: 60px;
  color: white;
  background-color: var(--primary-blue);
  width: 100%;
  margin-bottom: 8px;
}

.delete-button {
  font-size: 16px;
  border: none;
  border-radius: 16px;
  height: 60px;
  color: white;
  background-color: #c62828;
  width: 100%;
  margin-bottom: 8px;
}

.onTop {
  z-index: 1;
}

.dropdown {
  background-color: var(--grey-800);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 4px;
  outline: none;
  width: 45%;
}

.infochip_selected {
  background-color: var(--grey-800);
  border-radius: 12px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 8px;
  padding-right: 8px;
  font-size: 16px;
  float: right;
  margin-right: 8px;
}

.right {
  justify-content: end;
  display: flex;
  padding-right: 8px;
}

.parts-collapsible {
  border-radius: 10px;
  background-color: var(--grey-900);
  color: white;
  cursor: pointer;
  padding: 4px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
  font-weight: bold;
}

.parts {
  background-color: var(--grey-800);
}

.padmarg {
  margin-top: 4px;
}

.i2 {
  gap: 12px;
}
.part-content {
  margin-top: 8px;
  margin-bottom: 8px;
  border-radius: 8px;
  padding-left: 8px;
  padding-top: 4px;
  padding-bottom: 4px;
  background-color: var(--grey-800);
}
.directions-btn {
  width: 100%;
  background-color: #00894f;
  outline: none;
  border: none;
  padding: 8px !important;
  border-radius: 4px !important;
  color: white;
}

.popup {
  z-index: 1;
  position: fixed;
  top: 55px;
  right: 15px;
  bottom: 0;
  width: 180px;
  height: fit-content;
  border-radius: 12px;
  background-color: var(--grey-800);
  padding: 16px;
}

.dark-screen {
  z-index: 2;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 100%;
  height: 100%;

  background-color: rgba(0, 0, 0, 0.6);
}

.nav-back {
  position: fixed;
  top: 0;
  width: 100%;
  height: 55px;
  box-shadow: 0 0 3px rgb(0 0 0 / 20%);
  background-color: var(--primary-background);
  display: flex;
  align-items: center;
  padding-left: 8px;
  overflow-x: auto;
  max-width: 570px;
}
.row2 {
  width: 100%;
  margin-right: 0 !important;
  margin-left: 0 !important;
}
.col2 {
  width: fit-content;
  float: right;
  padding-right: 0 !important;
  padding-left: 0 !important;
  position: inherit !important;
}



/* 


        Location Inspection CSS


\*

/* Streamlined Location Inspection Form Styles */
