/* HR 注册审核面板样式（独立注入，深空蓝主色统一） */

/* 悬浮入口 */
.rrev-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9990;
  background: #1a4b8c;
  color: #fff;
  padding: 12px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(26, 75, 140, 0.35);
  transition: background 0.2s, transform 0.15s;
}
.rrev-fab:hover {
  background: #2a5fa8;
  transform: translateY(-2px);
}

/* 审核面板 */
.rrev-panel {
  position: fixed;
  right: 24px;
  bottom: 80px;
  width: 400px;
  max-width: 92vw;
  max-height: 70vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  z-index: 9991;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: rrevIn 0.22s ease;
}
@keyframes rrevIn {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.rrev-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}
.rrev-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a4b8c;
  flex: 1;
}
.rrev-refresh {
  font-size: 13px;
  color: #1a4b8c;
  cursor: pointer;
}
.rrev-refresh:hover { text-decoration: underline; }
.rrev-close {
  font-size: 18px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}
.rrev-close:hover { color: #333; }

.rrev-body {
  overflow-y: auto;
  padding: 12px 16px;
}
.rrev-loading, .rrev-empty {
  text-align: center;
  color: #999;
  font-size: 14px;
  padding: 32px 0;
}

.rrev-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f2f2f2;
}
.rrev-item:last-child { border-bottom: none; }
.rrev-item-main { flex: 1; min-width: 0; }
.rrev-item-name { font-size: 14px; font-weight: 600; color: #222; }
.rrev-uname { color: #999; font-weight: 400; font-size: 13px; }
.rrev-item-meta { font-size: 13px; color: #666; margin-top: 3px; }
.rrev-item-time { font-size: 12px; color: #aaa; margin-top: 2px; }
.rrev-item-actions { display: flex; gap: 8px; margin-left: 12px; }
.rrev-btn {
  border: none;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.rrev-btn.ok { background: #16a34a; color: #fff; }
.rrev-btn.ok:hover { opacity: 0.85; }
.rrev-btn.no { background: #dc2626; color: #fff; }
.rrev-btn.no:hover { opacity: 0.85; }
.rrev-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Toast */
.rrev-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  color: #fff;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.rrev-toast.ok { background: #16a34a; }
.rrev-toast.err { background: #dc2626; }
.rrev-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
