p {
  margin-bottom: 5px !important;
}

input {
  border-radius: 10px !important;
  border: 1px solid #33333359 !important;
}

#up-post-new-social.fancybox-content {
  padding: 0 !important;
}

#form-up-post-social {
  overflow: hidden auto;
  max-height: 88vh;
  box-sizing: border-box;
  padding: 20px;
  height: auto;
}

#form-up-post-social .input-wrapper {
  margin-bottom: 15px;
}

#form-up-post-social .input-wrapper p span {
  color: red !important;
}

/* Thumbnail */
#form-up-post-social #thumbnail label,
#form-up-post-social #acf-image-field label,
#form-up-post-social #acf-gallery-field label {
  width: 100%;
  text-align: center;
  padding: 20px 0;
  border: 1px dashed #33333359;
  cursor: pointer;
  border-radius: 10px;
}

#form-up-post-social #thumbnail label img,
#form-up-post-social #acf-image-field label img {
  height: 50px;
  width: 50px;
  filter: opacity(0.5);
}

#form-up-post-social .checkmark {
  text-align: center;
}

#form-up-post-social .checkmark svg {
  width: 30px;
  height: 30px;
  fill: green;
}

#form-up-post-social #note {
  font-style: italic;
  text-align: center;
  color: green;
}

#form-up-post-social #post-social-content_ifr {
  height: auto !important;
}

#form-up-post-social .acf-option {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

#form-up-post-social .acf-option label {
  display: flex;
  align-items: center;
  justify-content: center;
}

#form-up-post-social .stack-card-radio {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-right: 15px;
}

#form-up-post-social .acf-option input[type="radio"] {
  width: 22px;
  height: 22px;
  margin: auto;
}

#form-up-post-social .radio-card {
  width: 22px;
  height: 22px;
  background: transparent;
  border: 1px solid #61ce70;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

input[type="radio"]:checked + .radio-card::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #61ce70;
  border-radius: 50%;
}

#form-up-post-social #acf-gallery-field .gallery-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-top: 10px;
  justify-content: center;
}

#form-up-post-social #acf-gallery-field .gallery-preview img {
  height: 50px;
  width: 50px;
  filter: opacity(0.5);
  object-fit: cover;
}

#form-up-post-social #acf-gallery-field .gallery-preview .img-wrapper {
  position: relative;
}

.cancel-btn-img-gallery-post {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #d9d9d9;
  display: flex;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s ease;
}
.cancel-btn-img-gallery-post:hover {
  background: #61CE70;
  color: #fff !important;
}