/* HeBuildz Member QR styles */
.hebuildz-mqr-root {
  max-width: 420px;
  margin: 18px auto;
  font-family: "Tajawal", Arial, sans-serif;
  direction: rtl;
  color: #545454;
}

.hebuildz-mqr-card {
  border: 2px solid #f1cc26;
  border-radius: 12px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  text-align: center;
}

.hb-top {
  margin-bottom: 8px;
}

.hb-logo {
  max-width: 120px;
  height: auto;
  display: inline-block;
}

.hb-info {
  margin-bottom: 12px;
}

.hb-name {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.hb-job {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}

.hb-qrcode {
  margin: 12px auto;
  width: 200px;
  height: 200px;
  display: inline-block;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
}

/* ✅ تعديل هذا الجزء لجعل الأزرار تحت بعضها وبنفس العرض */
.hb-actions {
  margin-top: 12px;
  display: flex;
  flex-direction: column; /* الأزرار عمودية */
  gap: 10px; /* مسافة بين الأزرار */
  align-items: stretch; /* جعل العرض متساوٍ */
}

.hb-btn {
  background: #f1cc26;
  border: none;
  color: #1a1a1a;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  width: 100%; /* ✅ جعل الزر يأخذ كل العرض */
  box-sizing: border-box;
}

.hb-btn:hover {
  opacity: 0.95;
}

.hb-modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  z-index: 9999;
}

.hb-modal[aria-hidden="false"] {
  display: flex;
}

.hb-modal-inner {
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  max-width: 520px;
  width: 90%;
  position: relative;
}

.hb-close {
  position: absolute;
  right: 10px;
  top: 6px;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.hb-modal-content {
  text-align: center;
}
