.pbe-field-edit-form label {
  display: block;
  width: 100%;
}
.pbe-repeater-subfield[data-value="student"] ~ div {
  display: none !important;
}
.pbe-profile-container {
    margin: 0 auto;
    padding: 20px;
    direction: rtl; /* Added for RTL support */
    text-align: right;
}
.pbe-edit-button {
  color: #000 !important;
}

.pbe-edit-button,.pbe-edit-repeater-item,.pbe-remove-repeater-item,.pbe-add-repeater-item  {
  background: transparent !important;
  width: 30px;
  height: 30px;
  padding: 0 !important;
}
.pbe-edit-button svg , .pbe-edit-repeater-item svg, .pbe-remove-repeater-item svg,.pbe-add-repeater-item svg{
  width: 30px;
  height: 30px;
}
.pbe-profile-container {
  background-color: #fff;
  border: 1px solid #d0d0d0;
  margin-bottom: 20px;
  position: relative;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.pbe-profile-container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 6px;
  background-color: #e7e7e7;
}
.pbe-progress-container {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.pbe-progress-bar {
    height: 100%;
    transition: width 0.3s ease-in-out;
}

/* New styles for non-tabbed layout */
.pbe-profile-fields {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.pbe-field-container {
    position: relative;
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.pbe-field-container:last-child {
    border-bottom: none;
}

.pbe-field-display {
    display: flex;
    align-items: center;
    flex-grow: 1;
    flex-wrap: wrap;
}

.pbe-field-display strong {
  display: inline-block;
  font-weight: 900;
  font-family: "iransans", Sans-serif;
}
.pbe-field-value {
    flex-grow: 1;
    margin-right: 15px;
}

.pbe-edit-button, .pbe-save-button, .pbe-cancel-button, .pbe-add-repeater-item, .pbe-save-repeater-item, .pbe-cancel-repeater-item, .pbe-remove-repeater-item, .pbe-edit-repeater-item {
    padding: 5px 10px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 5px;
    font-size: 13px;
    flex-shrink: 0;
}

.pbe-edit-button {
    background: #5cb85c;
}

.pbe-edit-button:hover {
    background: #449d44;
}

.pbe-save-button:hover, .pbe-cancel-button:hover, .pbe-add-repeater-item:hover, .pbe-save-repeater-item:hover, .pbe-cancel-repeater-item:hover, .pbe-remove-repeater-item:hover, .pbe-edit-repeater-item:hover {
    background: #005d87;
}

.pbe-field-edit-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
	flex-direction:column;
}

.pbe-taxonomy-checklist .form-check {
  display: flex;
  align-items: center;
}
.pbe-taxonomy-checklist {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.pbe-taxonomy-checklist strong {
  width: 100%;
}
.form-check input {
  width: 20px;
  height: 20px;
  margin-left: 6px !important;
}

.form-check .form-check-label {
  width: calc(100% - 20px);
  vertical-align: middle;
}
select.pbe-edit-input {
  background-color: transparent;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
}
.pbe-edit-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    width: 100%;
}

.pbe-edit-input {
    padding: 8px;
    margin: 5px 0;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}

.pbe-field-edit-form button {
    margin-top: 10px;
}

/* Repeater styles */
.pbe-repeater-container {
    padding: 10px;
    border-radius: 5px;
}

.pbe-repeater-container h3 {
    font-size: 1.2em;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.pbe-repeater-items-list {
    margin-bottom: 10px;
}

.pbe-repeater-item {
    border-bottom: 2.5px dashed #ddd;
    padding: 10px 0;
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.pbe-repeater-item:last-child {
    border-bottom: none;
}

.pbe-repeater-subfields-display {
    flex-grow: 1;
    margin-bottom: 10px;
}

.pbe-repeater-actions {
    display: flex;
    flex-shrink: 0;
}

.pbe-repeater-edit-form {
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}
.pbe-repeater-edit-form div {
    margin-bottom: 10px;
}
.pbe-repeater-edit-form input,
.pbe-repeater-edit-form select,
.pbe-repeater-edit-form textarea {
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    padding: 8px;
    margin-top: 5px;
}

.pbe-field-container[data-field-name="featured_image_video"] .pbe-field-value {
  display: flex;
 margin-top: 12px;
  width: 150px;
  height: 150px;
  object-fit: cover;
}
.pbe-delete-file {
  background-color: transparent !important;
}
.pbe-inline .pbe-field-edit-form{ display:block !important; }
.pbe-inline .pbe-edit-button{ display:none !important; }

.pbe-pricing-inline .pbe-row{display:grid;grid-template-columns:220px 1fr;gap:10px;align-items:center;margin-bottom:10px}
.pbe-pricing-inline .pbe-row label{font-weight:600}
.pbe-pricing-inline .pbe-row .pbe-inputs{display:flex;gap:16px}
.pbe-pricing-inline .pbe-hint{grid-column:2;opacity:.7;font-size:.9em}
@media (max-width:600px){
  .pbe-pricing-inline .pbe-row{grid-template-columns:1fr}
  .pbe-pricing-inline .pbe-hint{grid-column:1}
}
.pbe-pricing-inline label {
  font-size: 14px;
    line-height: 1.7;
}


@media(max-width:768px){
    .pbe-field-container[data-field-name="biography"] ul {
  padding: 0;
}
.pbe-pricing-inline .pbe-row {
  margin-bottom: 25px;
}

}