.ads-container{
    color: var(--e-global-color-lcolor1);
    font-family: var(--e-global-typography-ltext1bold-font-family);
    font-size: var(--e-global-typography-ltext1bold-font-size);
    font-weight: var(--e-global-typography-ltext1bold-font-weight);
    line-height: var(--e-global-typography-ltext1bold-line-height);
    letter-spacing: var(--e-global-typography-ltext1bold-letter-spacing);
    text-transform: var(--e-global-typography-ltext1bold-text-transform);
    font-style: var(--e-global-typography-ltext1bold-font-style);
    -webkit-text-decoration: var(--e-global-typography-ltext1bold-text-decoration);
    text-decoration: var(--e-global-typography-ltext1bold-text-decoration);
}

thead > tr > th{
    border-bottom: none !important;
}

tbody > .selected{
    background-color: #4695ff29 !important;
}


/* Стили вкладок */
.tabs-container {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-controls {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
}

.tab-controls input[type="radio"] {
    display: none;
}

.tab-controls label {
    padding: 12px 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
}

.tab-controls label:hover {
    background: #e0e0e0;
    color: #333;
}

.tab-controls input[type="radio"]:checked + label {
    background: #fff;
    color: #4695FF;
    font-weight: 600;
    border-bottom: 2px solid #4695FF;
}

/* Стили контента вкладок */
.tab-content {
    display: none;
    padding: 20px;
}

/* Стили таблицы */
table.display {
    width: 100% !important;
    border-collapse: collapse;
}

table.display thead th {
    background-color: #4695FF;
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 500;
}

table.display tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

table.display tbody tr:hover {
    background-color: #f5f5f5;
}

/* Стили для элементов таблицы */
.product-thumbnail {
    border-radius: 4px;
    object-fit: cover;
}

.button {
    padding: 6px 12px;
    background-color: #4695FF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.button:hover {
    background-color: #4695FF;
}

.product-select {
    margin-left: 15px;
    transform: scale(1.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .tab-controls {
        flex-direction: column;
    }
    
    .tab-controls label {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    
    table.display thead {
        display: none;
    }
    
    table.display tbody td {
        display: block;
        text-align: right;
        padding-left: 50%;
        position: relative;
    }
    
    table.display tbody td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        font-weight: bold;
        text-align: left;
    }
    
    .ads-container {
        padding: 10px;
    }
}

/* Кастомные стили для DataTables */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 5px 10px;
    margin: 0 2px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #4695FF;
    color: white !important;
    border: 1px solid #4695FF;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #e0e0e0;
    border: 1px solid #ddd;
}

.dataTables_wrapper .dataTables_filter input {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 5px;
}

td > img {
    height: 200px;
    width: 200px;
}

.product-thumbnail{
    max-height: 300px;
}

.row-actions{
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.row-actions button{
    margin-top: 15px;
}

.process-single,
.process-selected{
    background-color: #29BC3D;
}

.delete-single,
.delete-selected{
    background-color: #FF0000;
}

.process-single:hover,
.process-selected:hover{
    background-color: #069119;
}

.delete-single:hover,
.delete-selected:hover{
    background-color: #CD1111;
}