body {
  height: 100vh;
}

.login-container {
  height: 100vh;
}

.left-section {
  background: #f5f7fa;
}

.login-card {
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  padding: 40px;
}

.right-section {
  background: linear-gradient(135deg, #c5e1a5 0%, #c5e1a5 50%, #9CCC65 100%);
  color: black;
}

.gradient-btn {
  background: linear-gradient(45deg, #c5e1a5, #c5e1a5);
  border: none;
}

.gradient-btn:hover {
  opacity: 0.9;
}


.banner-image {
  width: 100%;
  max-width: 1200px;
  height: 450px;
  background-image: url('../images/img1.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .banner-image {
    height: 250px;
  }
}



html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

#container {
  width: 100vw;
  height: 100vh;
  display: block;
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
}

.floating-ui {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 999;
}

/* Floating SPEC icon */
.spec-icon {
  width: 40px;
  height: 40px;
  background: rgb(170, 216, 105);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgb(170, 216, 105);
  transition: 0.2s;
  color : #fff;
}
.spec-icon:hover {
  background: rgb(170, 216, 105);
  transform: scale(1.05);
}

.dropdown-toggle {
  background: #ffffffcc !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dropdown-menu .animation-item:hover {
  background-color: #f1f5f9;
  transform: scale(1.02);
  transition: 0.15s;
}
.dropdown-menu .animation-item i {
  pointer-events: none;
}

.circle-slider-container {
  position: relative;
  width: 80%;
  margin: 2rem auto;
}

.circle-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.5rem 2rem;
}

.circle-slider::-webkit-scrollbar {
  display: none; /* Hide scrollbar */
}

.circle-slider img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  cursor: pointer;
}

.circle-slider img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.circle-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

#prevBtn {
  left: 0;
  color: #000;
}

#nextBtn {
  right: 0;
  color: #000;
}

.list-group-item {
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 0.5rem; /* optional, rounded corners for shadow */
}

.list-group-item:hover {
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3); /* blue shadow */
  transform: translateY(-2px); /* subtle lift */
  background-color: #ffffff; /* optional: keep white */
}

.btn-group-toggle .btn {
  transition: all 0.2s ease-in-out;
  border-radius: 0.5rem;
}

.btn-group-toggle .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}


.logo-top-right,
.logo-bottom-right {
  position: absolute;
  right: 20px;
}

.logo-top-right {
  top: 20px;
}

.logo-bottom-right {
  bottom: 20px;
}

.logo-img {
  width: 100px;
  height: auto;
}

.star-rating i {
  font-size: 30px;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s;
}

.star-rating i.active {
  color: #f7c600; /* yellow star */
}


.carousel-item {
  position: relative;
}
.carousel-item img {
  height: 50vh;
  object-fit: cover;
}
.tick-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 32px;
  color: #28a745;
  display: none;
}
.carousel-item.selected .tick-icon {
  display: block;
}



.small-card {
  padding: 1rem !important;
  font-size: 0.85rem; /* overall text smaller */
}

.small-card h4 {
  font-size: 1rem !important;
  margin-bottom: 1rem !important;
}

.small-card .list-group-item {
  padding: 0.4rem 0.75rem !important;
}

.small-card i {
  font-size: 0.9rem !important; /* smaller icons */
}

.small-card .star-rating i {
  font-size: 0.9rem !important;
}


.toggle-switch {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 32px;
}

.toggle-switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: .4s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  font-weight: bold;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

/* When checked */
.toggle-switch input:checked + .slider {
  background-color: #662D91; /* green */
}

.toggle-switch input:checked + .slider:before {
  transform: translateX(70px);
}



.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: transparent;  
  filter: brightness(0) saturate(100%) invert(21%) sepia(65%) saturate(1373%) hue-rotate(262deg) brightness(93%) contrast(98%);
}





/* Mobile Optimization */
@media (max-width: 768px) {
  .spec-panel {
    width: 85%; /* smaller width on mobile */
  }
}


.accordion-body {
  max-height: 800px;   /* Fixed height */
  overflow-y: auto;    /* Vertical scroll */
}

.accordion-button {
  font-weight: 600;
}

.form-check {
  margin-bottom: 8px;
}


.scroll-body {
  max-height: 800px;
  overflow-y: auto;
}

.list-group-item {
  cursor: pointer;
  border: 1px solid #ddd;
}


.list-group-item.active {
  background-color:rgb(170, 216, 105);
  border-color:rgb(170, 216, 105);
}

.scroll-body::-webkit-scrollbar {
  width: 1px;
}
.scroll-body::-webkit-scrollbar-thumb {
  background: rgb(170, 216, 105);
  border-radius: 10px;
}
.accordion-button:not(.collapsed) {
  background: #f8f9fa;
  font-weight: 600;
}


.texture-card {
  cursor: pointer;
  transition: 0.2s ease-in-out;
  border: 2px solid transparent;
}

.texture-card img {
  height: 50px;
  object-fit: cover;
}

.texture-card.active {
  border-color: rgb(170, 216, 105);
  box-shadow: 0 0 8px rgba(170, 216, 105,0.5);
}

.texture-title {
  font-size: 14px;
  font-weight: 500;
}

.custom-btn {
  background-color: rgb(170, 216, 105);
  color: white;
  border: none;
}

.custom-btn:hover {
  background-color: rgb(170, 216, 105);
}

.custom-input {
  border-color: rgb(170, 216, 105);
}

.custom-input:focus {
  border-color:rgb(170, 216, 105);
  box-shadow: 0 0 0 0.2rem rgba(170, 216, 105, 0.25);
}


/* Hover effect */
.custom-nav .nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.custom-nav .nav-link:hover {
  background-color: #90ee90; /* lightgreen */
  color: #000;
  border-radius: 5px;
}

/* Active underline bar */
.custom-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: #28a745; /* green bar */
}


#door-designs,#door-models,#door-shades,#frame-designs {
  max-height: 550px;   /* Set your required height */
  overflow-y: auto;    /* Enable vertical scroll */
}


.tree-toggle {
  cursor: pointer;
  font-weight: 500;
  display: inline-block;
  padding: 5px 0;
}

.tree li {
  margin-bottom: 5px;
  cursor: pointer;
}

.tree li:hover {
  background: #f8f9fa;
  border-radius: 6px;
  padding-left: 5px;
}

.tree li ul li.active {
  background: #0d6efd;
  color: #fff;
  border-radius: 6px;
  padding-left: 8px;
}


/* Offcanvas body fully glass */
.offcanvas.spec-panel {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(15px);
}

/* Header also transparent */
.offcanvas-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.up-arrow {
  display: none;
}


/* Remove white background from all accordion parts */
.accordion-item,
.accordion-body,
.accordion-header,
.card-body {
  background: transparent !important;
  border: none !important;
}

/* Accordion buttons */
.accordion-button {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px);
  color: #000;
  border: none;
}

/* When opened */
.accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #000;
}

/* Remove white from select inputs */
.form-select,
.form-control {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(8px);
  color: #000;
  border: 1px solid rgba(170, 216, 105, 0.5);
}

/* Dropdown options (important) */
.form-select option {
  background: #fff; /* keep readable dropdown list */
  color: #000;
}

/* Scroll area */
.scroll-body {
  background: transparent !important;
}


@media (max-width: 768px) {
  .offcanvas.spec-panel {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    width: 100% !important;
    height: 40vh !important;

    border-top-left-radius: 20px;
    border-top-right-radius: 20px;

    transform: translateY(100%);
    transition: transform 0.3s ease;

    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
  }

  .offcanvas.spec-panel.show {
    transform: translateY(0);
  }

  #container {
    height: 100vh;
    transition: height 0.3s ease;
  }

  body.panel-open #container {
    height: 60vh !important;
  }
}

@media (max-width: 768px) {

  .floating-ui {
    display: none;
  }

  .up-arrow {
    display: block;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: #8bc34a;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 22px;
    cursor: pointer;
  }
}