.postbox .inside .number-field {
    margin-top: 10px;
}

.postbox .inside .textbox {
    display: flex;
    margin-top: 10px;
}

#titlediv #title-prompt-text {
    color: #646970;
    position: absolute;
    font-size: 1.7em;
    padding: 10px;
    pointer-events: none;
}

#titlediv #title {
    padding: 3px 8px;
    font-size: 1.7em;
    line-height: 100%;
    height: 1.7em;
    width: 100%;
    outline: 0;
    margin: 0 0 3px;
    background-color: #fff;
}

#custom-editor {
    box-shadow: 0 0 0 transparent;
    border-radius: 4px;
    border: 1px solid #8c8f94;
    background-color: #fff;
    color: #2c3338;
}

.postbox {
    position: relative;
    min-width: 255px;
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    background: #fff;
}

.postbox,
.stuffbox {
    margin-bottom: 20px;
    padding: 0;
    line-height: 1;
}

#custom-editor {
    box-shadow: 0 0 0 transparent;
    border-radius: 4px;
    padding: 20px 20px;
    border: 1px solid #8c8f94;
    background-color: #fff;
    color: #2c3338;
}

.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.active,
.accordion:hover {
    background-color: #ccc;
}

.panel {
    padding: 0 18px;
    display: none;
    background-color: white;
    overflow: hidden;
}

/* .wp-core-ui .button-primary {
    background: #213ec2;

    border-color: #a7afd4;
    color: #fff4f4;
    padding: 0 18px;
} */
/* .striped1>tbody>:nth-child(odd), ul.striped>:nth-child(odd) {
    background-color: #73efef;
} */
th.sortable a,
th.sorted a {
    display: block;
    overflow: hidden;
    padding: 12px;
}


.search-section {
    max-height: 50vh;
    /* overflow-y: auto; */
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 4px;
}

#search-input {
    width: 100%;
}

#search-input::placeholder {
    font-size: 12px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    gap: 50px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.btn {
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    vertical-align: middle;
}

.btn-blue {
    background-color: #008CBA;
}

.btn-green {
    background-color: #3858e9;
}

.btn-red {
    background-color: #f44336;
}

.btn-gray {
    background-color: #e7e7e7;
    color: #000000;
}

.btn-black {
    background-color: #555555;
}

.btn-s10 {
    font-size: 10px;
}

.btn-s12 {
    font-size: 12px;
}

.btn-s14 {
    font-size: 14px;
}

.btn-s16 {
    font-size: 16px;
}

.btn-s20 {
    font-size: 20px;
}

.btn-s24 {
    font-size: 24px;
}

.btn-10p24 {
    padding: 10px 24px;
}

.btn-12p28 {
    padding: 12px 28px;
}

.btn-b2 {
    border-radius: 2px;
}

.btn-b4 {
    border-radius: 4px;
}

.btn-b6 {
    border-radius: 6px;
}

.btn-b8 {
    border-radius: 8px;
}

.btn-b10 {
    border-radius: 10px;
}

.btn-b12 {
    border-radius: 12px;
}

.btn-bdr-green {
    background-color: white;
    color: black;
    border: 2px solid #4CAF50;
}

.btn-bdr-blue {
    background-color: white;
    color: black;
    border: 2px solid #008CBA;
}

.btn-bdr-red {
    background-color: white;
    color: black;
    border: 2px solid #f44336;
}

.btn-bdr-gray {
    background-color: white;
    color: black;
    border: 2px solid #e7e7e7;
}

.btn-bdr-black {
    background-color: white;
    color: black;
    border: 2px solid #555555;
}

.btn-block {
    width: 100%;
}

/* Container */
.flex-container {
    display: flex;
    flex-wrap: nowrap;
}

.card {
    margin: 2px;
    padding: 10px;
    border: 1px solid #ddd;
}

.card .card-header {
    cursor: pointer;
}

#sm-followup-email.contentt {
    margin: 1rem;
}

.placeholder-item {
    padding: 4px 16px;
    margin-bottom: 5px;
    border: 1px solid #bbb;
    background-color: #f7f7f7;
    border-radius: 5px;
    cursor: grab !important;
    width: fit-content;
    transition: background-color 0.3s ease, font-weight 0.3s ease;
}

.placeholder-item:hover {
    /* background-color: #135e96; */
    font-weight: 600;
    background-color: #f0f0f0;
    cursor: grab;
    animation: all 0.3s ease;
}

#custom-editor {
    border: 2px dashed #ddd;
    margin-top: 20px;
    padding: 10px;
}

.drop-box {
    border: 2px dashed #ddd;
    margin-top: 20px;
    padding: 10px;
}

.placeholder-item:hover {
    background-color: #f0f0f0;
    /* Change the background color on hover */
    cursor: pointer;
    /* Change the cursor to a pointer on hover */
}

.btn-block {
    width: 15%;
    border-radius: 5px;
    margin-top: 20px;

}

#textbox1 {
    margin-left: 6px;
}

#event_dropdown {
    margin: 0;
    min-width: 180px;
}

/* td {
    font-family: inherit;
    font-size: 13px;
    font-weight: bolder;
    line-height: inherit;
    text-align: left;
} */
.card:hover {
    /* background-color: #f0f0f0;  */
    cursor: pointer;
}

.email-log {
    margin: 20px;
}

#log_table {
    width: 100%;
    border-collapse: collapse;
}

#log_table th,
#log_table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

#log_table th {
    background-color: #428bca;
    color: #fff;


}

#log_table tbody tr:nth-child(even) {
    background-color: #f5f9fc;
    /* Alternate row color */
}

#log_table tbody tr:nth-child(odd) {
    background-color: #fff;
    /* Odd row color */
}

#log_table tbody tr:hover {
    background-color: #d8e7f3;
    /* Hover color */
}

.text1 {
    font-size: 23px;
    font-weight: 400;
}

.status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    margin: 10px;
    /* Add margin to all sides */
    margin-left: 20px;
    margin-right: -51px;
    width: 80px;
    /* Adjust the width as needed */
    border: 1px solid #000;
    /* Add black border */
}

.status-pending {
    background-color: #FFD700;
    /* Yellow */
    color: #000;
    /* Black text for better contrast */
}

.status-completed {
    background-color: #32CD32;
    /* Green */
    color: #fff;
    /* White text for better contrast */
}

.status-failed {
    background-color: #e48585;
    /* Red */
    color: #fff;
    /* White text for better contrast */
}

table.dataTable {
    border-collapse: collapse;
    width: 100%;
    clear: both;
    margin-top: 6px;
    margin-bottom: 6px;
    display: table;
}

table.dataTable thead th,
table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #111;
}

#custom_editor_meta .handle-actions,
#second_metabox_id .handle-actions,
#custom_metabox_id .handle-actions,
#submitdiv .handle-actions {
    display: none;

}

.postbox-header .hndle {
    cursor: not-allowed;
}

#snackbar_error_show .div.error {
    border-left-color: #32CD32
}

.dataTables_wrapper .dataTables_filter {
    margin-bottom: 20px;
    position: relative;
}

.dataTables_wrapper .dataTables_filter input {
    padding-left: 30px;
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="gray" viewBox="0 0 24 24"><path d="M10 2a8 8 0 0 1 5.297 13.902l4.8 4.8a1 1 0 0 1-1.414 1.414l-4.8-4.8A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z"></path></svg>') no-repeat 10px center;
    background-size: 16px;
}

.dataTables_wrapper .dataTables_filter input::placeholder {
    color: gray;
}

/* .dataTables_wrapper .dt-search {
        margin-bottom: 20px;
        position: relative;
    }

    .dataTables_wrapper .dt-search input {
        padding-left: 30px;
        background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="gray" viewBox="0 0 24 24"><path d="M10 2a8 8 0 0 1 5.297 13.902l4.8 4.8a1 1 0 0 1-1.414 1.414l-4.8-4.8A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z"></path></svg>') no-repeat 10px center;
        background-size: 16px;
    }

    .dataTables_wrapper .dt-search input::placeholder {
        color: gray;
    } */
.dataTables_wrapper .dataTables_length select {
    width: 50px;
    padding: 5px;
}

#log_table thead th {
    font-weight: bold;
    color: black;
    background-color: transparent;
    /* Remove background color */
}

.status-log-success {
    color: #28a745;
    /* Green color for success */
    background-color: transparent;
    /* Remove background color */
}

.status-log-failed {
    color: #dc3545;
    /* Red color for failure */
    background-color: transparent;
    /* Remove background color */
}


.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
    margin-left: 10px;
    /* Adjust to move the switch slightly to the right */
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider.round {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.switch input:checked+.slider {
    background-color: green;
}

.switch input:checked+.slider:before {
    transform: translateX(14px);
}

.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.autostatusswitch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.autostatusswitch .slider.round {
    border-radius: 34px;
}

.autostatusswitch .slider.round:before {
    border-radius: 50%;
}

.autostatusswitch .slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

.postbox-header {
    background-color: #fff;
    padding: 8px;
    border: 1px solid #e5e5e5;
}

.autostatusswitch input:checked+.slider {
    background-color: #4CAF50;
}

.event-trigger {
    display: flex;
    justify-content: space-between;
}

.autostatusswitch input:checked+.slider:before {
    transform: translateX(14px);
}

.autostatusswitch {
    float: right;
    margin-right: 10px;
}

.card-body {
    margin-top: 12px;
    overflow: hidden;
}

#trigger_number {
    width: 80px;
    caret-color: transparent;
}

#trigger_dropdown {
    margin-left: 10px;
    width: 150px;
}

#test-email {
    margin: 1rem;
}

.snackbar {
    position: fixed;
    top: 50px;
    right: -20px;
    width: 350px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    color: #000;
    background-color: #fff;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
    box-sizing: border-box;

}

.snackbar.show {
    opacity: 1;
    transform: translateY(0);
}

.snackbar-divider {
    width: 6px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 8px 0 0 8px;
}

.snackbar-status {

    font-weight: bold;
    font-size: 15px;
    margin-bottom: 4px;
    color: #333;

}

.snackbar-message {
    margin-top: 6px;
    font-size: 15px;
    color: #555;
}

.snackbar.success .snackbar-divider {
    background-color: #4caf50;
    /* Green for success */
}

.snackbar.warning .snackbar-divider {
    background-color: #ff9800;

    /* Yellow for warning */
}

/*EDITOR*/

body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

.content {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 660px;
    height: 600px;
    padding: 20px;
    /* background-color: */
}

#html-output {
    white-space: pre-wrap;
    width: 635px;
    height: 350px;
}

#editor {
    /* width:40em; */
    font-family: sans-serif;
}


.custom-input {
    width: calc(100% - 90px);
    padding: 2px 8px;
    margin-top: 10px;
    margin-left: 30px;
    margin-bottom: 1rem;
    box-sizing: border-box;
}



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

.custom-dropdown {
    width: calc(100% - 650px);
    padding: 5px 8px;
    margin-top: 12px;
    margin-left: 50px;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.inline-form {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
}

.inline-forms {
    display: flex;

    align-items: center;
    margin-top: 2rem !important;

}

.inline-forms label {
    color: #555;
    font-weight: bold;
    font-size: 14px;
    min-width: 60px;
}

.inline-forms input {
    padding: 2px 8px;
    margin: 0;
}

.inline-form label {
    color: #555;
    font-weight: bold;
    font-size: 14px;
    min-width: 60px;
}

.inline-form select,
.inline-form input {
    padding: 2px 8px;
    margin: 0;
}

.test-input {
    width: calc(100% - 400px);
    padding: 2px 8px;
    margin-top: 10px;
    margin-left: 30px;
    margin-bottom: 1rem;
    box-sizing: border-box;
}


/* .testemail-label {
        font-weight: bold;
        color: #000;
        margin-top: 12px;
        margin-left: 30px;
        font-size: 14px;
        display: block;
    } */


#placeholders-container {
    max-height: 240px;
    padding: 0rem 0;
    overflow-y: auto;
}

.no-data {
    margin-top: 10px;
    color: #666;
    text-align: center;
    font-style: italic;
}

#visual-editor .tox-promotion {
    display: none !important;
}

#visual-editor .tox-tinymce {
    border: 1px solid #8c8f94 !important;
    margin-top: 2rem;
    border-radius: 5px;
}

.tox-dialog {
    left: 5%;
}

.widefat {
    border-spacing: 0;
    width: 110%;
    clear: both;
    margin: 0;
}

.column-event_column {
    text-align-last: center;
}

.testemail-labelxx {

    margin-right: 4px;
}

.column-trigger_column {
    text-align-last: center;
}

.column-post_status_custom {
    text-align-last: center;
}

table.fixed {

    table-layout: fixed;
    width: 100%;
}

/* Ensure number input arrows are always visible in WebKit browsers (Chrome, Safari, Edge) */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1 !important;
    display: block !important;
}

/* Ensure number input arrows are always visible in Firefox */
input[type="number"] {
    appearance: auto !important;
}

.column-status {
    border: none;
}

.frm_insert_form {
    display: none !important;
}

.nf-insert-form {
    display: none !important;
}

.status.column-status:contains("Failed") {
    color: red;
}

.status.column-status:contains("Success") {
    color: green;
}

.column-status {
    margin-left: -19px;
    /* margin-bottom: 6px; */
    margin-top: 0px;
}

.column-event {
   
}
.column-user_email{
    text-align-last: center;
}
.column-id{
   width: 5%;
}
.column-user_email {
   text-align-last:left;
}
.wpforms-insert-form-button{
    display: none !important;
}
