.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-column {
  display: flex;
  flex-direction: column;
}
.flex-between {
  display: flex;
  justify-content: space-between;
}

.display-none {
  display: none;
}
.display-flex {
  display: flex;
}

#sp-pcp-custom-font-id.postbox {
  background: transparent;
  border: none;
}

#sp-pcp-custom-font-id .postbox-header {
  display: none;
}
#sp-pcp-custom-font-id.postbox .inside {
  margin: 0;
  padding: 0;
}

#sp-pcp-custom-font-id .sp-pcp-blocks-settings-page-header {
  align-items: center;
  background: linear-gradient(90deg, #b53361, #e2572c 65.02%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 20px 30px;
}

#sp-pcp-custom-font-id .sp-pcp-blocks-settings-page-header .sp-pcp-blocks-settings-page-header-left {
  align-items: center;
  display: flex;
  gap: 10px;
  width: 100%;
}
#sp-pcp-custom-font-id .sp-pcp-blocks-settings-page-header .sp-pcp-blocks-settings-page-header-left img {
  align-items: center;
  display: flex;
  gap: 10px;
  max-width: 180px;
}

#sp-pcp-custom-font-id .sp-pcp-blocks-settings-page-header .sp-pcp-blocks-settings-page-header-right a {
  color: #fff;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  gap: 5px;
  text-decoration: none;
}
#sp-pcp-custom-font-id .sp-pcp-blocks-settings-page-header .sp-pcp-blocks-settings-page-header-right a svg {
  max-height: 20px;
  max-width: 20px;
}

#sp-pcp-custom-font-id .sp-pcp-custom-font-type-wrapper {
  display: flex;
  padding: 32px;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 6px;
  border: 1px solid #DDD;
  background: #FFF;
  margin-top: 24px;
}

.btn.sp-pcp-font-variations-action.add-btn {
  display: flex;
  padding: 10px 24px 10px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius:  4px;
  border: 1px solid  #F05D31;
  background: #FFF;
  background-color: transparent;
  color: #F05D31;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  margin-top: 36px;
  cursor: pointer;
  min-width: 180px;
}
.btn.sp-pcp-font-variations-action.add-btn svg {
  max-width: 20px;
  max-height: 20px;
}

.sp-pcp-custom-font-container-list-item .sp-pcp-custom-font-content-wrapper {
  padding: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.sp-pcp-custom-font-container-list-item.content-open .sp-pcp-custom-font-content-wrapper {
  padding: 24px;
  height: fit-content;
  overflow: hidden;
  opacity: 1;
}

.sp-pcp-custom-font-type-wrapper .sp-pcp-custom-font-content-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.sp-pcp-custom-font-type-wrapper .sp-pcp-custom-font-container-copy-item {
  max-width: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

.sp-pcp-custom-font-type-wrapper .sp-pcp-custom-font-container-list-item {
  display: flex;
  flex-direction: column;
  border: 1px solid #FCD8CF;
  border-radius: 4px;
  background: #FFF;
}

.sp-pcp-custom-font-container-list-item .sp-pcp-custom-font-header {
  align-items: center;
  padding: 10px 24px;
  background: #FEE8E1;
}
.sp-pcp-custom-font-header .sp-pcp-header-icon-right {
  align-items: center;
}
.sp-pcp-custom-font-header .sp-pcp-header-icon-right .sp-pcp-icon {
  cursor: pointer;
}

.sp-pcp-custom-font-content-wrapper .sp-pcp-custom-font-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sp-pcp-custom-font-header .sp-pcp-header-text-left {
  color: #2F2F2F;
  font-size: 14px;
  font-family: Inter;
  font-weight: 600;
  line-height: 20px;
}

.sp-pcp-custom-font-header .sp-pcp-header-icon-right {
  color: #2F2F2F;
  font-size: 18px;
  font-family: Inter;
  font-weight: 400;
  line-height: 20px;
  gap: 12px;
}

.sp-pcp-custom-font-file .sp-pcp-font-file-uploader {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
}

.sp-pcp-font-file-uploader .sp-pcp-font-file-uploader-btn {
  padding: 6px 12px;
  border: 1px solid #E0E0E0;
  border-radius: 3px;
  background-color: #FAFAFA;
  cursor: pointer;
}

.sp-pcp-font-file-uploader .sp-pcp-font-file-uploader-text {
  color: #2F2F2F;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 142.857% */
}

.sp-pcp-custom-font-file .sp-pcp-custom-font-file-note.note {
  color: #757575;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
}

.sp-pcp-custom-font-content .sp-pcp-custom-font-settings {
  gap: 12px;
}
.sp-pcp-custom-font-settings .sp-pcp-font-settings-field {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 8px;
}

.sp-pcp-font-settings-field .sp-pcp-font-settings-label {
  color: #2F2F2F;
  font-family: Inter;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 153.846% */
}
.sp-pcp-font-settings-field .sp-pcp-select-field.custom-icon select {
  display: flex;
  height: 48px;
  padding: 14px 16px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-radius: 3px;
  border: 1px solid #E0E0E0;
  background: #FFF;
  width: 100%;
  color: #2F2F2F;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  text-transform: capitalize;
}
.sp-pcp-font-settings-field .sp-pcp-select-field.custom-icon {
  position: relative;
}
.sp-pcp-select-field.custom-icon .sp-pcp-select-custom-icon {
  position: absolute;
  top: 0;
  right: 16px;
  height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  pointer-events: none;
}

.sp-pcp-custom-font-container-list-item .sp-pcp-icon.dropdown-icon svg {
  transition: all 0.3s ease;
}
.sp-pcp-custom-font-container-list-item.content-open .sp-pcp-icon.dropdown-icon svg {
  transform: rotate(-90deg);
}

.sp-pcp-custom-font-content .sp-pcp-custom-font-preview-box-field {
  flex-direction: column;
  gap: 8px;  
}
.sp-pcp-custom-font-preview-box-field .sp-pcp-custom-font-preview-box-label label {
  color: #2F2F2F;
  font-family: Inter;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 153.846% */
}
.sp-pcp-custom-font-preview-box-field .sp-pcp-custom-font-preview-box {
  display: flex;
  height: 76px;
  padding: 14px 16px;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 3px;
  border: 1px solid #E0E0E0;
  background: #FFF;
}
.sp-pcp-custom-font-preview-box-field .sp-pcp-font-preview-text {
  color: #2F2F2F;
  font-size: 14px;
  font-style: normal;
  line-height: normal;
}

#sp-pcp-custom-font-id .sp-pcp-custom-font-file .select-file-name .select-file-name-url {
  display: block;
  width: 100%;
  background: transparent;
  color: #2F2F2F;
  font-family: Inter;
  font-size: 14px;
  line-height: 125%;
  margin: 0 0 12px 0;
  padding: 0;
}
