/* Popup login pegurus dan penghuni*/
.login-popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.login-popup-card {
  background: #fff;
  width: 90%;
  max-width: 700px;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.login-close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 24px;
  color: #aaa;
  cursor: pointer;
}

.login-card-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.login-card-box {
  flex: 1;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  transition: 0.3s;
  text-decoration: none;
  color: #333;
}

.login-card-box:hover {
  background-color: #dc3545;
  color: white;
  transform: scale(1.03);
}

.login-card-box h4 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
}

.login-card-box p {
  font-size: 14px;
  color: inherit;
}

/* Responsive */
@media (max-width: 600px) {
  .login-card-content {
    flex-direction: column;
  }
}

/* Tombol login melayang - hanya di mobile */
.floating-login-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #dc3545;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  font-size: 22px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none; /* default: hidden */
  justify-content: center;
  align-items: center;
}

.floating-login-btn i {
  pointer-events: none;
}

/* Tampilkan hanya di layar kecil */
@media (max-width: 992px) {
  .floating-login-btn {
    display: flex;
  }
}
