#frm_small_device_message_container {display:none}

#api-values-brx_box .istrueflasediv {
    display: none;
    text-align: left;
    width: 200px;
    margin: 10px auto 0 auto;
    font-size: 12px
}
.disabledtab {
    pointer-events: none !important;
}
.hideit {
    display: none;
}
.module_error td {
    color: red;
    font-weight: 500;
}

#api-values-brx_box .istrueflasediv input {
    float: left;
    margin-top: 1px
}

.inputerror {
    border: 1px solid red !important;
}

.api_success,
.api_error {
    margin: 20px 0px;
    background: #438543;
    color: white;
    width: fit-content;
    padding: 6px;
    display: none;
}

.api_error {
    background: #ff0000;
}

.ninjaform {
    background: white;
    padding: 15px 20px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    align-items: center;
    margin-bottom: 10px;
}

.field_wrap_custom {
    margin: 10px 0;
}

.field_wrap_custom {
    border: 2px dashed #e1e1e1;
    border-radius: 5px;
    background: #f5f6fa;
    padding: 5px 10px !important;
}

.field_wrap_custom h4 {
    padding: 10px 0 !important;
    margin: 5px 0;
    font-size: 16px;
    cursor: pointer;
}

.field_wrap_custom .form-table tr td select {
    width: 100%;
}

.field_wrap_custom .form-table thead tr th {
    font-size: 12px;
}

.field_wrap_custom .form-table thead tr th:first-child {
    padding: 10px 10px 0 0;
}

.field_wrap_custom .form-table thead tr th:nth-child(2) {
    padding: 10px 0 0 10px;
}

.field_wrap_custom .form-table tr td:first-child {
    padding: 10px 10px 10px 0;
}

.field_wrap_custom .form-table tr td:nth-child(2) {
    padding: 10px 0 10px 10px;
}

.field_wrap_custom .form-table tr td:first-child select {
    pointer-events: none;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: #e9ebf1;
    border: none;
    padding: 0 10px;
    font-size: 16px;
    background-image: none;
}

.field_wrap_custom tr.save_action input[type="submit"] {
    width: 100%;
    background: #0090d7 !important;
    border: 1px solid #0090d7 !important;
}

.field_wrap_custom tr.save_action input[type="submit"]:hover {
    background: #005d8b !important;
    border: 1px solid #005d8b !important;
}

.hide_show {
    display: none !important;
}

.mywrap table input {
    width: 500px;
}

.toplevel_page_brainformatik_crm_connector .wp-first-item {
    /* display: none;
    */
}

.success_message {
    max-width: 500px;
    background: #D5F2DC;
    margin-top: 18px;
    padding: 10px;
    border-radius: 10px;
    display: none;
    color: #1E561F;
    line-height: 20px !important;
}

.success_message img {
    width: 20px;
    height: 20px;
    float: left;
    margin-right: 5px
}

.container {
    display: flex;
    gap: 20px;
    height: calc(100vh - 330px);
}

.brx_box {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    width: 380px;
    min-height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: #ffffff;
}

.brx_box h3 {
    background: #fff;
    position: sticky;
    top: -15px;
    margin-left: -15px !important;
    width: 100%;
    display: block;
    margin: 0;
    z-index: 99;
    padding: 15px;
}

.brx_box.fields_mapping_for_api .wrap {
    margin: 0 !important
}

.brx_box .wrapper {
    position: relative;
}

.brx_box .wrapper p {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    font-size: 14px;
}

.brx_box .save_button {
    position: sticky;
    bottom: -15px;
    padding: 10px 0;
    background: #fff
}

.brx_box .save_button button {
    width: 100%
}

/* .brx_box.form_fields {
     overflow: initial;
}
*/
.checkedlbl {
    background-color: #0090d7 !important;
    color: #fff !important;
    box-shadow: none !important;
}

.draggable-item {
    margin: 8px 0;
    padding: 10px 12px;
    background-color: #e6f3ff;
    border: 1px solid #a7cff3;
    border-radius: 4px;
    cursor: move;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #2c3e50;
    transition: all 0.2s;
}

.draggable-item:hover {
    background-color: #d3e5f6;
    transform: scale(1.05);
}

.ui-draggable-dragging {
    min-width: 150px;
    min-height: 30px;
    padding: 10px 12px;
    box-sizing: border-box;
}

.draggable-item.ui-draggable-dragging:hover {
    transform: scale(1.0);
}

.istrueflase {
    display: none;
}

.droppable {
    padding: 20px 10px 10px 10px;
    background-color: #f5f6fa;
    border: 2px dashed #e1e1e1;
    border-radius: 4px;
    text-align: center;
    margin: 10px 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.default_value,
.droppable.success {
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.droppable.error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.droppable.error input {
    border-color: red;
}

.droppable p {
    margin: 0;
    font-weight: 500;
    color: #7f8c8d;
}

.droppable .custom-value {
    margin-top: 10px;
    border: 1px solid #dfe6e9;
    border-radius: 4px;
    padding: 10px 10px;
    width: calc(100% - 20px);
    font-size: 0.9em;
    text-align: center;
    color: #2c3e50;
}

.remove-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.8em;
    cursor: pointer;
    margin-top: 0px;
    text-transform: uppercase;
}

.remove-btn:hover {
    background-color: #c0392b;
}

#form-selector {
    padding: 8px 12px;
    font-size: 1em;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    color: #2c3e50;
    cursor: pointer;
}

#get-mapping {
    background-color: #0090d7;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    text-transform: uppercase;
}

#get-mapping:hover {
    background-color: #005d8b;
}

table.forms_table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}

table.forms_table tr a {
    color: #0090d7;
    text-decoration: none;
    font-weight: bold;
}

table.forms_table tr a:hover {
    color: #005d8b;
}

table.forms_table th,
table.forms_table td {
    text-align: left;
    padding: 20px;
}

table.forms_table td:first-child {
    width: 50%;
}

table.forms_table td:nth-child(2) {
    width: 15%;
}

table.forms_table td:nth-child(3) {
    width: 20%;
}

table.forms_table td:nth-child(4) {
    width: 15%;
}

table.forms_table th {
    background-color: #ffffff;
    font-weight: bold;
}

table.forms_table tr:nth-child(even) {
    background-color: #ffffff;
}

table.forms_table tr:nth-child(odd) {
    background-color: #f6f7f7;
}

table.forms_table tr:last-child {
    border-bottom: 1px solid #ddd;
}

/* Modal Styles */
.brx_modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.brx_modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.brx_modal-content h3 {
    color: #e74c3c;
    margin: 0 0 10px 0;
}

.brx_modal-content p {
    font-size: 1em;
    margin: 0 0 20px 0;
}

.brx_modal-content button {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
}

.brx_modal-content button:hover {
    background-color: #c0392b;
}

.req {
    color: red;
}

.mytabclass {
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #0090d7;
    margin-right: 5px;
}

.mytabclass.active {
    background: #0090d7;
    color: #fff;
}

.switch-field {
    display: flex;
    overflow: hidden;
}

.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.switch-field label {
    background-color: #fff;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    line-height: 1;
    text-align: center;
    padding: 8px 16px;
    margin-right: 0;
    width: 70px;
    border: 1px solid #0090d7;
    transition: all 0.1s ease-in-out;
}

.switch-field label:hover {
    cursor: pointer;
}

.switch-field input:checked+label {
    background-color: #0090d7;
    color: #fff;
    box-shadow: none;
}

.switch-field label:first-of-type {
    border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
    border-radius: 0 4px 4px 0;
}

.select2-container .select2-selection--multiple {
    min-width: 500px;
}

.button-container {
    margin-bottom: 10px
}

.button-container button {
    border: 1px solid #0090d7;
    background: #0090d7;
    color: #fff;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px
}

.button-container button.remove {
    background: transparent;
    color: #0090d7;
}


.crm-api_page_brainformatikapi_logs table.form-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #4a4a4a;
    margin: 40px 0 20px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.crm-api_page_brainformatikapi_logs table.form-table thead {
    background-color: #0090d7;
    color: #fff;
    text-transform: uppercase;
}

.crm-api_page_brainformatikapi_logs table.form-table thead tr th {
    padding: 12px 15px;
    font-weight: 600;
    color: #fff;
}

.crm-api_page_brainformatikapi_logs table.form-table th,
.crm-api_page_brainformatikapi_logs table.form-table td {
    padding: 12px 20px;
    text-align: left;
    border: 1px solid #e1e1e1;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.crm-api_page_brainformatikapi_logs table.form-table tbody tr:nth-child(odd) {
    background-color: #f9fafb;
}

.crm-api_page_brainformatikapi_logs table.form-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}


.crm-api_page_brainformatikapi_logs table.form-table textarea {
    width: 100%;
    border-radius: 4px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.crm-api_page_brainformatikapi_logs table.form-table button {
    width: 100%;
    background: none;
    border: 1px solid #0090d7;
    border-radius: 4px;
    padding: 8px;
    color: #0090d7;
    margin-top: 5px;
}

.crm-api_page_brainformatikapi_logs table.form-table td,
.crm-api_page_brainformatikapi_logs table.form-table th {
    font-size: 14px;
    border-color: #e1e1e1;
}

.crm-api_page_brainformatikapi_logs table.form-table td {
    color: #555;
}


#wpfooter {
    display: none
}

@media screen and (max-width: 768px) {
    .brainformatik-api_page_brainformatikapi_logs table.form-table {
        font-size: 14px;
    }

    .brainformatik-api_page_brainformatikapi_logs table.form-table thead {
        display: none;
    }

    .brainformatik-api_page_brainformatikapi_logs table.form-table tr {
        display: block;
        margin-bottom: 15px;
    }

    .brainformatik-api_page_brainformatikapi_logs table.form-table td {
        display: block;
        text-align: right;
        padding: 8px 10px;
        border-bottom: 1px solid #ddd;
    }

    .brainformatik-api_page_brainformatikapi_logs table.form-table td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
        color: #555;
    }

    .brainformatik-api_page_brainformatikapi_logs table.form-table td:last-child {
        border-bottom: 0;
    }
}

.tabs-container {
    display: flex;
    width: 100%;
}

.tabs-container .tabs {
    display: flex;
    flex-direction: column;
    width: 20%;
}

.tabs-container .tabs button {
    padding: 15px;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    background: #fff;
}

.tabs-container .tabs button:hover {
    background-color: #0090d7;
    color: #fff;
}

.tabs-container .tabs button.active {
    background-color: #0090d7;
    color: #fff;
}

.tabs-container .content {
    flex-grow: 1;
    padding: 40px;
    width: 80%;
    background: #fff;
    margin: 0 30px;
    border-radius: 10px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    color: #343738;
    font-weight: 300;
}

.tabs-container .content h2 {
    color: #062355;
    margin: 0;
    font-size: 30px;
    line-height: 1.2 !important;
}

.tabs-container .content h3 {
    color: #062355;
    font-size: 22px;
}

.tabs-container .content h3.space_top {
    margin: 40px 0 15px 0;
}

.tabs-container .content p {
    font-size: 16px;
    color: #343738;
}

.tabs-container .content hr {
    border: 0;
    height: 1px;
    background: #f2f2f2;
    margin: 30px 0;
}

.tabs-container .content a img {
    border: 0 !important
}

.tabs-container .content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    -webkit-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.15);
    border: 0 !important;
    float: none;
    display: block;
}

.tabs-container .content img.preview {
    max-width: 550px;
    width: 100%;
}

.tabs-container .content a.button {
    background: none;
    border: 1px solid #0090d7;
    color: #0090d7;
    padding: 8px 20px;
    font-weight: 400;
}

.tabs-container .content a:hover.button {
    border: 1px solid #0090d7;
    background: #0090d7;
    color: #fff;
}

.tabs-container .content ul li,
.tabs-container .content ol li {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #343738;
}

.tabs-container .content ul li span {
    display: block;
    font-weight: bold;
}

.tabs-container .content a:focus,
.tabs-container .content a:active {
    outline: none !important;
    border: 0 !important;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content.active .columns {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

.tab-content .left {
    width: 60%;
    padding: 0 20px 0 0;
    box-sizing: border-box;
}

.tab-content .right {
    width: 40%;
    padding: 0 0 0 20px;
    box-sizing: border-box;
}

.brainformatik_logo {
    margin: 30px 0;
}

.brainformatik_logo img {
    width: 150px;
}

.brainformatik_logo span {
    display: block;
    font-size: 11px;
    margin-top: -8px;
}

.brainformatik_logo h1 {
    color: #0090d7;
}

.success_message.show {
    display: block !important;
}

.switch {
    display: inline-block;
    height: 32px;
    position: relative;
    width: 60px;
}

.switch input {
    display: none;
}

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

.switch .slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 24px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 24px;
}

.switch input:checked+.slider {
    background-color: #66bb6a;
}

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

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

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


.tab {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  margin-bottom:40px;
}

.tab button {
  appearance: none;
  background: none;
  border: none;
  padding: 12px 18px;
  margin: 0;
  font-size: 15px;
  color: #6b7280;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 0;
}

.tab button:hover {
  color: #374151;
  background-color: rgba(0, 0, 0, 0.02);
}

.tab button.active {
  color: #111827;
  border-bottom: 2px solid #3b82f6; /* Blau */
  background-color: transparent;
  font-weight: 600;
}

.tabcontent {
  display: none;
  animation: fadeEffect 0.3s ease-in-out;
  height: calc(100vh - 280px);
}

@keyframes fadeEffect {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
