/* 会员权限拦截弹窗样式 */
@use '../variables' as *;

.member-access-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: $overlay-bg;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.14rem;
}

.member-access-dialog {
  background: $bg-white;
  border-radius: 0.12rem;
  padding: 0.4rem 0.36rem 0.3rem;
  width: 3.8rem;
  text-align: center;
  box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.15);
}

/* 锁图标 */
.member-access-dialog__icon {
  margin-bottom: 0.2rem;
}

.member-access-dialog__lock-svg {
  width: 0.48rem;
  height: 0.48rem;
  color: $accent;
}

/* 提示文字 */
.member-access-dialog__text {
  font-size: 0.15rem;
  color: $text-dark;
  line-height: 1.6;
  margin-bottom: 0.3rem;
}

/* 操作按钮区域 */
.member-access-dialog__actions {
  display: flex;
  gap: 0.16rem;
  justify-content: center;
}

.member-access-dialog__btn {
  flex: 1;
  height: 0.4rem;
  border-radius: 0.06rem;
  font-size: 0.14rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;

  &:hover {
    opacity: 0.85;
  }
}

/* 灰色取消按钮 */
.member-access-dialog__btn--cancel {
  background: $bg-main;
  color: $text-middle;
}

/* 主题色确认按钮 */
.member-access-dialog__btn--confirm {
  background: $btn-dark;
  color: $bg-white;
}
