/** Shopify CDN: Minification failed

Line 203:10 Expected identifier but found whitespace
Line 203:11 Unexpected "10px"

**/
/* Hide drawer for screens smaller than 768px */
/* body {
  font-family: 'Roboto-Light', sans-serif !important;
} */
/* @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap"); */
body {
  font-family: "Open Sans", sans-serif !important;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.home-icon {
  display: none;
}


/* Modal content box */
.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-how-to-play {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.demo-modal {
  display: block;
  background-color: white;
  width: 90%;
  max-width: 400px;
  margin: 0 auto;
  padding: 10px 30px 50px 30px;
  border-radius: 12px;
}

/* Message text */
.modal-content h2 {
  font-size: 18px;
  margin-bottom: 20px;
}

/* Button styling */
.modal-content button {
  padding: 10px 20px;
  background-color: #2c3a47;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Button hover effect */
.modal-content button:hover {
  background-color: #a3cb38;
}

.custom-drawer-container {
  display: flex;
  position: relative;
}

iframe {
  flex: 1;
}

.game-container {
  display: flex;
  height: 85vh;
  width: 90%;
  margin: 0 auto;
  /* margin-top: 10px; */
  position: relative;
  margin-top:10px;
  /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); */
  
}

.drawer-parent {
  /* max-height: 85vh; */
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  width: 350px;
  background-color: #f4f4f4;
  z-index: 2;
  /* overflow-y: auto; */
  position: relative;
}

.custom-cart-drawer {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  height: 40% !important;
  /* height: 75%; */
  /* min-height: 80vh; */
}

.car-image {
  max-width: 150px;
}

.play-state {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
.play-state-add {
  width: 33px;
  height: 33px;
}

.coordinates-div {
  color: #04c000;
  gap: 5px;
}
.mobile-header {
  padding: 3%;
}

/* .mobile-header {
  display: none;
} */
/* .mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 0px 10px 0px;
  background-color: #f5f5f7;
}
.items-tool {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.line-tool {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.info {
  display: flex;
  align-items: center;
}
.play-state-text {
  font-size: .2em;
  font-weight: 700;
  padding: 20px;
  border-radius: 20px 0px 0px 20px;
  margin: 0;
} */

/* This will be test css updated */
/* .mobile-header {
  display: flex;
  align-items: center;  
  justify-content: space-between;  
  padding: 10px 20px;  
  background-color: #f5f5f7;
}

.items-tool,
.line-tool,
.info {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.play-state-text {
  font-size: 0.2em;  
  /* font-weight: 200; */
  padding: 10px 20px;  
  border-radius: 20px 0px 0px 20px;
  margin: 0;
  background-color: #d1d1d6; 
} */





/* Hide scrollbar for Chrome, Safari, and Opera */
.custom-cart-drawer::-webkit-scrollbar {
  width: 2px;
}

/* Hide scrollbar for IE, Edge, and Firefox */
.custom-cart-drawer::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5); /* Adjust scrollbar thumb color */
  border-radius: 10px;
}

.custom-drawer-header {
  height: 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.custom-drawer-content {
  display: flex;
  flex-direction: column;
}

.custom-drawer-footer {
  /* position : absolute; */

  bottom: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: auto; */
  margin-top: 20%;
  /* flex-direction: column; */
  /* height: 15%; */
  height: 100%;
  max-height: 100px;
  width: 100%;
}

.custom-drawer-footer-mbl {
  display: none;
}

.cart-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-details {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.item-details p {
  display: flex;
  justify-content: flex-start;
  margin: 0;
  margin-bottom: 15px;
}

.item-controls {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px;
}
.quantity-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.quantity-controls p {
  margin: 0;
  margin-left: 20px;
}

.quantity-controls h3 {
  margin: 0;
  margin-left: 20px;
}
.quantity-controls button {
  cursor: pointer;
  border: none;
}

.quantity-controls input {
  width: 50px;
  text-align: center;
}

button {
  cursor: pointer;
}

.custom-button {
  padding: 0px;
  cursor: pointer;
  font-size: 22px;
  margin-right: 20px;
  font-weight: 700;
}

.button-check {
  width: 80%;
  max-width: 220px;
  background-color: #01ff00;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  align-self: end;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 5px;
}
.icon .inner-div {
  background-color: #fe0000;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* .center-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
 */
.summary {
  width: 100%;
  background-color: #dcdcdc;
  color: black;
  margin: 10px 0;
  font-size: 18px;
  text-align: center;
  padding: 12px 0px;
}

.product-data {
  display: flex;
  flex-direction: column;
  width: 100%;
  cursor: pointer;
}

.heading {
  font-size: 22px;
}

.status-icon {
  height: 30px;
  width: 30px;
}

.car-name {
  font-size: 18px;
  max-width: 110px;
}

.play-state-text {
  font-size: 18px;
  color: black;
}

.car-number {
  font-size: 18px;
}

.coordinates-div {
  font-size: 18px;
  font-weight: 600;
}
@media screen and (max-width: 1200px) {
  .coordinates-div {
    font-size: 16px;
    font-weight: 600;
  }

  .play-state-text {
    font-size: 16px;
    color: black;
  }

  .custom-cart-drawer{
   min-height: 20vh; 
  }

  .status-icon {
    height: 10px;
    width: 10px;
  }
  .drawer-parent {
    width: 200px;
    /* overflow: scroll; */
  }
  /* .cart-item {
    max-width: 95%;
  } */
  .car-name {
    font-size: 14px;
    max-width: 100px;
  }
  .car-number {
    font-size: 12px;
    font-weight: 500;
  }
  .coordinates-div {
    font-size: 10px;
    gap: 3px;
  }
  .car-image {
    max-width: 70px;
    display : flex;
  }
  .item-controls {
    font-size: 10px;
    gap: 4px;
  }
  .play-state {
    width: 10px;
    height: 10px;
    margin-right: 3px;
  }
  .play-state-text {
    font-size: 10px;
  }
  .play-state-add {
    width: 15px;
    height: 15px;
  }
  .heading {
    font-size: 16px;
  }
}

@media screen and (max-width: 770px) {
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px 0px 10px 0px;
    background-color: #f5f5f7;
  }
  .items-tool {
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  .line-tool {
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  .info {
    display: flex;
    align-items: center;
  }
  .play-state-text {
    font-size: 14px;
    font-weight: 700;
    padding: 20px;
    border-radius: 20px 0px 0px 20px;
    margin: 0;
  }
  .game-container {
    flex-direction: column;
    width: 100%;
    height: calc(100vh - 60px); 
    position: relative;
    margin-top:0px
  }

  .drawer-parent {
    width: 100%;
    border-radius: 0px;
    background-color: white !important;
    border-top-right-radius: none;
    border-bottom-right-radius: none;
    display: flex;
    flex-direction: column;
    /* padding-bottom : 20px; */
  }
  .custom-drawer-header {
    display: none;
  }

  .custom-drawer-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-top: auto; */
    height: auto;
    /* margin-bottom:20px; */
  }
  /* .custom-drawer-footer-mbl {
    display: flex;
    align-items: center;
    justify-content : center;
    background-color: #f5f5f7;
    position : absolute;
    bottom : 10px;
    z-index : 10;
    width : 100%;
    
  } */
  .product-data {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .product-data-items {
    width: 100%;
    align-items: center;
    width: 65%;
  }
  .cart-item {
    flex-direction: row;
    justify-content: space-between;
    width: 100% !important;
  }
  .item-controls {
    display: none;
  }
  .coordinates-div-parent {
    display: none !important;
  }
  /* .coordinates-div-paren {
    width : 45%;
  } */
  .car-image {
    width: 35%;
    max-width: 100%;
  }
  .car-number {
    width: 20%;
  }
  .button-check {
    margin: 10px 0px;
  }
  .home-icon {
    display: block;
  }
  .car-name {
    font-size: 10px;
  }
  .coordinates-di {
    font-weight: 700;
  }
  .car-name-mbl {
    font-size: 8px;
  }
}
