/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

 .dt-button{
    height: auto;
    width: 10%;
    padding: 10px;
    margin: 10px;
    background-color: #D0D3D4 !important;
    color: black !important;
}
.cf7anyapi_bulk_log_delete{
    margin-left: 4px;
    padding: 4px 8px;
    text-decoration: none;
    border: 1px solid #2271b1;
    border-radius: 2px;
    text-shadow: none;
    font-weight: 600;
    font-size: 13px;
    line-height: normal;
    color: #2271b1;
    background: #f6f7f7;
    cursor: pointer;
}

.cf7anyapi_bulk_log_delete:hover{
    background: #f0f0f1;
    border-color: #0a4b78;
    color: #0a4b78;
}
.post-type-cf7_to_any_api .cf7anyapi_documentation{
    background: #fff;
    padding: 50px;
}
.post-type-cf7_to_any_api .cf7anyapi_full_width{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.post-type-cf7_to_any_api .cf7anyapi_full_width code{
    width: 100%;
    display: grid;
    margin-bottom: 10px;
}
.post-type-cf7_to_any_api #cf7anyapi-setting h2.hndle.ui-sortable-handle{
    font-size: 16px !important;
}
.post-type-cf7_to_any_api .cf7anyapi_wrap{
    margin: 0;
    padding: 20px 11px;
    background: rgb(24 155 155 / 5%);
}
.post-type-cf7_to_any_api .cf7anyapi_field{
    display: flex;
    flex-direction: column;
    position: relative;
}
.post-type-cf7_to_any_api .cf7anyapi_field input,
.post-type-cf7_to_any_api .cf7anyapi_field select,
.post-type-cf7_to_any_api .cf7anyapi_field textarea{
    height: 40px;
    border-color: rgb(0 0 0 / 15%);
}
.post-type-cf7_to_any_api .cf7anyapi_full_width textarea#cf7anyapi_json_format{
    display: flex;
    width: 100%;
    min-height: 150px;
    box-shadow: 0px 6px 10px rgb(0 0 0 / 20%);
}
.post-type-cf7_to_any_api .cf7anyapi_field label,
.post-type-cf7_to_any_api .cf7anyapi_full_width label{
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-bottom: 10px;
}
.post-type-cf7_to_any_api #poststuff .inside{
    margin: 0;
    padding: 0;
}
.post-type-cf7_to_any_api div#cf7anyapi-form-fields{
    font-size: 14px;
    margin: 0;    
    line-height: 1.4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 8px 0px;
    column-gap: 30px;
}

.post-type-cf7_to_any_api select:focus,
.wp-core-ui input:focus{
    box-shadow: none !important;
}

.cf7anyapi-form-mapping-fields{
    padding: 20px 0px;
}

.cf7anyapi_documentation h2{ font-size: 28px; }
.cf7anyapi_documentation p, .cf7anyapi_documentation code{ font-size: 16px; line-height: 1; }


/*CF7 Entries CSS*/
.cf7_to_any_api_page_cf7anyapi_entries #wpwrap{
    background-color: #F0F0F1 !important;
}
.cf7toanyapi_entries{
    margin-top: 20px;
}
.cf7toanyapi_select_form{
    font-weight: 600;
    font-size: 18px;
    margin: 10px 10px 10px 0;
    vertical-align: middle;
}
h3.cf7toanyapi_data_not_found {
    font-size: medium;
    margin-top: 20px;
}
.cf7toanyapi_forms{
    background-color: #fff !important;
    background-image: none !important;
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    box-shadow: 0 1px 1px rgb(0 0 0 / 8%) inset !important;
    color: #555 !important;
    font-size: 14px !important;
    height: 34px !important;
    line-height: 1.42857 !important;
    margin: 0 !important;
    padding: 6px 12px !important;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s !important;
    width: 200px !important;
}
.cf_entries .buttons-csv, .cf_entries .buttons-excel, .cf_entries .buttons-pdf, .cf_entries .buttons-print, .cf7toanyapi-btn-delete{
    border: 1px solid #189b9b;
    background-color: #189b9b !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 7px 12px;
    margin: 0 5px;
    cursor: pointer;
    width: auto;
}
.cf_entries .dataTables_length, .cf_entries .dataTables_info{
    display: inline-block;
    margin: 15px;
    padding: 0 !important;
}
.cf_entries .dataTables_length label{
    word-spacing: 5px;
}
.cf_entries .dataTables_filter, .cf_entries .dataTables_paginate{
    display: flex;
    float: right;
    margin: 15px !important;
}
.cf_entries .cf7toanyapi_table{
    border: 1px solid #c3c4c7;
    background: #fff;
    box-shadow: 0 1px 1px rgb(0 0 0 / 4%);
    width: 100%;
    overflow-x: scroll;
}
.cf_entries .cf7toanyapi_table thead{
    border: 1px solid #c3c4c7 !important;
}
.cf_entries .cf7toanyapi_table tr, .cf_entries .cf7toanyapi_table th, .cf_entries .cf7toanyapi_table td{font-size: 15px;}

.cf7toanyapi_table_wrap {display: flex; align-items: center;}
.cf7toanyapi_table_wrap .dt-buttons{width: 80%;}

.cf7anyapi-bottom-image {
    margin-top: 50px;
    padding: 0 20px 20px;
}
.cf7anyapi-bottom-image img {
    width: 100%;
}
.cf7anyapi-right-image {
    position: absolute;
    right: -297px;
    bottom: 0;
    top: 166px;
    display: flex;
    flex-direction: column;
}
.cf7anyapi-right-image img {
    width: 271px;
    object-fit: contain;
    background: aqua;
    margin-bottom: 11px;
    height: auto;
}
.dataTables_info .select-info{display: none;}
/*CF7 Entries CSS*/

/* CF7 documentation CSS */
.cf7_to_any_api_page_cf7anyapi_docs .contact_us {
    margin: 12px;
}

.cf7_to_any_api_page_cf7anyapi_docs .cf7anyapi_doc, .cf7_to_any_api_page_cf7anyapi_docs .cf7anyapi_doc p{
    font-size:14px;
}  

.cf7_to_any_api_page_cf7anyapi_docs .row{
    margin: 15px 0 0 0;
    border: 1px solid #e0e0e0;
}
.cf7_to_any_api_page_cf7anyapi_docs .column-tab-nav.tab{
    border: 1px solid #e0e0e0;
    padding: 0px;
}
.cf7_to_any_api_page_cf7anyapi_docs .col-3.image{
    padding-left: inherit;
    padding-right: inherit;
}
.cf7_to_any_api_page_cf7anyapi_docs .contact_us.contact_image{
    margin: 0px;
}
.cf7_to_any_api_page_cf7anyapi_docs .contact_us.contact_image {
    width: 100%;
}
.cf7_to_any_api_page_cf7anyapi_docs .cf7anyapi_full_width pre { margin:15px 15px; }
.cf7_to_any_api_page_cf7anyapi_docs .cf7anyapi_full_width ol li{margin-bottom:15px;  }

.cf7-any-api-modal {
    position: fixed;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 100000;
    display: none;
    background: rgba(0,0,0,.8);
}
.cf7-any-api-modal .cf7-any-api-modal-dialog {
    background: transparent;
    position: absolute;
    z-index: 100001;
    width: 596px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.cf7-any-api-modal .cf7-any-api-modal-header {
    border-bottom: #eee solid 1px;
    background: #fbfbfb;
    padding: 15px 20px;
    position: relative;
    margin-bottom: -10px;
}
.cf7-any-api-modal .cf7-any-api-modal-body, .cf7-any-api-modal .cf7-any-api-modal-footer {
    border: 0;
    background: #fefefe;
    padding: 20px;
}
.cf7-any-api-modal textarea {
    display: block;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 100px;
}
.cf7-any-api-modal .cf7-any-api-modal-header h4 {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 1.2em;
    font-weight: bold;
    color: #515962;
    text-shadow: 1px 1px 1px #fff;
    letter-spacing: .6px;
    -webkit-font-smoothing: antialiased;
}
.cf7-any-api-modal h3 {
    margin-top: 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: #515962;
}
.cf7-any-api-modal h3 strong {
    font-weight: 700;
}
.cf7-any-api-modal-footer {
    border-top: #eee solid 1px !important;
    text-align: right;
}
.cf7-any-api-modal .reason input[type="email"] {
    margin-top: 8px;
    width: 100%;
}
ul#cf7-any-api-list li{
    margin-bottom: 10px;
}
ul#cf7-any-api-list li label span {
    font-size: 13px;
    color: #515962;
}

ul#cf7-any-api-list li.reason.email span,
ul#cf7-any-api-list li.reason.feedback span{
    font-weight: 700;
    margin-right: 32px;
}
ul#cf7-any-api-list li.reason.email {
    margin-top: 20px;
}
ul#cf7-any-api-list {
    margin-bottom: 13px;
}

.cf7anyapi_activate_license_error{
    color: red;
    font-size: 18px;
    font-weight: 600;
}

.loader_wrap {
    position: relative;
    display: flex;
    align-items: center;
}
img.cf7anyapi_activate_license_loader {
    max-width: 30px;
    margin-left: 15px;
}
.cf7anyapi_license_tbl{
    align-items: center;
}
.cf7anyapi_license_tbl .cf7anyapi_tbl_row .cf7anyapi_tbl_license_input input{
    width: 500px;
    height: 37px;
    margin-bottom: 10px; 
}

.cf7anyapi_license_tbl .cf7anyapi_tbl_row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    
}
.cf7anyapi_license_tbl .cf7anyapi_tbl_row .cf7anyapi_tbl_data{
    font-size: 15px;
    padding-right:10px ;
}

.cf7anyapi_full_width .label_with_beautify{
    display: flex;
    justify-content: space-between;
}

#json_beautify_click, #json_sample{
    color: #2271b1;
    margin-top: 5px;
    font-weight: 400;
}

.promo_banner_main {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}
.promp_banner {
    margin: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.promo_img {
    max-width: 600px;
    width: 100%;
    position: relative;
}
.promo_img span.close {
    position: absolute;
    top: -48px;
    right: -5px;
    opacity: 1;
    cursor: pointer;
}
.promo_img span.close svg {
    width: 50px;
    height: 50px;
}
.promo_img img {
    width: 100%;
}
#cf7anyapi_header_request{
    min-height: 134px;
    padding: 10px;
    border-color: rgb(0 0 0 / 15%);

}
#cf7anyapi-map-fields .cf7anyapi_map_field span {
    font-weight: 600;
    margin: 0px 4px;
}

#cf7anyapi-map-fields {
    margin: 0  0 15px 0;
}

#cf7anyapi_confing_add_setting {
    flex-wrap: wrap;
    flex-direction: row;
    gap:20px;
}
#cf7anyapi_confing_add_setting .cf7anyapi_field {
    width: calc(50% - 10px);
}
#cf7anyapi_confing_add_setting select{
    height: auto;
    min-height: 100px;
    max-height: 200px;
}
#cf7anyapi_confing_add_setting h3 {
    width: 100%;
    font-size: 24px;
    margin: 0em;
}
#cf7anyapi_json_format{
    line-height: 1.3;
}
.cf7_to_any_api_page_cf7anyapi_setting .form-table th{ width: 340px; }

.pro_feature_list, .pro_crm_list { list-style: disc;margin-left: 30px; }
p.pro_tab_description { font-size: 17px; line-height: 24px; }
.pro_tab_title { font-weight: bold; }
.get_pro_version { margin-top: 40px; }
.get_pro_version a{ font-size: 18px;background: #000;padding: 10px 20px;color:#fff;text-decoration: none;border-radius: 20px; }
.get_pro_version:hover a{ background:#172646;text-decoration: none;color:#fff; }

/* CF7 documentation CSS */
/* Popup CSS  */
.cf7_to_any_api_page_cf7anyapi_logs #the-list td.form_data.column-form_data {
    overflow: auto;
    display: block;
    height: 100%;
}
.cf7anyapi_logs td.log.column-log pre, .cf7anyapi_logs .column-form_data pre, .cf7anyapi_logs .column-api_sent_data pre {
    white-space: pre-wrap;
    margin: 0;  max-height: 180px;
    overflow: auto;
}

#cf7anyapi-log-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
    margin-top: 13px;
}

#cf7anyapi-log-popup .close-popup {
    cursor: pointer;
    position: sticky;
    top: 0;
    right: 0;
    left: 100%;
    background: #189b9b;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}
#cf7anyapi-log-popup .close-popup:hover {
    background: #189b9bba;
}
.cf7anyapi_logs span.view_more {
    color: #2271b1;
    font-weight: 500;
    cursor: pointer;
}
.cf7anyapi-log-content pre{
    white-space: pre-wrap;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

/* New Css */
.tab-pane pre {
    background: #eee;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}
.tab-pane ul {
    margin: 20px 0;
    padding-left: 40px;
}
.tab-pane ol ul, .tab-pane ul {
    list-style-type: circle;
    list-style-type: disclosure-closed;
}
.tab-pane ol li::marker {
    font-weight: bolder; 
}
.tab-pane ul li::marker {
    color: #015e8c; 
}
.tab-pane li {
    margin-bottom: 10px;
}
.tab-pane code {
    background: #f4f4f4;
    padding: 2px 4px;
    border-radius: 4px;
    color: #c7254e;
}
.tab-pane .tab-title {
    background: rgb(24 155 155 / 5%);
    border-bottom: 4px solid #189b9b;
    padding: 10px;
    margin: 20px 0;
    border-radius: 5px;
}
.cf7anyapi_doc .nav.nav-pills .nav-link {
    color: #189b9b;
    background-color: transparent;
    display: grid;
    align-items: center;
    grid-template-columns: 48px auto;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: inset 5px 0 0 0 transparent;
}
.cf7anyapi_doc .nav.nav-pills .nav-link:hover{
    background-color: #f6f7f7;
}
.cf7anyapi_doc .nav.nav-pills .nav-link:focus {
    box-shadow: none;
}

.cf7anyapi_doc .nav.nav-pills .nav-link.active {
    box-shadow: inset 5px 0 0 0 #189b9b;
    transition: box-shadow .1s linear;
    background-color: rgb(24 155 155 / 5%);
}
.tab-index {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    border: 1px solid #189b9b;
}
.tab-index:after { 
    font-weight: 700;
    justify-content: center;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}
.tab-index-1 .tab-index:after {
    content: "1";
}
.tab-index-2 .tab-index:after {
    content: "2";
}
.tab-index-3 .tab-index:after {
    content: "3";
}
.tab-index-4 .tab-index:after {
    content: "4";
}
.tab-index-5 .tab-index:after {
    content: "5";
}
.tab-index-6 .tab-index:after {
    content: "6";
}
.tab-index-7 .tab-index:after {
    content: "7";
}
.tab-index-8 .tab-index:after {
    content: "8";
}
.tab-index-9 .tab-index:after {
    content: "9";
}
.tab-index-10 .tab-index:after {
    content: "10";
}
.tab-index-11 .tab-index:after {
    content: "11";
}
.tab-index-12 .tab-index:after {
    content: "12";
}
.tab-pane h5 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
}
.tab-content a{
    color: #189b9b;
}
.tab-content a:focus, .tab-content a:hover{
    color: #189b9b;
    box-shadow: none;
    text-decoration: none;
}
.tab-pane .iframe-wrap {
    text-align: center;
    width: 90%;
    margin: 40px auto;
}
.tab-pane .iframe-wrap iframe, .tab-pane img{
    box-shadow: 0px 6px 10px #00000033;
    border-radius: 10px;
}
.get_pro_version-btn {
    margin-top: 40px;
}
.get_pro_version-btn a {
    font-size: 20px;
    font-weight: 700;
    background: #e5f1f8;
    color: #212529;
    border-bottom: 4px solid #189b9b;
    padding: 10px 30px;
    border-radius: 5px;
    text-decoration: none !important;
}
.get_pro_version-btn a:hover{
    color: #212529;
    box-shadow: none;
}
.get_pro_version-btn a:focus{
    box-shadow: none;
}
ul.pro_crm_list {
    column-count: 2;
}
/*Other plugins CSS Start*/
.our-plugin-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 40px;
}
.our-plugin-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: box-shadow 0.3s ease;
}
.our-plugin-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.our-plugin-icon img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #f8f8f8;
    padding: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.our-plugin-details {
    flex-grow: 1;
    padding: 0 20px;
}
.our-plugin-details h4 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
}
.our-plugin-details p {
    margin: 0 10px 10px 0;
    color: #555;
    font-size: 14px;
}
.our-plugin-badge {
    background-color: #189b9b;
    color: #e5f1f8;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 10px;
    margin-right: 10px;
    border: 1px solid transparent; /* adds same height as a */
}
.our-plugin-details a {
    display: inline-block;
    font-size: 12px;
    color: #189b9b;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid;
    padding: 4px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.our-plugin-list .our-plugin-card .our-plugin-details a:hover {
    color: #fff;
    background-color: #189b9b;
    border: 1px solid #189b9b;
}

/*settings*/
.cfs-box {   
    display: flex;
    width: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.1);
    background: #ffffff;
    position: relative;
    flex-direction: column;
}
.cf-settings-wrap .cfs-box .cf-head {
    display: flex;
    align-items: center;
    padding: 15px 15px 0;
}
.cf-settings-wrap .cfs-box .cf-head span {
    margin-right: 8px;
}
.cf-settings-wrap .cfs-box .cf-settings {
    padding: 0 15px 5px;
}
.cf-settings .cf7_to_any_api_setting_form input[type=checkbox]{
    height: 0;
    width: 0;
    visibility: hidden;
}

.cf-settings .cf7_to_any_api_setting_form label {
    cursor: pointer;
    text-indent: -9885px;
    width: 38px;
    height: 20px;
    background: #ccc;
    display: block;
    border-radius: 99px;
    position: relative;
    margin-right: 15px;
}

.cf-settings .cf7_to_any_api_setting_form label:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 4px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 90px;
    transition: 0.1s;
}

.cf-settings .cf7_to_any_api_setting_form input:checked + label {
    background: #189b9b;
}

.cf-settings .cf7_to_any_api_setting_form input:checked + label:after {
    left: calc(100% - 4px);
    transform: translateX(-100%);
}

.cf-settings .cf7_to_any_api_setting_form label:active:after {
    width: 16px;
}
.cf-settings .cf7_to_any_api_setting_form  .form-table td {
    display: flex;
    align-items: center;
}
.cf-settings .cf7_to_any_api_setting_form .form-table td{
    flex-direction: column;
    align-items: start;
}
.cf-settings .cf7_to_any_api_setting_form .form-table td.with-label {
    margin-bottom: 0px;
    padding-bottom: 10px;
}
.cf-settings .cf7_to_any_api_setting_form .form-table td.with-label small{
    margin-top: 5px;
}
.w-100{
    width: 100%;
}
.cf-settings .cfs-box .cf-head .title-wrapper{
    display: flex;
    align-items: center;
}
.cf-settings .cf-head .btn-wrap a {
    font-size: 18px;
    font-weight: 700;
    background: #e5f1f8;
    color: #212529;
    border-bottom: 4px solid #007cba;
    padding: 5px 20px;
    border-radius: 5px;
    text-decoration: none !important;
    margin-left: 15px;
}
.cf-tab-wrapper {
    margin-bottom: 15px;
    width: 100%;
}

/*System Status*/
.cf-sys-status .cfs-box .title-wrap {
    padding-right: 12px;
    padding-left: 12px;
}
.cf-sys-status .status-wrap table.status-table {
    margin-bottom: 6px;
    border: none;
    box-shadow: none;
    border-top: 1px solid #dcdcde;
}

.cf-sys-status .status-wrap table.status-table tr:nth-child(2n-1) td {
    background: #fcfcfc
}

.cf-sys-status .status-wrap table.status-table td:first-child {
    width: 33%
}

.cf-sys-status .status-wrap table.status-table td{
    font-size: 1.1em;
    font-weight: 400
}

.status-table td{
    padding: 8px 15px;
}
.cfs-box h3 img {
    margin-right: 8px;
    top: 3px;
    position: relative;
}
.cf7anyapi_log_button {
    display: inline;
}

/*Toggal button css*/
.cf7api-status-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  position: relative;
}

.cf7api-status-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cf7api-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 28px;
}

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

.cf7api-status-switch input:checked + .cf7api-slider {
  background-color: #189b9b;
}

.cf7api-status-switch input:checked + .cf7api-slider:before {
  transform: translateX(22px);
}

.cf7api-slider:before {
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.cf7api-status-switch img {
    width: 29px;
    z-index: 11;
    position: relative;
    right: -9px;
    top: -18px;
}
.post-type-cf7_to_any_api .cf7anyapi_field input::placeholder, .post-type-cf7_to_any_api .cf7anyapi_field select::placeholder, .post-type-cf7_to_any_api textarea::placeholder {
    opacity: 0.6;
}
/*json preview*/
.cf7anyapi-form-mapping-header {
display: flex
;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
    border-bottom: 1px solid rgb(0 0 0 / 15%);
    padding: 12px 20px;
}

.cf7anyapi-form-mapping-header span {
    cursor: pointer;
    font-size: 15px;
    background: #2271b1;
    color: #fff;
    padding: 8px 7px;
    border-radius: 4px;
}
.cf7anyapi-json-preview-modal {
    display: none; 
    position: fixed;
    inset: 0; 
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cf7anyapi-json-preview-modal-content {
    background: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    animation: slideIn 0.3s ease-in-out;
    position: relative;
    scrollbar-width: none;
}
.cf7anyapi-json-preview-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    font-weight: bold;
    color: #189b9b;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}
.cf7anyapi-json-preview-close:hover {
    color: #e63946;
}
#jsonPreviewOutput {
    background: rgb(24 155 155 / 5%);
    padding: 15px;
    border-radius: 8px;
    font-family: monospace, monospace;
    font-size: 14px;
    color: #333;
    word-wrap: break-word;
    border: 1px solid #ddd;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/*Predefine tags*/
.cf7anyapi-predefined-tags {
    padding: 20px 12px;
    border-top: 1px;
}

.cf7anyapi-predefined-tags label {
    font-size: 15px;
    font-weight: 500;
}

#cf7anyapi_predefined_tag_fields {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.cf7anyapi_wrap .cf7anyapi_remove_predefined_tag {
    width: 32px;
    position: absolute;
    bottom: 33px;
    height: 35px;
    border-radius: 0 5px 5px 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 0;
    padding: 0;
    right: 10px;
}
.cf7anyapi_wrap .cf7anyapi_remove_predefined_tag svg {
    max-width: 24px;
    max-height: 24px;
}

.cf7anyapi_step_1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.cf7anyapi_step_1 .right_col {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}
.cf7anyapi_wrap .bottom-button {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}
.cf7_to_any_api_setting_form .button.button-primary, 
.cf7anyapi_wrap .button.button-primary{
    min-height: 32px;
    line-height: 30px;
    padding: 2px 20px;
    background: #189b9b;
    border-color: #189b9b;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    outline: 0 !important;
    box-shadow: none !important; 
    transition: all 0.4s ease-in-out
}
.cf7anyapi_wrap .button.button-primary:hover, .cf7_to_any_api_setting_form .button.button-primary:hover {
    background: transparent;
    color: #189b9b;
}
.cf7anyapi_tooltip svg {
    max-width: 34px;
    width: 19px;
    height: 19px;
}
/* Multi Step  */
.cf7anyapi_step * {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    color: #adadad;
    text-decoration: none;
    font-weight: 500;
    padding: 0;
    text-transform: uppercase;
    outline: 0 !important;
    box-shadow: none !important;
}
.cf7anyapi_step {
    margin-bottom: 20px;
    justify-content: center;
    display: flex;
    position: relative;
}

.cf7anyapi_step ul {
    display: flex;
    gap: 25px;
    counter-reset: item;
}

.cf7anyapi_step ul li {
    counter-increment: item;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #adadad;
    padding: 6px;
    border-radius: 30px;
    padding-right: 15px;
    cursor: pointer;
}
.cf7anyapi_step ul li::before {
    content: counter(item);
    position: relative;
    left: 0;
    top: 0;
    color: #fff;
    width: 28px;
    height: 28px;
    background: #adadad;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    
    font-size: 13px;
}
.cf7anyapi_step li:hover *,
.cf7anyapi_step li.active a:focus,
.cf7anyapi_step li.active * {color: #189b9b;}

.cf7anyapi_step li:hover:before,
.cf7anyapi_step ul li.active::before{
    background: #189b9b;
}
.cf7anyapi_step li:hover,
.cf7anyapi_step li.active{
    border: 1px solid #189b9b;
}

.cf7anyapi_step .json-preview {
    position: absolute;
    right: 0;
    top: 0;
}
.cf7anyapi_tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
  font-weight: bold;
  color: #2271b1;
  border-radius: 50%;
  width: auto;
  height: 20px;
  line-height: 18px;
  text-align: center;
  font-size: 12px;
    margin-left: 6px;
    top: 2px;
}

/* Tooltip text (from data attribute) */
.cf7anyapi_tooltip::after {
  content: attr(data-cf7apitooltip);
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 30px; /* above the icon */
  left: 50%;
  transform: translateX(-50%);
  background: #189b9b;
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: normal;
  z-index: 999;
  transition: opacity 0.2s ease-in-out;
  width: 210px;
}

/* Small arrow */
.cf7anyapi_tooltip::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #189b9b transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out;
}

/* Show tooltip on hover */
.cf7anyapi_tooltip:hover::after,
.cf7anyapi_tooltip:hover::before {
  visibility: visible;
  opacity: 1;
}
.cf7anyapi_col2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;

}

select#cf7anyapi_predefined_tag_select {
    width: calc(100% - 105px);
    max-width: 100%;
}
.cf7anyapi_dynamic_tags {
    display: flex;
    justify-content: space-between;
}
.cf7anyapi_dynamic_tags button {
    min-width: 90px;
}

.cf7anyapi-form-mapping-fields .wrapper {
    background: #fff;
    padding: 0px;
    border: 1px solid rgb(0 0 0 / 15%);
}

.cf7anyapi-form-mapping-header .cf7anyapi_field {
    padding: 12px 20px;
}


.post-type-cf7_to_any_api div#cf7anyapi-form-fields .cf7anyapi_field {
    gap: 10px;
    display: grid;
    grid-template-columns: 40% 1fr;
    align-items: center;
    padding: 15px 20px;
}

.post-type-cf7_to_any_api #cf7anyapi-form-fields .cf7anyapi_field label {
    font-size: 14px;
    word-break: break-all;
    padding: 0;
}

.cf7anyapi-form-mapping-fields .wrapper input {
    border: 0;
    border-bottom: 1px solid #189b9b;
    border-radius: 0;
    background: #f3fafa;
}

.cf7anyapi_maping_label ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0px 20px;
    border-bottom: 1px solid rgb(0 0 0 / 15%);
    column-gap: 30px;
}

.cf7anyapi_maping_label ul li {
    gap: 10px;
    display: grid;
    grid-template-columns: 40% 1fr;
    align-items: center;
    margin: 0;
    width: 100%;
    border-right: 1px solid #e7e7e7;
}
.cf7anyapi_maping_label ul li:last-child {
    border-right: 0;
}

.cf7anyapi_maping_label ul * {
    font-size: 14px;
    color: #000;
}

.cf7anyapi_maping_label ul li * {
    font-weight: 600;
    color: #189b9b;
}

.cf7anyapi_maping_label ul li:nth-child(3n) {
    border-right: 0;
 
}
.cf7anyapi_wrap .button.button-white {
    background: #fff;
    color: #189b9b;
    border-color: #189b9b;
    padding: 2px 15px;
    font-size: 14px;
    line-height: 30px;
}
.cf7anyapi_wrap .button-primary { 
        padding: 2px 15px;
 }
.cf7anyapi_wrap .button.button-white:hover {
    color: #fff;
    background: #189b9b;
}
#jsonPreviewOutput pre {
    background: #fff !important;
    padding: 15px !important;
    border: 1px solid rgb(0 0 0 / 15%);
}

.cf7anyapi-json-preview-modal h2 {
    font-weight: 600 !important;
    padding: 0 0 15px !important;
    font-size: 16px !important;
    color: #189b9b !important;
}
.cf7anyapi_loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 9999;
    background: rgb(0 0 0 / 10%);
    height: 100%;
}
.cf7anyapi_loader img {
    display: inline-block;
    width: 50px;
    height: auto;
    top: 198px;
    position: relative;
}
.cf7anyapi_step_1 span.sample_header {
    position: absolute;
    bottom: 8px;
    right: 0;
    color: #189b9b;
    cursor: pointer;
    font-size: 14px;
}
.cf7anyapi_step_1 span.sample_header:hover{
    text-decoration: underline;    
}
.cf7anyapi_logs .status-success {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 5px;
    background: #dff6e3;
    color: #0a802c;
    font-weight: 600;
    font-size: 14px;
}
.cf7anyapi_logs .status-error {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 5px;
    background: #fdecea;
    color: #b82020;
    font-weight: 600;
    font-size: 14px;
}
.cf7anyapi_logs .status-unknown {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 5px;
    background: #d7d6d6;
    color: #555;
    font-style: italic;
    font-size: 14px;
}
.cf7anyapi_logs th#form_id, 
.cf7anyapi_logs th#post_id, 
.cf7anyapi_logs th#status, 
.cf7anyapi_logs th#created_date{
    width: 12%;
}
#cf7anyapi-log-popup .cf7anyapi-log-content pre {
    line-height: 1.5;
    font-size: 13px;
    margin-top: -15px;
}
#cf7anyapi-log-popup .cf7anyapi-log-content pre .key {
    color: #b3541e; 
}

#cf7anyapi-log-popup .cf7anyapi-log-content pre .string {
    color: #189b9b;
}

#cf7anyapi-log-popup .cf7anyapi-log-content pre .number {
    color: #005cc5; 
}

#cf7anyapi-log-popup .cf7anyapi-log-content pre .boolean {
    color: #6f42c1; 
}

#cf7anyapi-log-popup .cf7anyapi-log-content pre .null {
    color: #d73a49; 
}
.cf7anyapi-form-mapping-fields span.selected_form_empty {
    padding: 0 20px;
}

.update_pro_wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px 20px;
}

.update_pro_wrapper small.update_pro_features,
.update_pro_popup_wrapper small.update_pro_features {
    background: #f6f7f7;
    align-items: center;
    padding: 15px 20px 15px 53px;
    font-size: 14px;
    width: 100%;
    position: relative;
    color: #3c434a;
}
.update_pro_wrapper svg,
.update_pro_popup_wrapper svg {
    width: 22px;
    height: 22px;
    position: absolute;
    left: 18px;
    top: 14px;
    fill: #189b9b;
}
.update_pro_popup_wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
.cf7anyapi-notice-bar {
    background-color: #f3fafa;
    border-top: 3px solid #189b9b;
    color: #3a3a56;
    text-align: center;
    padding: 7px;
}
.cf7anyapi-notice-bar a {
    color: #1da867;
    font-weight: bold;
    text-decoration: none;
}
.cf7anyapi-notice-bar .cf7anyapi-close-btn {
    border: 0;
    background: transparent;
    right: -7px;
    position: relative;
    top: 1px;
    cursor: pointer;
}

.cf7anyapi-notice-bar .cf7anyapi-close-btn svg {
    width: 10px;
}

.cf7anyapi-conditional-logic {
    background: #fff;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid rgb(0 0 0 / 15%);
}
.cf7anyapi-condition-row select, .cf7anyapi-condition-row input {
    border: 1px solid #d9d9d9;
    border-radius: 0;
    padding: 3px 15px 4px;
}


.cf7anyapi-condition-row label {
    font-size: 14px;
    word-break: break-all;
    padding: 0;
    margin-bottom: 5px;
    font-weight: 500;
}

.cf7anyapi-condition-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.cf7anyapi-conditional-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;

}

.cf7anyapi-conditional-toggle .description {
    margin: 0;
}
@media screen and (max-width: 1600px){
    .post-type-cf7_to_any_api div#cf7anyapi-form-fields {
        grid-template-columns: 1fr 1fr;
    }

    .post-type-cf7_to_any_api div#cf7anyapi-form-fields .cf7anyapi_field {
        grid-template-columns: 30% 1fr;
    }

    .cf7anyapi_maping_label ul li {
        grid-template-columns: 30% 1fr;
    }
    .cf7anyapi_maping_label ul li:nth-child(3n) {
        border-right: 0;
        display: none;
    }
    .cf7anyapi_maping_label ul li:nth-child(2n) {
        border-right: 0;        
    }

}

@media screen and (max-width: 1400px){
    .cf7anyapi_maping_label ul li:nth-child(3n) {
        border-right: 0;
        display: none;
    }

    .post-type-cf7_to_any_api div#cf7anyapi-form-fields {
        grid-template-columns: 1fr 1fr;
    }
    .cf7anyapi_maping_label ul {
        column-gap: 15px;
        padding: 0px 15px;
    }

    .cf7anyapi_maping_label ul li {
        grid-template-columns: 40% 1fr;
    }

    .post-type-cf7_to_any_api div#cf7anyapi-form-fields .cf7anyapi_field {
        grid-template-columns: 40% 1fr;
    }
    .cf7anyapi_step .json-preview {
        position: relative;
        line-height: 35px !important;
        margin-left: 25px;
    }
    
}
@media screen and (max-width: 1300px){

}
@media screen and (max-width: 1199px){
    .cf7anyapi_maping_label ul li:nth-child(3n) {
        border-right: 0;
        display: none;
    }
    .post-type-cf7_to_any_api div#cf7anyapi-form-fields {
        grid-template-columns: 1fr;
    }
    .cf7anyapi_maping_label ul {
        column-gap: 15px;
        padding: 0px 15px;
    }
    .cf7anyapi_maping_label ul li {
        grid-template-columns: 40% 1fr;
    }
    .post-type-cf7_to_any_api div#cf7anyapi-form-fields .cf7anyapi_field {
        grid-template-columns: 40% 1fr;
        padding: 12px 0;
    }
    .cf7anyapi_maping_label ul li:nth-child(2n) {
        display: none;
        border: 0;
    }
    .cf7anyapi_maping_label ul li {
        border: 0;
    }
    .cf7anyapi_logs th#form_id, .cf7anyapi_logs th#post_id {
        width: auto;
    }
}


@media(min-width: 961px) {
    .cf7-any-api-modal {
        height: calc(100vh - 32px);
    }
}
@media screen and (max-width:782px){
    .post-type-cf7_to_any_api div#cf7anyapi-form-fields{
        grid-template-columns: 1fr;
    }
    .post-type-cf7_to_any_api div#cf7anyapi_admin{
        grid-template-columns: 1fr;
    }
}
