/* Base styles for all devices */
body {
  background: linear-gradient(rgba(11, 22, 63, 0.1), rgba(11, 22, 63, 0.2)),
    url("sliderimg/background5.webp");
  background-position: center;
  background-size: cover;
  background-attachment: fixed; /* This makes the background image fixed */
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow: auto;
}
.type-error{
    color:white;
}
.section-title {
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  color: #0056b3;
}
.form-container {
  border: 1px solid cyan !important;
  border-radius: 15px;
  position: relative;

  /*background: rgba(255, 255, 255, 0.9) !important;*/
  box-shadow: 0 0 13px rgba(0, 0, 0, 0.3);
  padding: 32px 30px;
  /* Make container scrollable if it exceeds this height */
  overflow-y: auto;
}

/* body {
          background: #ecf3fa !important;
          /* background: #000232 !important;
          background:#fcfcfc !important; */
/* background: #fff !important; */

.form-container1 {
  position: relative;
  color: #000;
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
  background: #ffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.select2-container .select2-selection {
  padding: 5px 20px 34px 0px !important;
}

.form-toggle .btn,
.btn-group .btn {
  border-radius: 20px;
  margin-right: 10px;
}

.btn.active {
  background-color: #d1c4f5 !important;
  color: #000 !important;
}

.btn-submit {
  background-color: #00cc8f;
  color: white;
}

.sidebarform {
  background: white;
  border-radius: 15px;
  padding: 25px;
}

.form-section {
  background: white;
  border-radius: 15px;
  padding: 25px;
}

.step-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6c63ff;
}

.step-line {
  width: 2px;
  height: 50px;
  background: #dcdcdc;
  margin: 0 auto;
}

.type-btn {
  border: 1px solid oklch(78.5% 0.115 274.713) !important;
  border-radius: 10px;
  padding: 12px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  color:#c5f5b3;
}

.type-btn.active {
  border-color: #6c63ff;
  background: #f3f0ff;
  color: #6c63ff;
  font-weight: bold;
}

.form-label {
  font-weight: 500;
}

.error-text {
  color: red;
  font-size: 14px;
}

.video-background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Gradient layer */
.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Content on top */
.video-overlay-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding-top: 20%;
}

.scrollable-form-container {
  overflow-y: auto;
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ccc;
}

.btn-outline-secondary {
  background: #0987f5 !important;
  color: black !important;
}

/* Responsive adjustments */

@media (max-width: 768px) {
  .form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    top: 100px;
  }
  .form-container{
      width:100%;
  }
}

.scrollable-form-container {
  overflow-y: auto;
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ccc;
  /* Default height for unknown devices */
  max-height: 400px;
}

/* Large desktops and laptops (1200px and up) */
@media (min-width: 1200px) {
  .scrollable-form-container {
    max-height: 600px;
  }
}

/* Medium laptops (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .scrollable-form-container {
    max-height: 550px;
  }
}

/* Small laptops (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .scrollable-form-container {
    max-height: 500px;
  }
}

/* Tablets (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .scrollable-form-container {
    max-height: 450px;
  }
}

/* Mobile devices (up to 575px) - portrait */
@media (max-width: 575px) {
  .scrollable-form-container {
    max-height: 350px;
  }
}

/* Small mobile devices (up to 375px) */
@media (max-width: 375px) {
  .scrollable-form-container {
    max-height: 300px;
    padding: 15px;
  }
}

/* Extra small devices (up to 320px) */
@media (max-width: 320px) {
  .scrollable-form-container {
    max-height: 250px;
    padding: 12px;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
  .scrollable-form-container {
    max-height: 550px;
  }
}

@media (max-height: 400px) {
  .scrollable-form-container {
    max-height: 500px;
  }
}
/*======================================AMINITY CARD=============================*/
.amenity-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 12px;
  text-align: center;
  height: 80px;
  cursor: pointer;
  transition: 0.3s;
  user-select: none;
  color:white;
}
.amenity-card:hover {
  border-color: #8c52ff;
  background-color: #1addf933;
}
.amenity-card.selected {
border-color: #8c52ff;
    background-color: #313e7a;
}
.amenity-card i {
  font-size: 24px;
  /* margin-bottom: 8px; */
  color: cyan;
}
.amenity-checkbox {
  display: none;
}
.upload-section {
 
  border: 1px solid #e2e2e2;
  padding: 40px;
  text-align: center;
  border-radius: 6px;
  margin: 20px auto;
  max-width: 600px;
}

.upload-section i {
  font-size: 40px;
  color: #1ecadd;
}

.upload-section h5 {
  margin-top: 20px;
  font-weight: 600;
  color:white;
}

.upload-section p {
  margin-bottom: 20px;
  color:white;
}

.btn-upload {
  background-color: #009688;
  color: white;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
}

.btn-upload:hover {
  background-color: #00796b;
}

.upload-through-phone {
  float: right;
  margin-top: -40px;
  margin-right: 20px;
  color: gray;
  font-size: 14px;
  cursor: not-allowed;
}
.hidden-file-input {
  display: none;
}
#Construction_Status-options button{
    color:black;
}


@media (max-width: 768px) {
  .amenity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 12px;
    text-align: center;
    height: 60px;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
    color: white;
    width: 150px;
  }
  .proceedbtn{
      font-size:14px;
  }
  #deposit-options button{
      font-size:15px;
      color:black;
  }
  #Construction_Status-options button{
    color:black;
}
}
/* ================================================PG CSS==================================== */

.form-section {
  background-color: #fff;
  border-radius: 10px;
}

.btn-group-toggle input:checked + label {
  background-color: #edeaff;
  color: #5a4fff;
  border-color: #5a4fff;
}

.btn-outline-secondary {
  border-radius: 12px;
  padding: 8px 16px;
  min-width: 100px;
}

.highlight-label {
  color: red;
}
.form-section {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fc;
  border-radius: 8px 8px 0 0;
  padding: 1rem;
  font-weight: bold;
}

.radiobtn {
  border: 1px solid #ccc !important;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  background-color: #f8f9fa;
  margin-right: 10px;
}

/* Active (checked) state with cyan background */
.btn-check:checked + .radiobtn {
  background-color: cyan;
  color: #000;
  font-weight: bold;
  border-color: #17cfcf;
}
.room-body {
  padding: 1rem;
}

.room-type .btn {
  margin-bottom: 10px;
}

.add-room {
  border: 1px solid #28a745;
  color: #28a745;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: none;
  font-weight: 500;
  margin-top: 1rem;
}

.btn-post {
  background-color: #24c27a;
  color: white;
  margin-top: 10px;
  margin-bottom: 10px;
}

.btn-post:hover {
  background-color: #1ea96a;
}
.room-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.btn-room-type {
  border: 1px solid #ddd;
  margin-right: 10px;
  margin-bottom: 10px;
}
.btn-room-type.active {
  background-color: #a78bfa;
  color: white;
}
.btn-post {
  background-color: #24c27a;
  color: white;
}
.btn-post:hover {
  background-color: #1ea96a;
}
