.nav-link{color:#000}
.nav-item:last-child{margin: 0 2px;padding: 0}
.nav-item{margin: 0 2px;padding: 0 5px}
#navbarDropdown1{color:#000 !important;}
#navbarDropdown1:hover{color:#fff !important;}
.bg-name{background-color :rgb(179, 212, 71) !important; color:#000 !important;border-bottom-right-radius: 15px;border-top-left-radius: 15px; }
.nav-item:hover, .nav-link:hover{background-color :#198754; color:#fff;border-bottom-right-radius: 15px;border-top-left-radius: 15px;}
.nav-item.active{background-color :#198754; border-bottom-right-radius: 15px;border-top-left-radius: 15px;}
.nav-item.active>.nav-link{color:#fff !important;}
.house-card { transition: transform 0.2s; border: none; border-radius: 15px; overflow: hidden; }
.house-card:hover { transform: translateY(-5px); }
.img-container { height: 200px; background-color: #eee; overflow: hidden; }
.img-container img { width: 100%; height: 100%; object-fit: cover; }
.price-tag { font-size: 1.25rem; font-weight: bold; color: #198754; }
.badge-sub { background-color: #0d6efd; }
.badge-kom { background-color: #6f42c1; }
.sold-out-card {
position: relative;
}

.dropdown-menu {--bs-dropdown-min-width:1rem !important}

#txtChat {
position: fixed;
bottom: 30px;
right: 90px;
font-weight: bolder;
font-size: 16px;
color:#0d6efd;
background: transparent;
overflow: hidden;
cursor: pointer;
z-index:2147483647;

}
#imgChat {
  position: fixed;
  bottom: 20px;
  right: 24px;
  width: 54px;      
  height: 54px;
  border-radius: 50%;
  background-image: url('/images/xchat.jpg');
  background-repeat: no-repeat;     
  background-size: cover;         
  background-position: center; 
  display: block;
  z-index:2147483647;
  cursor: pointer;
}
@media (max-width: 768px) {
  #imgChat {
 
    bottom: 14px; 
    right: 14px;
  }
  #txtChat {
    right: 75px;
  }
  #allLoc .col-3 {width:100%}
  
}
#chatWrap:hover #imgChat,
#chatWrap:hover #txtChat {
  animation: pulse 0.6s infinite;
}

@keyframes pulse {
  0%   { transform: scale(1) translate(0,0); }
  50%  { transform: scale(1.1) translate(2px,2px); }
  100% { transform: scale(1) translate(0,0); }
}
.btn-close-custom {
  position: absolute;
  top: 10px;
  z-index:999999;
  cursor: pointer;
  right: 10px;
}
.sold-out-card .card {
    filter: grayscale(1);
    opacity: 0.8;
    pointer-events: none;
}
.stamp-sold-out {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    z-index: 100;
    border: 6px solid #ff0000;
    padding: 5px 15px;
    color: #ff0000;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    pointer-events: none;
    user-select: none;
    letter-spacing: 2px;
}
.crisp-client {
    display: none !important;
}
.google-btn {
  display: flex;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  background: #0d6efd;
  border: 1px solid #dadce0;
  border-radius: 8px;
  text-decoration: none;
  color: #f4f4f4;
  font-weight: 500;
  transition: all 0.2s ease;
}

.google-btn:hover {
  background: #2a6c6c;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.alert {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  --bs-alert-padding-x:5px;
  --bs-alert-padding-y:5px;
  width:100%  ;
}

#srcNav{
  position: fixed;
  width: 100%;
  z-index: 9998;
}
#mainNav{
  top:0;
  position: fixed;
  width: 100%;
  z-index: 9999;
}
.s-menu {
  position: relative;
  padding: 15px 10px 0px 10px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.s-menu::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px; 
  width: 0;
  height: 5px;
  background-color: #198754; 
  transition: width 0.3s ease;
}

.s-menu:hover::after {
  width: 100%;
}

.s-menu.active::after {
  width: 100%;
}

.camera-card {
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
  background: rgba(0,0,0,0.2);

}

.camera-wrap {
  position:relative;
  background: transparent;
  max-height: 300px;
  min-height: 300px; 

}

video { width:100%; height:280px; object-fit: cover;display:none }
.frame {
  position: absolute;
  top: 20%;
  left: 13%;
  width: 74%;
  height: 60%;
  border: 3px solid #00ff88;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,255,136,0.6);
  pointer-events: none;
  display: none;
}

/* frame foto kanan */
.frame2 {
  position: absolute;
  top: 35%;
  right: 16%;
  width: 20%;
  height: 30%;
  border: 2px dashed #00ff88;
  border-radius: 6px;
  pointer-events: none;
  display: none;

}

@keyframes scan {
  0%{top:20%}
  50%{top:60%}
  100%{top:20%}
}

.result-box {
  background:#fff;
  border-radius:15px;
  padding:15px;
  box-shadow:0 5px 20px rgba(0,0,0,.08);
}