* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html{
  overflow-x: hidden;
}
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: #eaeff3;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.logo {
  /* height: 9%; */
}

.configurator {
  display: flex;
  /* justify-content: space-between; */
  /* max-width: 800px; */
  width: 100%;
  height: 100vh;
  /* margin: 20px auto; */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.controls {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  width: 25%;
  overflow-y: scroll;
  height: 100vh;
}

.input-group {
  /* flex: 1; */
  display: flex;
  flex-direction: column;
  width: 100%;
}

.display_flex {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.display_flex_col {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.input-group label {
  /* margin-bottom: 5px; */
}

.input-group p {
  font-weight: bold;
}

.input-group input,
select {
  padding: 5px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.bttn {
  padding: 10px 15px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.btn {
  width: 30px;
  height: 30px;
  font-size: 12px;
  border-radius: 6px;
  /* margin: 10px; */
  padding: 0;
  transform: scale(1) !important;
}

.uploadicon {
  width: 45px;
}

.coldiv {
  position: absolute;
  left: 50%;
  bottom: 13%;
  transform: translateX(-50%);
  width: 80px;
  justify-content: space-between;
}

.details {

  width: 100%;
  position: absolute;
  bottom: 1%;
  height: 8%;
}

.rowdiv {
  position: absolute;
  right: 2%;
  padding: 10px;
  transform: translateY(-50%);
  justify-content: space-between;
  top: 50%;
  height: 12%;
  justify-content: space-between;
}

.bttn:hover {
  background: #0056b3;
}

.room-container-outside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 75%;
  height: 100%;
  background: #f4f4f4;
  position: relative;
}

.room-container {
  padding: 40px;
  /* max-width: 1240px; */
  /* width: 90%; */
  /* max-height: 400px; */
  /* height:90%; */
  /* max-height: 600px; */
  /* height: 400px; */
  margin: 0 auto;
  /* border: 2px solid #555; */
  background: #f4f4f4;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  /* overflow: hidden; */
  /* background: url('gettyimages.jpg'); */
  background-size: cover;
  background-position: center;
  /* opacity: 0.3; */
  /* transform: scale(0.7); */
}

.room {
  /* max-width: 1800px; */
  /* height: 100%; */
  /* width: 100%; */
  /* max-height: 400px !important; */
  /* max-width: 1000px !important; */
  position: relative;
  background: #dde1e7;
  border: 2px solid #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out;
  background: url('../public/360.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  box-shadow: 0 8px 24px -8px rgb(0 0 0 / 80%);
  /* max-width: 900px; */
  /* max-height: 600px; */
}

.screen {
  background: url('../public/screen.jpg');
  background-size: cover;
  background-position: center;
  position: absolute;
  /* background: #0e2439; */
  border: 2px solid #000000;
  display: flex;
  flex-wrap: wrap;
  /* gap: 2px; */
  cursor: grab;
  transition: box-shadow 0.2s;
  /* width: 200px; /* Default width (2m in your scale) */
  /* height: 100px; Default height (1m in your scale) */
  position: absolute;
  background-color: lightgray;
  /* border: 1px solid black; */
  /* transform: scale(1); Ensure no scaling by default */
  /* left: calc(50% - 100px); Center horizontally */
  /* top: calc(50% - 50px); Center vertically */
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  /* box-shadow: 2px 2px 20px 4px rgba(71, 71, 71, 0.525); */
  box-sizing: content-box;
}

.screen:active {
  cursor: grabbing;
}

.screen .tile {
  background: #1cb0f544;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: clamp(6px, 1vw, 16px);
  text-align: center;
  border: 0.5px solid #0077c0;
  box-sizing: border-box;
  /* transform: scale(2); */
}

/* .room-container {
    position: relative;
    height: 400px;
    width: 100%;
    max-width: 100%;
    border: 2px solid #333;
    background: #eef2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .room {
    position: relative;
    background: #dde1e7;
    border: 2px solid #555;
    transition: transform 0.3s ease;
  }

  .screen {
    position: absolute;
    background: #1e293b;
    border: 2px solid #00bcd4;
    display: grid;
    gap: 2px;
    cursor: grab;
    transition: transform 0.3s ease;
    background-size: cover;
    background-position: center;
  }

  .tile {
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
  } */

#room-width,
#room-height,
#screen-width,
#screen-height,
#tile-size,
select,
input {
  margin: 10px 0;
  padding: 10px;
}

/* New styling for showing dimensions */
.dimension-label {
  /* color: #; */
  font-size: 14px;
  z-index: 10;
  display: flex;
}

#room .dimension-label {
  position: absolute;
  font-weight: bold;
  font-size: 16px;


}

.dimension-label span {
  transform: scale(1) !important;
}

/* Positioning the labels */
.room .width-label {
  top: -6%;
  left: 50%;
  transform: translateX(-50%);
}

.room .height-label {
  left: -4%;
  top: 50%;
  transform: translateY(-50%);
}

.screen .width-label {
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.screen .height-label {
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
}


#screenResolution,
#cabinetsno {
  font-size: 14px;
}












/* The actual alert box */
.alert-box {
  position: absolute;
  right: 0%;
  transform: translateX(110%);
  top: 15%;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 350px;
  transition: all 0.5s ease-in-out;
  border-bottom: 2px solid #007bff;
}

.alert-box.active {
  transform: translateX(0%);
}

.alert-message {
  font-size: 16px;
  text-align: left;
}

.alert-button {
  padding: 5px 10px;
  font-size: 16px;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
}














@media all and (min-width:1500px) {
  #screenResolution,
  #cabinetsno {
    font-size: 22px;
  }
  .dimension-label {
    font-size: 22px
  }
  .details {
    height: 12% !important;
  }
}