/* market/css/components/modal.css */

.mkf-modal[hidden]{ display:none; }

.mkf-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.mkf-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(17,24,39,.55);
  backdrop-filter: blur(2px);
}

.mkf-modal__dialog{
  position: relative;
  max-width: 420px;
  margin: 12vh auto 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
}

.mkf-modal__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--mkf-border-subtle, #e5e7eb);
}

.mkf-modal__title{
  font-weight: 800;
  letter-spacing: -0.01em;
}

.mkf-modal__x{
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--mkf-muted, #6b7280);
}

.mkf-modal__body{
  padding: 16px;
}

.mkf-modal__actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
