/* Modal / diálogos da plataforma (loja + painel) */

html.lvj-scroll-lock,
body.lvj-scroll-lock {
  overflow: hidden !important;
}

body.lvj-scroll-lock {
  padding-right: var(--lvj-scrollbar, 0px);
}

.lvj-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
}

.lvj-modal-backdrop[hidden] {
  display: none !important;
}

.lvj-modal {
  width: min(100%, 420px);
  max-height: min(90vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.lvj-modal--wide {
  width: min(100%, 560px);
}

.lvj-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e8ecf1;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.lvj-modal-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #1a1f36;
}

.lvj-modal-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #f1f4f8;
  color: #1a1f36;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lvj-modal-body {
  padding: 18px;
}

.lvj-modal-text {
  margin: 0 0 18px;
  color: #445;
  line-height: 1.5;
  font-size: 15px;
}

.lvj-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.lvj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.lvj-btn-primary {
  background: #22a832;
  color: #fff;
}

.lvj-btn-primary:hover {
  background: #1b8f2b;
}

.lvj-btn-ghost {
  background: #fff;
  color: #1a1f36;
  border: 1px solid #e8ecf1;
}

.lvj-filter-form {
  display: grid;
  gap: 14px;
}

.lvj-filter-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #8b92a6;
}

.lvj-filter-form input,
.lvj-filter-form select {
  border: 1px solid #e8ecf1;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: #1a1f36;
  background: #fff;
}

.search-tools {
  cursor: default;
}

.search-tools .list-icon,
.search-submit,
#search-filter-btn {
  cursor: pointer;
}

.search-submit,
#search-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}
