/* === Floating Icon === */
/* Disable body scroll when modal is open */
body.wr-modal-open {
  overflow: hidden;
}

/* Allow scroll inside modal if content overflows */
.wr-modal-content {
  max-height: 90vh;
  overflow-y: auto;
}
#wr-floating-icon {
    position: fixed;
    bottom: 30px;
    left: 40px;
    width: 150px;
    height: 50px;
    background: #9d6e69;
    color: #fff;
    background-size: 60%;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
}

#wr-floating-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  background: #555; /* light gray on hover */
  color: #fff;
}

.wr-hide {
  display: none !important;
}

/* === Modal Overlay Background === */
#wrapper-modal-bg,
#wr-login-modal,
#wr-reward-modal,
#wr-points-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
}

/* === Modal Content === */
.wr-modal-content {
  background: #fff;
  padding: 30px 35px;
  max-width: 800px;
  width: 90%;
  border-radius: 14px;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  animation: scaleIn 0.4s ease;
}

/* === Close Button === */
.wr-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.wr-close:hover {
  color: #ff9800;
}

/* === Header === */
.wr-modal-content h2 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
  color: #9d6e69;
}

/* === Text === */
.wr-modal-content p,
#wr-points-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555;
}

/* === Example Button === */
.wr-modal-content .modal-btn {
  background: #ff9800;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.wr-modal-content .modal-btn:hover {
  background: #e58900;
  transform: translateY(-2px);
}

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
