.idle-guard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  direction: rtl;
}

.idle-guard-overlay.idle-guard-show {
  display: flex;
}

.idle-guard-modal {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  font-family: inherit;
}

.idle-guard-header {
  padding: 20px 24px 8px;
}

.idle-guard-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #303d8c;
}


.idle-guard-message {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #4b5563;
}
.idle-guard-sub-message {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}

.idle-guard-footer {
  padding: 16px 24px 24px;
}

.idle-guard-stay-btn {
  height: 44px;
  width: 100px;
  border: none;
  border-radius: 10px;
  background: #303d8c;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.idle-guard-stay-btn:hover {
  opacity: 0.92;
}
