
/*-- Start Table css --*/
.opsf-be-table-container {
    width: 100%;
    overflow-x: auto; /* Ensure horizontal scroll when needed */
    margin-top: 15px;
}
.opsf-be-table {
    width: 100%;
    border: none;
    border-collapse: separate;
    border-spacing: 0 12px;
}
.opsf-be-table-head tr th {
    padding: 20px 15px;
    border-bottom: 2px solid #eeeeee;
    background: #ffffff;
    font-size: 14px;
    color: #1d2327;
}
.opsf-be-table-head tr th.check-column, .opsf-be-table-body tr th.check-column {
    width: 40px;
    text-align: center;
}
.opsf-be-table-body tr td, .opsf-be-table-body tr th {
    padding: 15px;
    border-bottom: 2px solid #eaeaea;
    background: #ffffff;
    vertical-align: top;
}
.opsf-be-table-head tr th {
    text-align: left;
}
.opsf-be-table-body tr td p {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #1d2327;;
}
.opsf-be-table-body tr td p:last-child {
    margin-bottom: 0px;
}
.opsf-be-table-customer-name {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 7px;
}
.opsf-be-table-title {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 0px;
    color: #1d2327;
}
.opsf-be-table-body tr td ul {
    margin-top: 0;
    margin-bottom: 10px;
}
.opsf-be-table-body tr td ul:last-child {
    margin-bottom: 0;
}
.opsf-be-table-body tr td ul li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #1d2327;
}
.opsf-be-table-data-column {
    min-width: 135px;
}
.opsf-be-table-body tr td ul li .dashicons {
    margin-right: 8px;
}
.opsf-be-table-action-block {
    display: flex;
    align-items: center;
    justify-content: center;
}
.opsf-be-table-action-column {
    text-align: center !important;
}
.opsf-be-table-action-block .opsf-be-table-action-button {
    display: block;
    padding: 3px 15px;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    min-width: 80px;
    margin-right: 10px;
    margin-bottom: 0 !important;
}
.opsf-be-table-action-block .opsf-be-table-action-button:last-child {
    margin-right: 0;
}
.opsf-be-table-description {
    min-width: 250px;
}
.opsf-be-table-vertical-middile {
    vertical-align: middle !important;
}
.opsf-be-table-body .form-title-sec .form-title {
    background: #eaeaea;
    padding: 3px 6px;
    margin-right: 5px;
    border-radius: 2px;
    font-size: 12px;
}

/*-- Start OPSF builder --*/
.opsf-be-title-section {
    display: flex;
    align-items: center;
}
.opsf-be-title-section .opsf-be-title-button-section {
    margin-left: auto;
   display: flex;
   align-items: center;
}
.opsf-be-builder-panel {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 15px;
}
.opsf-be-builder-content-menu {
    width: 250px;
    position: sticky;
    top: 50px;
    z-index: 9;
}
.opsf-be-builder-content-wrap {
    width: calc(100% - 290px);
    margin-left: auto;
    height: 100%;
}
.opsf-be-builder-section {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.opsf-be-builder-section-content {
    background: #ffffff;
    padding: 0 0 0 15px;
    height: 100%;
    width: calc(100% - 50px);
}
.opsf-be-builder-content-menu .opsf-be-builder-item {
    display: flex;
    align-items: center;
    border: 1px solid #eaeaea;
    padding: 10px;
    font-size: 14px;
    cursor: grab;
    background: #ffffff;
    margin-top: 10px;
    color: #1d2327;
    width: 100%;
}
.opsf-be-builder-section .opsf-be-form-se {
    width: 100%;
    display: flex;
    align-items: center;
}
.opsf-be-builder-section .opsf-be-form-se .opsf-be-label {
    margin-bottom: 0;
    min-width: max-content;
    padding-right: 15px;
}
.opsf-be-builder-content-menu .opsf-be-builder-item:hover {
    background: #fafafa;
}
.opsf-be-builder-content-menu .opsf-be-builder-item:first-child {
    margin-top: 0;
}
.opsf-be-builder-section .opsf-be-section-move {
    width: 40px;
    display: block;
}
.opsf-be-builder-section .opsf-be-section-move .dashicons-move {
    font-size: 20px;
    margin-top: 0;
    padding: 10px;
    border-radius: 3px;
    background: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
}
.opsf-be-builder-section .opsf-be-section-move .opsf-be-delete-section {
    display: flex;
    padding: 9px;
    margin: 15px 0px;
    align-items: center;
    justify-content: center;
}
.opsf-be-builder-section .opsf-be-section-move .opsf-be-delete-section .dashicons-trash {
    font-size: 20px;
    width: auto;
    height: auto;
}
.opsf-be-add-link {
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    color: #2271b1;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}
.opsf-be-icon-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaeaea;
    padding: 7px;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    margin-right: 10px;
}
.opsf-be-icon-bg .dashicons {
    font-size: 18px;
    line-height: 21px;
}

/*-- Start Form --*/
.opsf-be-input {
    width: 70%;
    padding: 6px 10px !important;
    font-size: 14px;
    display: block;
    color: #1d2327;
    min-width: 300px;
}
.opsf-form-field-container .opsf-form-field-element .opsf-be-checkbox {
    width: auto;
    padding: 0 !important;
}
.opsf-be-label {
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
    color: #1d2327;
}

label.opsf-be-label.field-label {
    width: max-content;
    background: #eaeaea;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
}

.opsf-be-form-element {
    margin-bottom: 20px;
}
.opsf-be-form-element:last-child {
    margin-bottom: 0;
}
.opsf-be-textarea {
    width: 100%;
    padding: 6px 10px !important;
    font-size: 14px;
    display: block;
    min-height: 100px;
    color: #1d2327;
}
.opsf-be-drag-drop-box {
    box-shadow: 0 0 0 transparent;
    border-radius: 4px;
    border: 1px solid #8c8f94;
    background-color: #fff;
    color: #2c3338;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.opsf-be-drag-drop-box span {
    font-size: 14px;
    color: #1d2327;
}
.opsf-be-add-description {
    display: none;
}
.opsf-be-builder-form-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 15px;
}
.opsf-be-builder-form-button button {
    font-size: 14px !important;
    padding: 5px 25px !important;
}
.opsf-be-title-section .opsf-be-title-button-section .button {
    padding: 3px 20px !important;
    font-size: 14px;
}
.opsf-be-title-section .opsf-be-title-button-section .button:first-child {
    margin-right: 15px;
}
.opsf-be-back-button {
    margin-right: 15px;
}
.opsf-be-back-button .button {
    display: flex;
    align-items: center;
}
.opsf-be-back-button .button .dashicons-arrow-left-alt {
    font-size: 14px;
    line-height: 22px;
}




/*-- Start Filter --*/
.opsf-be-table-filter {
    margin-top: 0px;
}
.opsf-be-table-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.opsf-be-table-filter-form .opsf-be-form-element {
    margin-bottom: 0;
    width: 24%;
    margin-right: 1%;
    margin-top: 1%;
}
.opsf-be-table-filter-form .opsf-be-form-element:last-child {
    margin-right: 0;
}
.opsf-be-table-filter-form .opsf-be-form-element button {
    font-size: 14px;
    padding: 4px 20px;
}

/* --- Form ---- */
.opsf-form-wrap {
    background: #ffffff;
    padding: 15px;
}

/*-- Start Settings --*/
.opsf-be-settings-block {
    width: 33.33%;
}
.opsf-be-settings-block-item {
    padding: 10px;
}
.opsf-be-settings-container {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}
.opsf-be-settings-item-wrap {
    background: #ffffff;
    padding: 15px;
}
.opsf-be-settings-block-title {
    display: flex;
    align-items: center;
}
.opsf-be-settings-block-title h4 {
    margin: 0;
    font-size: 18px;
    color: #1d2327;
}
.opsf-be-settings-block-title h6 {
    margin: 0;
    margin-left: auto;
    font-size: 12px;
    font-weight: 400;
    width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 10px;
    text-align: right;
}
.opsf-be-settings-item-wrap p {
    font-size: 14px;
    color: #1d2327;
    margin: 20px 0 20px;
}
.opsf-be-settings-block-title .button {
    font-size: 14px;
}
.opsf-be-settings-item-wrap .button {
    font-size: 14px;
    padding: 4px 15px;
}
.opsf-be-settings-panel {
    margin-top: 20px;
}
.opsf-be-settings-setup {
    max-width: 500px;
}
.opsf-be-settings-setup .opsf-be-form-element {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-direction: column;
}
.opsf-be-settings-setup .opsf-be-form-element .opsf-be-label {
    margin-bottom: 10px;
    width: 100%;
    font-weight: 700;
    padding-right: 15px;
}
.opsf-be-settings-setup .opsf-be-form-element .opsf-be-input {
    width: 100%;
}
.opsf-be-settings-setup .opsf-be-form-element p {
    margin: 5px 0 0;
    font-style: italic;
    font-size: 13px;
}
.opsf-be-settings-setup .opsf-be-form-element .opsf-be-sub-label h6 {
    margin-top: 0;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
    color: #1d2327;
    font-weight: 400;
}
.opsf-be-settings-setup .opsf-be-form-element .opsf-be-sub-label {
    margin-bottom: 16px;
}
.opsf-be-settings-setup .opsf-be-form-element .opsf-be-sub-label:last-child {
    margin-bottom: 0;
}
.opsf-be-settings-setup .opsf-be-form-element .opsf-be-sub-label input {
    cursor: pointer;
}

/*-- Start Customer View --*/
.opsf-be-customer-info {
    margin-top: 30px;
    margin-bottom: 20px;
    background: #ffffff;
    padding: 15px;
}
.opsf-be-customer-info .opsf-be-customer-name {
    font-size: 24px;
    margin: 0;
    line-height: 1;
}
.opsf-be-customer-info ul {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}.opsf-be-customer-question-answer ul {
    margin-bottom: 0;
}
.opsf-be-customer-info ul li {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #1d2327;
    margin-bottom: 0;
    padding-right: 50px;
}
.opsf-be-customer-info ul li:last-child {
    padding-right: 0;
}
.opsf-be-customer-info ul li .opsf-be-customer-info-label {
    margin-right: 5px;
}
.opsf-be-customer-info ul li .opsf-be-customer-info-value {
    font-weight: 700;
}
.opsf-be-customer-info ul li .dashicons {
    margin-right: 8px;
}
.opsf-be-customer-question-answer .opsf-be-customer-qa-item {
    background: #ffffff;
    padding: 15px;
    margin-bottom: 15px;
}
.opsf-be-customer-question-answer .opsf-be-customer-qa-item:last-child {
    margin-bottom: 0px;
}
.opsf-be-customer-question-answer .opsf-be-customer-qa-item h5 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #666666;
    line-height: 1.5;
}
.opsf-be-customer-question-answer .opsf-be-customer-qa-item h5 span {
    margin-left: 5px;
}
.opsf-be-customer-question-answer .opsf-be-customer-qa-item p {
    font-size: 16px;
    color: #000000;
    margin-bottom: 0;
    margin-top: 10px;
}
.tablenav-pages.opsf-pagination .page-numbers {
    font-size: 14px;
    text-decoration: none;
    padding: 5px 12px;
    font-weight: 500;
}
.tablenav-pages.opsf-pagination .page-numbers.prev, .tablenav-pages.opsf-pagination .page-numbers.next {
    border: 1px solid;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
}
.tablenav-pages.opsf-pagination .page-numbers.current {
    background: #2271b1;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: 700;
}
.tablenav-pages.opsf-pagination .page-numbers:hover {
    background: #2271b1;
    color: #ffffff;
    border-radius: 5px;
}
.tablenav-pages.opsf-pagination .page-numbers:focus {
    outline: none !important;
    box-shadow: none !important;
}
.opsf-be-table-body tr td ul li .opsf-link-text {
    text-decoration: none;
}
.opsf-be-table-body tr td ul li .opsf-link-text:hover {
    text-decoration: underline;
}
.opsf-be-table-filter-form .opsf-be-form-element .opsf-be-input {
    min-width: 100%;
}
.opsf-attachment-fields .opsf-attachment {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.opsf-attachment-fields .opsf-attachment .opsf-remove-attachment {
    margin-left: 10px;
    padding: 6px 14px;
}
.statistics-wrap {
    display: flex;
    flex-wrap: wrap;
}
.statistics-wrap .statistics-grid-block {
    width: 49%;
}
.statistics-wrap .statistics-grid-block:first-child {
    margin-right: 2%;
}
.statistics-wrap .statistics-grid-block .statistics-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.statistics-wrap .statistics-grid-block .statistics-block .statistics-item {
    width: 48%;
}
.statistics-wrap .statistics-grid-block .statistics-block .statistics-item:first-child {
    margin-right: 4%;
}
.statistics-wrap .statistics-grid-block .statistics-block .statistics-item h5 {
    margin: 0;
    padding: 20px;
    background: #ffffff;
    font-size: 18px;
    border-left: 5px solid #d7d7d7;
    color: #777777;
}
.statistics-wrap .statistics-grid-block .statistics-block .statistics-item h5 span {
    float: right;
    font-size: 24px;
    font-weight: bold;
    color: #333333;
}
.statistics-wrap .statistics-grid-block .statistics-content {
    margin-top: 30px;
}
.statistics-wrap .statistics-grid-block .chart-element {
    padding: 20px;
    background: #ffffff;
}
.opsf-form-field-container {
    display: flex;
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 15px 0;
    border-bottom: 3px solid #ddd;
}
.opsf-form-field-action {
    width: 40px;
    min-width: 40px;
}
.opsf-form-field-element {
    flex: 1;
}
.opsf-form-field-container .opsf-form-field-element {
    padding-left: 20px;
}
.opsf-form-field-container .opsf-form-field-action .opsf-be-delete-field {
    display: flex;
    padding: 9px;
    align-items: center;
    justify-content: center;
}

.opsf-be-builder-section {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    padding: 15px;
    background-color: #fff;
    position: relative;
}

.opsf-be-section-move {
    cursor: move;
    display: flex;
    justify-content: space-between;
}

.opsf-be-form-element {
    margin-bottom: 15px;
}

.opsf-be-add-description {
    display: none;
}

.opsf-be-drag-drop-box {
    border: 1px dashed #ddd;
    padding: 10px;
    text-align: center;
    background-color: #f9f9f9;
    margin-bottom: 15px;
}
.opsf-be-drag-drop-box:last-child {
    margin-bottom: 0;
}

.opsf-be-builder-item .opsf-be-icon-bg {
    margin-right: 10px;
    vertical-align: middle;
}

.opsf-be-delete-section {
    margin-left: auto;
    background-color: red;
    color: white;
    border: none;
}

.opsf-be-delete-field {
    background-color: red;
    color: white;
    border: none;
}
.opsf-be-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.opsf-be-delete-option {
    margin-left: 10px !important;
    /* background-color: red !important;
    color: white !important;
    border: none !important; */
    padding: 6px 15px !important;
}
.opsf-condition, .opsf-linked-form {
    border-bottom: 1px solid #ddd;
    margin: 0 0 15px;
    padding: 15px;
    background: #f6f6f6;
    box-shadow: 0px 1px 4px #d4d4d4;
}
.opsf-condition .opsf-be-input {
    margin: 15px 0px;
}
.opsf-condition .opsf-be-input:first-child {
    margin-top: 0;
}
.opsf-condition .opsf-be-input.delay-input {
    width: 140px;
    min-width: 140px;
}
.opsf-be-form-element .button.add-option {
    display: inline-flex;
    align-items: center;
}
.opsf-be-form-element .button.add-option .dashicons-plus {
    font-size: 15px;
    width: auto;
    height: auto;
    padding-top: 2px;
    line-height: 11px;
    margin-right: 2px;
}
.opsf-form-wrap textarea {
    width: 70%;
    min-width: 300px;
}
.opsf-form-wrap .form-table td:last-child {
    padding-right: 0;
}
select.opsf-be-input.opsf-be-select-box {
    margin-bottom: 15px;
}
.opsf-form-wrap.opsf-popup-form {
    margin-top: 20px;
}
.opsf-be-builder-upload-file {
    display: flex;
    width: 100%;
    align-items: center;
}
.opsf-be-builder-upload-file #upload-form-image {
    margin-right: 15px;
}
.opsf-be-builder-upload-file #form-image-preview img {
    margin-top: 0 !important;
}
.opsf-be-customer-info ul li .opsf-be-customer-info-value a {
    text-decoration: none;
}

.placeholder-label span{
    font-weight: 700;
}

/* Start Swttings CSS */
.opsf-be-settings-setup form {
    margin-top: 20px;
}

.opsf-be-forms-popup-notice {
    margin: auto !important;
    margin-top: 10px !important;
}
.opsf-be-title-section h1{
    padding: 0;
}


/*-- Start Responsive --*/
@media screen and (max-width: 991px) {
    .opsf-be-builder-content-menu {
        width: 200px;
    }
    .opsf-be-builder-content-wrap {
        width: calc(100% - 240px);
    }
    .opsf-be-settings-block {
        width: 50%;
    }
    .opsf-be-table-filter-form .opsf-be-form-element button {
        line-height: 1;
    }
    .opsf-be-table-action-block .opsf-be-table-action-button {
        line-height: 2.3 !important;
        min-height: 36px !important;
    }
    .opsf-be-table-filter-form .opsf-be-form-element {
        width: 32%;
    }
}
@media screen and (max-width: 767px) {
    .opsf-be-table-action-block {
        right: 25px;
    }
    .opsf-be-builder-content-menu {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 15px;
        position: relative;
        top: 0;
    }
    .opsf-be-builder-content-menu .opsf-be-builder-item {
        margin-top: 0;
        width: 100%;
        margin-bottom: 10px;
    }
    .opsf-be-builder-content-wrap {
        width: 100%;
    }
    .opsf-be-title-section {
        flex-wrap: wrap;
    }
    .opsf-be-title-section .opsf-be-title-button-section {
        margin-left: 0;
        margin-top: 10px;
    }
    .opsf-be-title-section h1 {
        width: 100%;
    }
    .opsf-be-settings-setup .opsf-be-form-element {
        flex-wrap: wrap;
    }
    .opsf-be-settings-setup .opsf-be-form-element .opsf-be-label {
        margin-bottom: 10px;
        width: 100%;
        padding-right: 0;
    }
    .opsf-be-settings-block {
        width: 100%;
    }
    .opsf-be-table-filter-form .opsf-be-form-element {
        margin-bottom: 15px;
        width: 100%;
        margin-right: 0;
    }
    .opsf-be-table-filter-form .opsf-be-form-element:last-child {
        margin-bottom: 0;
    }
    .opsf-be-table-title {
        font-size: 16px;
    }
    .opsf-be-table-customer-name {
        font-size: 16px;
    }
    .opsf-be-customer-info ul li {
        padding-right: 0;
        width: 100%;
        margin-bottom: 10px;
    }
    .opsf-be-customer-info ul li:last-child {
        margin-bottom: 0px;
    }
    .opsf-be-customer-info ul li .opsf-be-customer-info-label {
        margin-right: 5px;
        display: none;
    }
}

