#sites-dashboard {
background: #f5f5f5;
color: #222;
padding: 16px;
border-radius: 6px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
border: 1px solid #ddd;
width: 100%;
max-width: 100%;
box-sizing: border-box;
} .sd-filters {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 10px 16px; margin-bottom: 12px;
background: #ffffff;
padding: 10px 12px;
border-radius: 6px;
border: 1px solid #e0e0e0;
}
.sd-filter-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 0; } .sd-filter-actions {
margin-left: auto;
display: flex;
flex-wrap: wrap;
gap: 8px;
} .sd-filter-row input,
.sd-filter-row select {
background: #ffffff;
border: 1px solid #cfd8dc;
color: #222;
padding: 6px 8px;
border-radius: 4px;
font-size: 13px;
min-width: 400px;
}
#sd-search-site {
min-width: 220px;
} .sd-filter-actions button,
.sd-filters button {
background: #1976d2;
border: none;
padding: 7px 12px;
border-radius: 4px;
cursor: pointer;
color: #fff;
font-weight: 500;
font-size: 13px;
}
#sd-btn-reset {
background: #757575;
}
.sd-cart-btn {
background: #ffffff;
} .sd-table-wrapper {
margin-top: 8px;
background: #ffffff;
border-radius: 6px;
padding: 12px;
border: 1px solid #e0e0e0;
} .sd-export-btn {
float: right;
margin-bottom: 6px;
background: #eeeeee;
border: 1px solid #cfd8dc;
padding: 6px 10px;
border-radius: 4px;
cursor: pointer;
font-size: 12px;
} #sd-table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
#sd-table thead {
background: #f1f5f9;
text-transform: uppercase;
font-size: 11px;
}
#sd-table th,
#sd-table td {
padding: 8px 10px;
border-bottom: 1px solid #e0e0e0;
text-align: left;
}
#sd-table tbody tr:nth-child(even) {
background: #fafafa;
}
#sd-table tbody tr:hover {
background: #e3f2fd;
} .sd-add-cart {
background: #ffffff;
border: none;
padding: 4px 7px;
border-radius: 3px;
cursor: pointer;
color: #fff;
font-size: 12px;
} .sd-modal {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,.45);
z-index: 9999;
justify-content: center;
align-items: center;
}
.sd-modal-inner {
background: #ffffff;
padding: 18px;
border-radius: 6px;
width: 480px;
max-width: 95%;
border: 1px solid #e0e0e0;
}
.sd-modal-inner h3 {
margin-top: 0;
margin-bottom: 10px;
}
.sd-order-form input,
.sd-order-form textarea {
width: 100%;
margin-bottom: 8px;
background: #ffffff;
border: 1px solid #cfd8dc;
color: #222;
padding: 6px 8px;
border-radius: 4px;
font-size: 13px;
}
.sd-modal-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
margin-top: 8px;
}
.sd-modal-actions button {
background: #1976d2;
border: none;
padding: 7px 12px;
border-radius: 4px;
cursor: pointer;
color: #fff;
font-size: 13px;
}
#sd-close-cart {
background: #757575;
}
#sd-order-message {
margin-top: 8px;
font-size: 13px;
} .sd-cart-item {
font-size: 13px;
margin-bottom: 4px;
}
.sd-cart-item .sd-remove {
margin-left: 6px;
background: #e53935;
border: none;
border-radius: 3px;
color: #fff;
cursor: pointer;
padding: 0 6px;
font-size: 11px;
}
#sd-filter-seo {
min-width: 100px;
max-width: 120px;
flex: 0 0 60px;
padding: 4px 6px;
font-size: 12px;
} #sd-filter-za,
#sd-filter-da,
#sd-filter-tf,
#sd-filter-dr,
#sd-filter-as {
min-width: 60px;
max-width: 70px;
flex: 0 0 60px;
padding: 4px 6px;
font-size: 12px;
}
#sd-filter-price,
#sd-filter-discount,
#sd-filter-special {
min-width: 180px;
max-width: 200px;
flex: 0 0 60px;
padding: 4px 6px;
font-size: 12px;
} #sd-filter-state,
#sd-filter-reg,
#sd-filter-adv,
#sd-filter-link_type,
#sd-filter-type {
min-width: 220px;
flex: 0 0 220px;
} #sd-order-notes {
min-height: 250px !important;
resize: vertical;
font-size: 14px;
padding: 10px;
} #sd-order-notes {
min-height: 180px !important;
height: 180px !important;
max-height: none !important;
padding: 12px !important;
font-size: 15px !important;
line-height: 1.5 !important;
width: 100% !important;
display: block !important;
box-sizing: border-box !important;
} #sd-table thead th {
cursor: pointer;
position: relative;
padding-right: 16px; } #sd-table thead th:first-child {
cursor: default;
}
#sd-table thead th {
cursor: pointer;
position: relative;
padding-right: 16px;
}
#sd-table thead th:first-child {
cursor: default;
}
#sd-table thead th.sd-sort-asc::after,
#sd-table thead th.sd-sort-desc::after {
content: '';
position: absolute;
right: 6px;
top: 50%;
margin-top: -4px;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
}
#sd-table thead th.sd-sort-asc::after {
border-bottom: 6px solid #1976d2;
}
#sd-table thead th.sd-sort-desc::after {
border-top: 6px solid #1976d2;
}  #sd-table thead th::after {
content: '⇅';
font-size: 10px;
color: #aaa;
position: absolute;
right: 6px;
top: 50%;
transform: translateY(-50%);
} #sd-table thead th.sd-sort-asc::after {
content: '▲';
color: #1976d2;
} #sd-table thead th.sd-sort-desc::after {
content: '▼';
color: #1976d2;
} #sd-table thead th:first-child::after {
content: '' !important;
}
.sd-num-group {
display: flex;
align-items: center;
gap: 4px;
}
.sd-num-group .sd-op {
width: 46px;
min-width: 46px;
padding: 4px 6px;
}
.sd-num-group input[type="number"] {
min-width: 46px;
} .sd-filters {
padding: 10px 15px;
background: #f9f9f9;
border-radius: 8px;
margin-bottom: 20px;
} .sd-filter-row {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 10px;
} .sd-filter-row select,
.sd-filter-row input[type="text"],
.sd-filter-row input[type="number"] {
padding: 6px 8px;
height: 34px !important; font-size: 13px;
border-radius: 6px;
border: 1px solid #ccc;
box-sizing: border-box;
} .sd-num-filter {
display: flex;
flex-direction: row;
align-items: center;
gap: 6px;
margin-right: 10px;
} .sd-num-filter label {
display: block;
font-size: 12px;
font-weight: 600;
margin-bottom: 3px;
width: 100%;
} .sd-num-filter select {
width: 55px; text-align: center;
padding-left: 0;
padding-right: 0;
} .sd-num-filter input[type="number"] {
width: 110px;
} .sd-filter-actions button {
padding: 8px 14px;
font-size: 13px;
border-radius: 6px;
border: none;
cursor: pointer;
}
#sd-btn-search {
background: #0073aa;
color: #fff;
}
#sd-btn-reset {
background: #e5e5e5;
}
.sd-cart-btn {
background: #ffcc00;
} @media (max-width: 768px) {
.sd-num-filter {
flex-direction: column;
align-items: flex-start;
gap: 4px;
}
.sd-num-filter input[type="number"] {
width: 100%;
}
.sd-num-filter select {
width: 100%;
}
} .sd-num-filter select {
width: 30px !important; min-width: 30px !important;
padding-left: 2px !important;
padding-right: 2px !important;
text-align: center;
font-size: 12px;
} .sd-num-filter select,
.sd-num-filter input[type="number"] {
height: 28px !important;
padding: 4px 6px !important;
} .sd-num-filter {
gap: 4px !important;
margin-right: 6px;
} .sd-table-wrapper {
margin-top: 15px;
padding: 10px;
background: #ffffff;
border-radius: 8px;
border: 1px solid #e5e5e5; overflow-x: auto;
overflow-y: visible;
} #sites-dashboard .sd-table-wrapper {
max-width: 100%;
box-sizing: border-box;
} #sd-table {
width: 100%;
border-collapse: collapse;
table-layout: auto; } #sd-table th,
#sd-table td {
padding: 6px 8px;
font-size: 13px;
white-space: nowrap; } #sd-table th {
background: #f5f5f5;
font-weight: 600;
border-bottom: 1px solid #ddd;
} #sd-table tr:nth-child(even) td {
background: #fafafa;
}
@media (max-width: 768px) {
#sd-table th,
#sd-table td {
font-size: 12px;
padding: 4px 6px;
}
}
#sd-table {
width: 100% !important; min-width: 100% !important;
border-collapse: collapse;
table-layout: auto; }
.sd-pagination-ajax {
margin-top: 10px;
display: flex;
align-items: center;
gap: 10px;
justify-content: center;
}
.sd-pagination-ajax .sd-page-btn-ajax {
padding: 4px 10px;
border-radius: 4px;
border: 1px solid #ddd;
background: #f5f5f5;
cursor: pointer;
font-size: 13px;
}
.sd-pagination-ajax .sd-page-btn-ajax:disabled {
opacity: 0.4;
cursor: default;
}
.sd-pagination-ajax .sd-page-info {
font-size: 13px;
}  .sd-pagination-ajax {
margin-top: 10px;
display: flex;
align-items: center;
gap: 10px;
justify-content: center;
}
.sd-pagination-ajax .sd-page-btn-ajax {
padding: 4px 10px;
border-radius: 4px;
border: 1px solid #ddd;
background: #f5f5f5;
cursor: pointer;
font-size: 13px;
} .sd-pagination-ajax .sd-page-btn-ajax[disabled] {
opacity: 0.4;
cursor: default;
} .sd-pagination-ajax .sd-page-info {
font-size: 13px;
} .sd-pagination-ajax .sd-page-btn-ajax:not(.sd-page-prev):not(.sd-page-next) {
display: none;
} .sd-pagination-ajax .sd-page-btn-ajax {
padding: 6px 14px;
border-radius: 6px;
border: 1px solid #1d73e8;
background: #1d73e8;
color: #fff !important;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: 0.2s ease;
} .sd-pagination-ajax .sd-page-btn-ajax:hover:not([disabled]) {
background: #155bb2;
border-color: #155bb2;
} .sd-pagination-ajax .sd-page-btn-ajax[disabled] {
background: #9fc4f5;
border-color: #9fc4f5;
cursor: default;
opacity: 0.7;
}  .sd-filter-row {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 12px;
} .sd-num-filter {
display: flex;
align-items: center;
gap: 6px;
} .sd-filter-group-lower {
width: 100%;
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: -4px;
} .sd-filter-group-lower .sd-num-filter {
min-width: 220px;
} .sd-filter-actions {
display: flex;
justify-content: flex-start; gap: 12px;
} .sd-filter-actions button {
min-width: 90px;
} .sd-filter-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}
.sd-filter-actions button {
margin: 0;
}
.sd-orders-link {
padding: 6px 12px;
border-radius: 4px;
font-size: 13px;
text-decoration: none;
border: 1px solid #2271b1;
color: #2271b1;
background: #f0f7ff;
transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sd-orders-link:hover {
background: #2271b1;
color: #fff;
border-color: #1b5a8a;
} .sd-orders-wrapper {
margin-top: 20px;
padding: 12px;
border-radius: 6px;
background: #ffffff;
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
} .sd-orders-table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
.sd-orders-table thead th {
text-align: left;
padding: 8px 10px;
background: #f1f5f9;
border-bottom: 1px solid #e2e8f0;
font-weight: 600;
white-space: nowrap;
}
.sd-orders-table tbody td {
padding: 7px 10px;
border-bottom: 1px solid #eef2f7;
vertical-align: middle;
}
.sd-orders-table tbody tr:nth-child(even) {
background: #f9fafb;
}
.sd-orders-table tbody tr:hover {
background: #eef6ff;
} .sd-order-status {
display: inline-flex;
align-items: center;
padding: 2px 8px;
border-radius: 999px;
font-size: 11px;
font-weight: 600;
}
.sd-order-status--pending {
background: #fff7e6;
color: #b35c00;
}
.sd-order-status--completed {
background: #e6f9ea;
color: #1e7e34;
}
.sd-order-status--cancelled {
background: #fdeaea;
color: #c0392b;
} .sd-orders-table a {
color: #2271b1;
text-decoration: none;
}
.sd-orders-table a:hover {
text-decoration: underline;
}