/* =========================================================
   Local Directory – frontend forms (submit/edit)
========================================================= */

.ld-form-page{
  max-width: 1040px;
  margin: 28px auto 48px;
  padding: 0 16px;
}

.ld-form-shell{
  background: #fff;
  border: 1px solid #e6edf5;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .06);
}

.ld-form-head{
  padding: 34px 36px 28px;
  border-bottom: 1px solid #edf2f7;
  background: linear-gradient(180deg, #fbfdff 0%, #f7fbff 100%);
}

.ld-form-kicker{
  margin: 0 0 10px;
  color: #2b78b8;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .20em;
  text-transform: uppercase;
  line-height: 1.2;
}

.ld-form-title{
  margin: 0 0 14px;
  color: #111827;
  font-size: 40px;
  line-height: 1.05;
  font-weight: 1000;
}

.ld-form-lead{
  margin: 0;
  color: #667085;
  font-size: 17px;
  line-height: 1.75;
  max-width: 780px;
}

.ld-form-body{
  padding: 34px 36px 40px;
}

.ld-form--frontend{
  margin: 0;
}

.ld-form-section + .ld-form-section{
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #edf2f7;
}

.ld-form-section__kicker{
  margin: 0 0 8px;
  color: #2b78b8;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.2;
}

.ld-form-section__title{
  margin: 0 0 20px;
  color: #111827;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 1000;
}

.ld-form-grid{
  display: grid;
  gap: 18px 20px;
  align-items: stretch;
}

.ld-form-grid--2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ld-field{
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ld-field--full{
  grid-column: 1 / -1;
}

.ld-form--frontend label{
  display: block;
  margin: 0 0 10px;
  color: #111827;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.ld-required{
  color: #1e88e5;
}

.ld-form--frontend input[type="text"],
.ld-form--frontend input[type="email"],
.ld-form--frontend input[type="url"],
.ld-form--frontend input[type="tel"],
.ld-form--frontend input[type="number"],
.ld-form--frontend input[type="search"],
.ld-form--frontend select,
.ld-form--frontend textarea{
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid #d9e3ee;
  background: #fff;
  color: #111827;
  font-size: 15px;
  line-height: 1.4;
  border-radius: 0;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.ld-form--frontend textarea{
  min-height: 160px;
  padding: 14px 16px;
  resize: vertical;
}

.ld-form--frontend input[type="file"]{
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d9e3ee;
  background: #fff;
  color: #475467;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 0;
}

.ld-form--frontend input:focus,
.ld-form--frontend select:focus,
.ld-form--frontend textarea:focus{
  outline: none;
  border-color: #56a8ea;
  box-shadow: 0 0 0 4px rgba(86, 168, 234, .14);
}

.ld-form--frontend input::placeholder,
.ld-form--frontend textarea::placeholder{
  color: #98a2b3;
}

.ld-help{
  display: block;
  margin-top: 10px;
  color: #7b8794;
  font-size: 12px;
  line-height: 1.55;
}

.ld-form-repeater{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ld-repeater-card{
  border: 1px solid #e6edf5;
  background: #fbfdff;
  padding: 18px;
}

.ld-repeater-card .ld-field + .ld-field{
  margin-top: 14px;
}

.ld-form-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #edf2f7;
}

.ld-form-submit,
.ld-form-button{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  height: 58px;
  padding: 0 28px;
  border: 1px solid #1e88e5;
  background: #1e88e5;
  color: #fff;
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  line-height: 1;
  white-space: nowrap;
  transition: filter .2s ease, transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}

.ld-form-submit:hover,
.ld-form-button:hover{
  filter: brightness(1.04);
  text-decoration: none;
}

.ld-form-submit:active,
.ld-form-button:active{
  transform: translateY(1px);
}

.ld-form-submit:disabled{
  opacity: .72;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

.ld-form-button--secondary{
  background: #fff;
  color: #2b78b8;
  border-color: #cfe0ef;
}

.ld-form-button--secondary:hover{
  background: #f7fbff;
  border-color: #9fc8eb;
  color: #1e6fa8;
}

.ld-form-note{
  margin: 12px 0 0;
  color: #7b8794;
  font-size: 13px;
  line-height: 1.6;
}

/* =========================================================
   Przyciski edycji – równe ułożenie 3 obok siebie
========================================================= */

.ld-form-actions--edit{
  display: grid;
  grid-template-columns: 230px 230px 1fr;
  align-items: stretch;
  gap: 14px;
  width: 100%;
}

.ld-form-actions--edit .ld-form-submit,
.ld-form-actions--edit .ld-form-button{
  height: 58px;
  min-height: 58px;
  margin: 0;
}

.ld-form-actions--edit .ld-form-submit--main{
  grid-column: 1;
  width: 230px;
  min-width: 230px;
}

.ld-form-actions--edit .ld-form-button--secondary{
  grid-column: 2;
  width: 230px;
  min-width: 230px;
}

.ld-form-actions--edit .ld-form-submit--small{
  grid-column: 3;
  justify-self: end;
  align-self: stretch;
  width: auto;
  min-width: 158px;
  height: 58px;
  min-height: 58px;
  padding: 0 18px;
  font-size: 11px;
  letter-spacing: .055em;
}

/* =========================================================
   Readonly boxes (edycja)
========================================================= */

.ld-readonly-box{
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #d9e3ee;
  background: #f8fafc;
  color: #344054;
}

.ld-readonly-box__value{
  color: #111827;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.ld-readonly-box__note{
  margin-top: 6px;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}

.ld-readonly-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ld-readonly-tag{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #d8e8f6;
  background: #eef7ff;
  color: #245b88;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

/* =========================================================
   Rodzaj wpisu
========================================================= */

.ld-type-cards{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.ld-type-card{
  display: block;
  cursor: pointer;
}

.ld-type-card input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ld-type-card__box{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 180px;
  padding: 22px;
  border: 1px solid #d9e4ef;
  background: #fff;
  transition: .2s ease;
  text-align: left;
}

.ld-type-card__icon{
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f9ff;
  border: 1px solid #d8e8f6;
  color: #2b78b8;
}

.ld-type-card__icon svg{
  width: 26px;
  height: 26px;
  display: block;
}

.ld-type-card__title{
  font-size: 18px;
  line-height: 1.2;
  font-weight: 1000;
  color: #111827;
}

.ld-type-card__desc{
  font-size: 15px;
  line-height: 1.6;
  color: #5f6773;
  text-align: left;
}

.ld-type-card input:checked + .ld-type-card__box{
  border-color: #1e88e5;
  background: #f7fbff;
  box-shadow: 0 0 0 2px rgba(30, 136, 229, .12);
}

.ld-type-card input:focus-visible + .ld-type-card__box{
  outline: 2px solid #1e88e5;
  outline-offset: 2px;
}

/* =========================================================
   Kategorie
========================================================= */

.ld-cat-search{
  margin-bottom: 14px;
}

.ld-cat-groups{
  display: grid;
  gap: 16px;
}

.ld-cat-group{
  border: 1px solid #e6edf5;
  background: #fbfdff;
  padding: 18px;
}

.ld-cat-group__title{
  margin: 0 0 14px;
  color: #111827;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 900;
  text-align: left;
}

.ld-checkgrid,
.ld-checkgrid--left{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  justify-items: start;
  align-items: start;
}

.ld-cat-group .ld-check{
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100%;
  margin: 0;
  padding: 12px;
  border: 1px solid #e6edf5;
  background: #fff;
  cursor: pointer;
  gap: 10px;
  text-align: left !important;
  box-sizing: border-box;
}

.ld-cat-group .ld-check input[type="checkbox"]{
  appearance: auto;
  -webkit-appearance: checkbox;
  display: block !important;
  position: static !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  float: none !important;
  transform: none !important;
  order: 0 !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  vertical-align: top !important;
  pointer-events: auto !important;
}

.ld-cat-group .ld-check span{
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  text-align: left !important;
}

/* =========================================================
   Upload
========================================================= */

.ld-upload-zone{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 210px;
  padding: 26px 20px;
  border: 1.5px dashed #c7d7e7;
  background: #f9fbfd;
  text-align: center;
  cursor: pointer;
  transition: .2s ease;
}

.ld-upload-zone:hover,
.ld-upload-zone.is-dragover{
  border-color: #1e88e5;
  background: #f7fbff;
}

.ld-upload-zone.is-filled{
  border-style: solid;
}

.ld-upload-input{
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.ld-upload-zone__icon{
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #d8e8f6;
  color: #2b78b8;
}

.ld-upload-zone__icon svg{
  width: 26px;
  height: 26px;
  display: block;
}

.ld-upload-zone__title{
  font-size: 18px;
  line-height: 1.25;
  font-weight: 1000;
  color: #111827;
}

.ld-upload-zone__text{
  font-size: 15px;
  line-height: 1.5;
  color: #5f6773;
}

.ld-upload-zone__hint{
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8a94a3;
}

.ld-upload-list{
  display: grid;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
}

.ld-upload-list--gallery{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ld-upload-file{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  min-width: 0;
}

.ld-upload-file--gallery{
  align-items: center;
}

.ld-upload-file__thumb{
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  overflow: hidden;
  background: #eef2f7;
}

.ld-upload-file__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ld-upload-file__meta{
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.ld-upload-file__meta strong{
  font-size: 14px;
  line-height: 1.35;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ld-upload-file__meta small{
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.3;
  color: #6b7280;
}

.ld-upload-file__actions{
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}

.ld-upload-file__btn{
  appearance: none;
  border: 1px solid #d7e2ec;
  background: #fff;
  color: #475467;
  cursor: pointer;
  transition: .18s ease;
  box-shadow: none;
}

.ld-upload-file__btn:hover{
  border-color: #bfd3e6;
  background: #f8fbff;
  color: #1f2937;
}

.ld-upload-file__btn:focus-visible{
  outline: none;
  border-color: #56a8ea;
  box-shadow: 0 0 0 3px rgba(86, 168, 234, .18);
}

.ld-upload-file__btn--icon{
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  border-radius: 999px;
}

.ld-upload-file__btn--chip{
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  border-radius: 999px;
}

.ld-upload-file__btn--danger{
  border-color: #f0d5dd;
  color: #b42318;
  background: #fff;
}

.ld-upload-file__btn--danger:hover{
  border-color: #e7b9c3;
  background: #fff5f7;
  color: #912018;
}

/* =========================================================
   Existing media / gallery
========================================================= */

.ld-existing-media-item{
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 276px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #e6edf5;
  background: #fbfdff;
}

.ld-existing-media-item.is-removed{
  opacity: .55;
}

.ld-existing-media-item p{
  margin: 0 0 10px;
}

.ld-existing-media-item p:last-child{
  margin-top: auto;
  margin-bottom: 0;
}

.ld-existing-media-item p:has(img){
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-height: 140px;
  margin-bottom: 14px;
}

.ld-existing-media-item img{
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 140px !important;
  object-fit: contain;
}

.ld-existing-gallery{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.ld-existing-gallery-item{
  padding: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  transition: opacity .2s ease, border-color .2s ease, background-color .2s ease;
}

.ld-existing-gallery-item.is-removed{
  opacity: .45;
  background: #fafafa;
}

.ld-existing-gallery-item__thumb{
  overflow: hidden;
  background: #eef2f7;
  margin-bottom: 10px;
}

.ld-existing-gallery-item__thumb img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.ld-existing-gallery-item__actions{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

/* =========================================================
   Media buttons
========================================================= */

.ld-media-chip{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid #d7e2ec;
  background: #fff;
  color: #475467;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: .18s ease;
  box-shadow: none;
}

.ld-media-chip:hover{
  border-color: #bfd3e6;
  background: #f8fbff;
  color: #1f2937;
}

.ld-media-chip:focus-visible{
  outline: none;
  border-color: #56a8ea;
  box-shadow: 0 0 0 3px rgba(86, 168, 234, .18);
}

.ld-media-chip--danger{
  border-color: #f0d5dd;
  color: #b42318;
}

.ld-media-chip--danger:hover{
  border-color: #e7b9c3;
  background: #fff5f7;
  color: #912018;
}

.ld-media-icon-btn{
  appearance: none;
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e2ec;
  background: #fff;
  color: #475467;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transition: .18s ease;
  box-shadow: none;
}

.ld-media-icon-btn:hover{
  border-color: #bfd3e6;
  background: #f8fbff;
  color: #1f2937;
}

.ld-media-icon-btn:focus-visible{
  outline: none;
  border-color: #56a8ea;
  box-shadow: 0 0 0 3px rgba(86, 168, 234, .18);
}

/* =========================================================
   Save toast / zapis AJAX
========================================================= */

.ld-save-toast{
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(440px, calc(100vw - 32px));
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(.96);
  transition:
    opacity .28s ease,
    transform .28s ease,
    visibility 0s linear .28s;
}

.ld-save-toast.is-mounted{
  visibility: visible;
}

.ld-save-toast.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition:
    opacity .28s ease,
    transform .28s ease,
    visibility 0s;
}

.ld-save-toast.is-leaving{
  opacity: 0;
  transform: translate(-50%, -50%) scale(.98);
}

.ld-save-toast__inner{
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #d8e8f6;
  box-shadow:
    0 22px 70px rgba(15, 23, 42, .18),
    0 0 0 1px rgba(255, 255, 255, .72) inset;
  backdrop-filter: blur(12px);
}

.ld-save-toast__icon{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  background: #eef7ff;
  border: 1px solid #d8e8f6;
  color: #2b78b8;
}

.ld-save-toast__icon svg{
  display: block;
  width: 24px;
  height: 24px;
}

.ld-save-toast__content{
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ld-save-toast__content strong{
  margin: 0 0 3px;
  color: #111827;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 1000;
}

.ld-save-toast__message{
  color: #667085;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

/* =========================================================
   Lokalizacja – lista rozwijana + szukaczka po otwarciu
========================================================= */

.ld-location-wrap{
  position: relative;
}

.ld-location-wrap .ld-loc-search{
  display: none;
  margin: 0 0 12px;
}

.ld-location-wrap.is-open .ld-loc-search{
  display: block;
}

.ld-form--frontend select[name="ld_location"]{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  min-height: 62px;
  padding: 0 58px 0 18px;

  border: 1px solid #cfe0ef;
  background-color: #ffffff;

  background-image:
    linear-gradient(45deg, transparent 50%, #2b78b8 50%),
    linear-gradient(135deg, #2b78b8 50%, transparent 50%),
    linear-gradient(to right, #d8e8f6, #d8e8f6),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);

  background-position:
    calc(100% - 25px) 27px,
    calc(100% - 18px) 27px,
    calc(100% - 47px) 50%,
    0 0;

  background-size:
    8px 8px,
    8px 8px,
    1px 28px,
    100% 100%;

  background-repeat: no-repeat;

  color: #111827;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;

  box-shadow:
    0 1px 0 rgba(255, 255, 255, .85) inset,
    0 8px 20px rgba(15, 23, 42, .035);

  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease,
    color .2s ease;
}

.ld-form--frontend select[name="ld_location"]:hover{
  border-color: #9fc8eb;
  background-color: #fafdff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 12px 26px rgba(43, 120, 184, .08);
}

.ld-form--frontend select[name="ld_location"]:focus{
  outline: none;
  border-color: #56a8ea;
  box-shadow:
    0 0 0 4px rgba(86, 168, 234, .16),
    0 12px 28px rgba(43, 120, 184, .10);
}

.ld-form--frontend select[name="ld_location"]:disabled{
  cursor: not-allowed;
  opacity: .65;
  background-color: #f3f6f9;
}

.ld-form--frontend select[name="ld_location"]:invalid{
  color: #8a94a3;
  font-weight: 700;
}

.ld-form--frontend select[name="ld_location"] option{
  color: #111827;
  background: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.ld-form--frontend select[name="ld_location"] option[value=""]{
  color: #98a2b3;
}

.ld-form--frontend select[name="ld_location"] option:disabled{
  color: #98a2b3;
  background: #f4f7fa;
  font-weight: 800;
}

.ld-location-wrap.is-open .ld-location-select{
  min-height: auto;
  height: auto;
  padding: 8px 0;
  background-image: none;
  overflow-y: auto;
}

.ld-location-wrap.is-open .ld-location-select option{
  padding: 10px 16px;
}

/* Label nad lokalizacją – niebieska ikona SVG */
.ld-field:has(select[name="ld_location"]) > label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ld-field:has(select[name="ld_location"]) > label::before{
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background-color: #eef7ff;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s6-5.2 6-11a6 6 0 1 0-12 0c0 5.8 6 11 6 11Z' stroke='%232b78b8' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M12 12.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z' stroke='%232b78b8' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px 15px;
  border: 1px solid #d8e8f6;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 860px){
  .ld-form-head{
    padding: 26px 22px 22px;
  }

  .ld-form-body{
    padding: 24px 22px 28px;
  }

  .ld-form-title{
    font-size: 30px;
  }

  .ld-form-grid--2,
  .ld-checkgrid,
  .ld-checkgrid--left,
  .ld-form-repeater,
  .ld-type-cards,
  .ld-existing-gallery{
    grid-template-columns: 1fr;
  }

  .ld-form-actions--edit{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ld-form-actions--edit .ld-form-submit,
  .ld-form-actions--edit .ld-form-button,
  .ld-form-actions--edit .ld-form-submit--small,
  .ld-form-actions--edit .ld-form-submit--main,
  .ld-form-actions--edit .ld-form-button--secondary{
    grid-column: auto;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .ld-form-submit,
  .ld-form-button{
    width: 100%;
  }

  .ld-existing-media-item{
    min-height: 240px;
  }
}

@media (max-width: 767px){
  .ld-upload-list--gallery{
    grid-template-columns: 1fr;
  }

  .ld-upload-file{
    align-items: flex-start;
  }

  .ld-upload-file__actions{
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    padding-top: 4px;
  }
}

@media (max-width: 560px){
  .ld-save-toast{
    top: auto;
    bottom: 22px;
    transform: translateX(-50%) translateY(12px) scale(.98);
  }

  .ld-save-toast.is-visible{
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .ld-save-toast.is-leaving{
    transform: translateX(-50%) translateY(8px) scale(.98);
  }

  .ld-form--frontend select[name="ld_location"]{
    min-height: 58px;
    padding-left: 16px;
    padding-right: 54px;

    background-position:
      calc(100% - 24px) 25px,
      calc(100% - 17px) 25px,
      calc(100% - 44px) 50%,
      0 0;
  }

  .ld-location-wrap.is-open .ld-location-select{
    padding-left: 0;
    padding-right: 0;
    background-image: none;
  }
  
}