/* ShortCode After Title */
.ppv_shortcode {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding-left: 10px;
}
.ppv_shortcode .shortcode_copy {
  display: inline-block;
  padding: 6px 10px;
  font-family: monospace;
  font-size: 13px;
  background: #f6f7f7;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.15s ease;
}
.ppv_shortcode .shortcode_copy:hover {
  background-color: #f0f0f1;
  border-color: #2271b1;
}
.ppv_shortcode .shortcode_desc {
  font-size: 16px;
  font-weight: bold;
  color: #646970;
}

/* ShortCode Column */
.ppv_front_shortcode input {
  cursor: pointer;
}
.ppv_front_shortcode {
  position: relative;
  display: inline-block;
}
.ppv_front_shortcode .htooltip {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}
.ppv_front_shortcode .htooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}
.ppv_front_shortcode:hover .htooltip {
  visibility: visible;
  opacity: 1;
}

/* Upgrade Notice */
.bplde_upgrade_notice {
  border: 1px solid #ccc;
  background: linear-gradient(#fefefe, #f5f5f5);
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 15px;
  margin-top: 35px;
  margin-right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bplde_upgrade_notice .flex {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bplde_upgrade_notice a.button {
  background: #f19610fa;
  border: none;
  padding: 4px 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 13px;
}
.bplde_upgrade_notice a.button:hover,
.bplde_upgrade_notice a.button:focus,
.bplde_upgrade_notice a.button:active {
  background: #d5840e;
  border: none;
  box-shadow: none;
}
@media (max-width: 1320px) {
  .bplde_upgrade_notice {
    display: none;
  }
}

/* Pro Field CSS */
.ppv-field-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ppv-field-title h4 {
  margin: 0;
}

.ppv-field-title span {
  color: #fff;
  background: #146ef5;
  padding: 3px 10px;
  border-radius: 3px;
  height: fit-content;
}

.ppv-lock-field.section {
  opacity: 0.5;
}

.ppv-lock-field .csf-fieldset {
  /* pointer-events: none; */
  opacity: 0.5;
}

.csf-field.ppv-lock-field:hover::after {
  display: block;
}

.csf-field.ppv-lock-field::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  z-index: 999;
  overflow: hidden;
  top: 0;
  left: 0;
}

.csf-field.ppv-lock-field::after {
  display: none;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 9999999;
}

/* Metabox Upgrade Section */
.bplde-metabox-upgrade-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.button.button-bplugins {
  background: #146ef5;
  color: #fff;
}

.button.button-bplugins:hover,
.button.button-bplugins:focus,
.button.button-bplugins:active {
  background: #0b50b8;
  color: #fff;
}


.csf-field #picker_container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.dropbox-dropin-btn,
.dropbox-dropin-btn-default {
  padding: 15px !important;
  display: flex !important;
  margin: 0 !important;
  border: 1px solid #267ffc !important;
  justify-content: center !important;
  align-items: center !important;
  font-size: 14px !important;
}

.google-drive-picker-btn {
  padding: 13px;
  border: 1px solid #267ffc;
  display: flex;
  justify-content: center;
  font-size: 16px;
  align-items: center;
  cursor: pointer;
}

.dropbox-dropin-btn .dropin-btn-status {
  height: 18px;
}

/* Upgrade Button Design */
li a:has(.fs-submenu-item.document-emberdder.pricing.upgrade-mode),
li a:has(.fs-submenu-item.document-emberdder.pricing.upgrade-mode):hover {
  background-color: #2563eb !important;
    color: transparent !important;
}
.fs-submenu-item.document-emberdder.pricing.upgrade-mode {
  color: white;
}