/* Set default font size for the entire plugin */
.w3exabe {
    font-size: 14px;
}
.boxed-layout-wcabe p {
    font-size: 14px;
    color: #676767;
}

/* Ease the grid wrapping border */

#myGrid {
    border-top: none;
    border-left: 1px solid #8080802e;
    border-right: 1px solid #8080802e;
    border-bottom: none;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* Remove header backgrounds and hover */
#myGrid .slick-header-columns, #myGrid .slick-header-column, #myGrid .ui-state-hover {
    /*background: #e6e6e6 !important;*/
    /*background: #fff !important;*/
    background: #e9e9e9 !important;
}
.ui-state-hover:hover {
    background: #198fd9;
    color: #fff;
}

#myGrid .ui-state-hover:hover {
    color: inherit;
    background: none !important;
    background-image: none !important;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    background: #198fd9;
    font-weight: bold;
}
.ui-state-hover:hover a:hover {
    color: #fff;
}
.ui-state-default {
    border-bottom: none;
}
/* Position the ID check box */
.slick-column-name input[type="checkbox"] {
    margin: -2px 0 0 2px !important;
}
/* Set Columns text to bold */
.w3exabe .slick-header-column.ui-state-default {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
    font-weight: 700;
    font-size: 14px;
    height: 24px;
    line-height: 24px;
}

.slick-cell {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
    font-size: 14px;
}

.slick-cell.selected {
    background-color: beige;
    /*background-color: #198fd926 !important;*/
}

.slick-row.odd {
    /*background: #177ae30a !important;*/
}

/* Buttons */
.button-wcabe {
    padding: 0.6em 0.8em;
    border-radius: 3px;
    background-color: #fff;
    color: #343434eb;
    text-decoration: none;
    outline: none;
    border: 1px solid #ccc;;
    transition: background-color 0.2s cubic-bezier(0.21, 0.6, 0.35, 1);
    /*box-shadow: 0 1px 3px rgba(25, 143, 217, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.05);*/
    cursor: pointer;
    font-size: inherit;
    font-weight: 600;
    line-height: normal;
}

.button-primary-wcabe {
    padding: 0.6em 0.8em;
    border-radius: 3px;
    background-color: #198fd9;
    color: #fff;
    text-decoration: none;
    outline: none;
    border: none;
    transition: background-color 0.2s cubic-bezier(0.21, 0.6, 0.35, 1);
    box-shadow: 0 1px 3px rgba(25, 143, 217, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    font-size: inherit;
    font-weight: 600;
    line-height: normal;
}

.button-highlight-wcabe {
    background-color: #ff4f5b;
    color: #fff;
    padding: 12px 22px;
}

.button-be-wcabe {
    padding: 0px 10px 2px 10px;
}

.button-warning-wcabe {
    color: #e31818;
}

#bulkdialog .custstyle-table td button.butnewattribute {
    line-height: 16px !important;
    height: 30px !important;
    margin-top: 0 !important;
}

.button-wcabe:disabled, .button-primary-wcabe:disabled, button-be-wcabe:disabled {
    border: 1px solid #b2b2b259;
    background-color: #f8f8f8;
    color: #66666669;
    cursor: auto;
    box-shadow: none;
}

.fileUpload {
    overflow: unset;
}

.sel-manager-quick-action {
    margin-left: 15px;
}

/* Other fixes */

#pluginsettingstab-3 {
    min-height: 145px;
}

.selvars {
    background: #198fd9;
}

.customfield-fixed {
    float: left;
    padding-left: 25px;
    padding-bottom: 25px;
    padding-top: 10px;
    word-wrap: break-word;
}

.customfield, .customfield-fixed {
    width: 268px;
}

.btn-info {
    background: #198fd9;
}

/*Filters section*/
#tablesearchfilters {
    z-index: 12;
    overflow-y: auto;
    padding:7px;
    border: 1px solid #cdcdcd;
    border-radius: 3px;
    padding: 7px;
    background: white;
    margin-top: 5px;
}
#tablesearchfilters input[type=text] {
    width: 145px !important;
    height: 30px !important;
    box-sizing: border-box !important;
    padding-bottom: 3px;
}

#tablesearchfilters select, #selectdialog select, #bulkdialog select {
    height: 30px !important;
}

.customfieldtable input[type=text] {
    padding-bottom: 0px !important;
}

.imagepopup {
    background: #343434eb;
    color: #fff;
    padding: 4px 4px 0px 4px;
}

.tableviews-ext, .tableviews-ext td {
    border: none !important;
}

.viewdialog-radio-ext:checked::before {
    margin: 0.25rem !important;
}

#customfieldsdialog table,
#customfieldsdialog table tr,
#customfieldsdialog td
{
    border: none !important;
}

#addcustomfield {
    margin: 10px;
}

#productid {
    width: 250px;
}

.tablecustomfields tr:hover {
    background: aliceblue;
}
.tablecustomfields td {
    border: none !important;
}

#findcustomfieldsdialog table tr:first-child {
    font-weight: bold;
}

#tablecsvexport {
    border: none;
}

.oneline-radio-container {
    box-sizing: border-box;
    font-family: ‘Open Sans’, sans-serif;
    font-size: 13px;
    line-height: 30px;
    margin: 0;
    outline: 0;
    overflow: hidden;
    padding: 0;
}

.oneline-radio-container input {
    box-sizing: border-box;
    margin: 0;
    outline: 0;
    padding: 0;
    position: relative;
    top: 7px;
    vertical-align: top;
}

.wcabe-warning-text {
    color: red;
    margin-bottom: 20px;
}

.wcabe-dlg-top-floated span:nth-of-type(1) {
    float: left;
}

.wcabe-dlg-top-floated span:nth-of-type(2) {
    float: right;
    vertical-align: middle;
    line-height: 27px;
    margin-right: 46px;
}

#searchsettings {
    min-height: 26px;
}

#searchsettings{
    margin-left: 38px;
}

/* WCABE General Settings section */
.wcabe-general-settings-section:first-child {
    /*margin-top: 10px;*/
}
.wcabe-general-settings-section {
    border: 1px solid #cdcdcd;
    background-color: #fff;
    border-radius: 3px;
    padding: 20px 28px;
    margin-top: 22px;
}
.wcabe-license-key-input {
    height: 30px;
    width: 450px;
}
input[type=text] {
    line-height: 3;
}

div.boxed-layout-wcabe {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
}

.check-connection-terminal {
    width: 98%;
    height: 195px;
    color: #fff !important;
    background: #131313 !important;
    padding: 12px !important;
}

/* Recommended Plugins section { */
 .box-container {
     width: 100%;
     /*max-width: 640px;*/
     margin: 20px auto;
     border: 1px solid #ddd;
     border-radius: 8px;
     overflow: hidden;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
 }

.flex-container {
    display: flex;
    padding: 20px;
    align-items: center;
}

.image-column {
    flex: 0 0 80px;
    margin-right: 20px;
}

.image-column img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.content-column {
    flex: 1;
    margin-right: 20px;
}

.content-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    /*color: #333;*/
}

.content-description {
    margin: 0;
    line-height: 1.5;
    /*color: #666;*/
}

.button-column {
    flex: 0 0 240px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*.button-link {*/
/*    display: inline-block;*/
/*    padding: 10px 20px;*/
/*    background-color: #007bff;*/
/*    color: white;*/
/*    text-decoration: none;*/
/*    border-radius: 4px;*/
/*    transition: background-color 0.3s;*/
/*}*/

/*.button-link:hover {*/
/*    background-color: #0056b3;*/
/*}*/

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
        text-align: center;
    }

    .image-column {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .content-column {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .button-column {
        width: 100%;
    }
}
/* Recommended Plugins section } */

/* Add-ons dropdown button styles */
.wcabe-dropdown {
    display: inline-block;
    /*position: relative;*/
    min-width: 118px;
}

.wcabe-dropdown button {
    height: 33px;
}

.wcabe-dropdown-content {
    display: none;
    position: absolute;
    margin-top: 1px;
    background-color: #fff;
    border: 1px solid gray;
    border-radius: 3px;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
}

.wcabe-dropdown-content a {
    color: #3c434a;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.wcabe-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.wcabe-sitewide-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.wcabe-tool-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    width: calc(33.333% - 14px);
    min-width: 250px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Top right buttons bar */
.top-help-links {
    padding: 7px;
    /*background-color: #a5b9d14d;*/
    border-radius: 3px;
}
.top-help-links a {
    text-decoration: none;
    color: #1383c8;
    opacity: 1;
}
.top-help-links a:hover {
    opacity: 0.7;
}
