.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.newsxo-hf-repeater-list {
    margin-bottom: 20px;
}

.newsxo-hf-repeater-item {
    background: #fff;
    border: none;
    margin-bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    border-radius: 4px;
    overflow: hidden;
}

.newsxo-item-title {
    background: #f5f5f5;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.newsxo-item-title span {
    flex: 1;
    display: block;
    padding: 10px 12px;
    background: #fff;
}

.newsxo-item-fields {
    padding: 15px;
    border-top: 1px solid #ededed;
    display: none;
}
.newsxo-item-fields .newsxo-field-wrapper{
    margin-bottom: 20px;
}
.newsxo-item-fields .newsxo-field-wrapper:last-child{
    margin-bottom: 0px;
}
.newsxo-item-controls{
    background-color: #fff;
    display: inline-flex;
    height: -webkit-fill-available;
}
.newsxo-item-controls button {
    background: none;
    border: none;
    color: #888;
    font-size: 18px;
    cursor: pointer;
    padding: 0 10px;
    border-width: 0 0 0 1px;
    border-style: solid;
    border-color: #ddd;
    background-color: #fff;
    outline: none;
}
.newsxo-item-controls button:hover {
    color: var(--wp-admin-theme-color)
}
.newsxo-item-fields .newsxo-field-select {
    border-width: 1px;
    border-style: solid;
    border-color: #ddd;
}
.newsxo-field-select option:disabled::before {
    background-color: red;
    color: #fff;
    padding: 3px 5px;
    font-size: 14px;
}
.newsxo-item-fields .newsxo-field-label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}
.newsxo-add-item{
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}
.newsxo-add-item .dashicons-plus-alt2{
    vertical-align: sub !important;
    font-size: 16px;    
    line-height: 1.3 !important;
}
/*  */
.newsxo-field-position {
    display: flex;
    gap: 5px;
}
.newsxo-field-position >label {
    position: relative;
    flex: 7%;
    text-align: center;
    padding: 5px 8px;
    border-width: 1px;
    border-style: solid;
    border-color: #ddd;
    cursor: pointer;
}
.newsxo-field-position>label:hover{
    background: #f5f5f5;
}
.newsxo-field-position input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}
.newsxo-field-position input[type="radio"] {
    opacity: 0.011;
    z-index: 100;
    background: blue;
}
.newsxo-field-position label:has(input[type="radio"]:checked) {
    background: var(--wp-admin-theme-color);
    border-color: var(--wp-admin-theme-color);
    color: #fff
}
.newsxo-label-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.newsxo-number-input-wrap .newsxo-field-column-number{
    width: 65px !important;
    height: 26px !important;
    padding: 0 5px;
    text-align: center;
    border-color: #ddd;
}
.newsxo-number-input-wrap .newsxo-field-column-range{
    width: 100%;
    cursor: pointer;
}
/* Add these styles to your newsxo-hf-repeater.css file */
.newsxo-edit-element-wrapper {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}
.newsxo-edit-element {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 12px;
    background: #f0f0f1;
    border: 1px solid #c3c4c7;
    color: var(--wp-admin-theme-color);
    cursor: pointer;
    transition: all 0.2s ease;
}
.newsxo-edit-element:hover {
    background: var(--wp-admin-theme-color);
    color: #fff;
    border-color: var(--wp-admin-theme-color);
}
.newsxo-edit-element .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    vertical-align: sub !important;
    line-height: 1.3 !important;
}
.newsxo-edit-element:focus {
    outline: 2px solid var(--wp-admin-theme-color);
    outline-offset: 2px;
}