.details-page-box {
  width: 100%;
  flex: 1 1 auto;
  box-shadow: 0 24px 100px #00283c2b;
  border-radius: 16px;
  padding: 40px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.details-select-wrapper select:focus {
  color: #000000 !important;
}
.details-select-wrapper select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.details-radio-container {
  width: 100%;
  display: flex;
}

.details-radio-container > input {
  display: none;
}

.details-radio-container > label {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 16px;
  cursor: pointer;
  color: #00283cb6;
  font-size: 18px;
  font-weight: 600;
  gap: 12px;
  height: 60px;
}

.details-radio-container input:checked + label {
  background-color: #ffd91a;
  color: #000000;
}

.details-radio-container input:checked + label svg path {
  fill: black;
  fill-opacity: 1;
}

.details-radio-container input + label:hover {
  color: #ff8c1a;
}

.details-radio-container input:checked + label:hover {
  color: black;
}

.details-default-text-input {
  height: 60px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid #00283c36;
  font-size: 18px;
  font-weight: 600;
  padding: 0 20px;
  outline: none;
}

.details-default-text-input::placeholder {
  color: #00283c58;
}

.details-default-text-input:focus {
  outline: none;
  border: 1px solid #00283c;
}

.details-details-box {
  /* Add any specific styles for the form container */
  display: flex;
  gap: 20px;
  flex-direction: column;
  opacity: 1;
  position: relative;
  width: 100%;
  height: auto;
  visibility: visible;
  pointer-events: auto;
  user-select: auto;
  overflow: visible;
}

.details-title-n1 {
  padding-bottom: 16px;
  border-bottom: 1px solid #00283c48;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.details-title-n1 h2 {
  font-weight: 600;
  font-size: 20px;
}

.details-req {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #52b8cd;
  transition: all 0.2s;
}

.details-req:hover {
  color: #1297b2;
}

.details-parametrs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.details-param {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.details-param h4 {
  color: #00283cae;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.details-param-input {
  position: relative;
  cursor: pointer;
  width: 100%;
  height: 60px;
  border-radius: 16px;
  border: 1px solid #00283c42;
  display: flex;
  align-items: center;
  padding: 0 0px 0 10px;
}

.details-param-input input {
  height: 100%;
  border: none;
  background: transparent;
  outline: none;
  text-align: end;
  font-size: 18px;
  font-weight: 600;
  width: 100%;
  padding: 0 20px;
}

.details-param-input-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(to bottom, #52b8cd, #95d8e5);
  flex-shrink: 0;
}

.details-param-bedroom-btns {
  height: 80%;
  width: 68px;
  border-left: 1px solid #00283c1f;
  display: flex;
  flex-direction: column;
  user-select: none;
  flex-shrink: 0;
}

.details-param-btn {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: transparent;
}

.details-param-btn img {
  width: 12px;
  object-fit: contain;
}

.details-param-m2 {
  font-size: 18px;
  font-weight: 600;
  color: #00283ca7;
  height: 80%;
  width: 68px;
  border-left: 1px solid #00283c1f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  flex-shrink: 0;
}

.details-param-input-selected-trigger {
  position: absolute;
  right: 0;
  width: 68px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  border-left: 1px solid #00283c1f;
}

.details-param-input-selected-trigger img {
  transition: transform 0.2s ease;
  transform: rotate(180deg);
}

.details-custom-select:focus + .details-param-input-selected-trigger img {
  transform: rotate(0deg);
}

.details-custom-select option {
  color: red;
  /* color: #000000;  */
  background-color: #ffffff;
}

.details-param-input:hover {
  border-color: #007bff;
}

.details-details-box-yes-no {
  max-width: 600px;
  width: 100%;
  display: flex;
  height: 60px;
  box-shadow: 0 12px 50px #00283c24;
  border-radius: 16px;
}

.details-energy-inputs-box {
  display: flex;
  align-items: center;
  gap: 40px;
}

.details-energy-input-box {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.details-energy-input-box:first-child {
  max-width: 28%;
}

.details-energy-input-box > label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #00283cb6;
}

.details-energy-input-box:last-child input {
  text-align: start;
}

.details-feature-title {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
}

.details-feature-title-icon {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: linear-gradient(to bottom, #52b8cd, #79cbdb);
  display: flex;
  align-items: center;
  justify-content: center;
}

.details-feature-items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.details-feature-item > input {
  position: absolute;
  opacity: 0;
  user-select: none;
}

.details-feature-item > div {
  width: fit-content;
  padding: 0 28px;
  height: 40px;
  border-radius: 16px;
  border: 1px solid #00283c2f;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
}

.details-feature-item input:checked + div {
  background: #ffd91a41;
  border-color: #ffd91a;
  color: black;
}

.details-feature-item:hover input + div {
  background: #ffd91a41;
  border-color: #ffd91a;
  color: black;
}

.details-next-btn {
  max-width: 600px;
  width: 100%;
  margin: 20px auto 0;
}

.details-select-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.details-custom-select {
  width: 100%;
  height: 100%;
  padding: 0 68px 0 12px;
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  outline: none;
  margin-bottom: -4px;
  color: #000000;
}

.details-custom-select::-ms-expand {
  display: none;
}

.details-custom-select option {
  margin-top: 8px;
  padding: 8px 12px;
}

.details-label {
  color: #00283cae;
  font-size: 18px;
  font-weight: 600;
}

@media screen and (max-width: 1024px) {
  .details-parametrs {
    grid-template-columns: 1fr 1fr;
  }

  .details-parametrs .details-param:nth-child(7),
  .details-parametrs .details-param:nth-child(8),
  .details-parametrs .details-param:nth-child(9) {
    grid-column: span 2;
  }
}

@media screen and (max-width: 768px) {
  .details-page-box {
    background: transparent;
    box-shadow: none;
    padding: 0px 0px 30px 0;
    border-radius: 0;
    border-bottom: 1px solid #00283c33;
  }
  .details-page-box:last-child {
    border: none;
  }
  .details-param-input {
    height: 45px;
    padding-left: 0;
    border-radius: 12px;
  }

  .details-param-input-selected-trigger {
    width: 48px;
  }

  .details-param-input-icon {
    height: 45px;
    width: 45px;
    border-radius: 12px;
    margin-left: -1px;
  }

  .details-title-n1 {
    border-bottom: none;
    flex-direction: column;
    align-items: start;
    gap: 15px;
    padding-bottom: 0;
  }

  .details-title-n1 .details-req {
    flex-direction: row-reverse;
  }

  .details-parametrs {
    gap: 40px 15px;
    align-items: flex-end;
  }

  .details-details-box {
    gap: 30px;
  }

  .details-param h4 {
    font-size: 16px;
  }

  .details-energy-inputs-box {
    gap: 15px;
    align-items: flex-end;
  }

  .details-energy-input-box:first-child {
    max-width: 35%;
  }

  .details-energy-input-box label {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .details-details-box-yes-no {
    height: 45px;
    font-size: 16px;
    margin-bottom: 10px;
    border-radius: 12px;
  }

  .details-feature-title-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
  }

  .details-feature-item > div {
    height: 45px;
    border-radius: 12px;
  }

  .details-default-text-input {
    height: 45px;
    border-radius: 12px;
  }

  .details-radio-container > label {
    height: 100%;
    border-radius: 12px;
  }
}

@media screen and (max-width: 480px) {
  .details-energy-input-box:first-child {
    max-width: 45%;
  }
}
