/* Orders */
.order-table {
    background: white;
    border-spacing: 0;
    width: 100%;
}
.order-table tr {
    vertical-align: top;
}
.order-table th {
    text-align: left;
    padding: 10px;
}
.order-table td {
    padding: 10px;
}
.order-table tr:nth-child(odd) td {
    background: #f5f5f5;
}
.order-customer-name strong {
    color: #2121a4;
}
.order-total-price {
    white-space: nowrap;
}
.order-delivery-details a {
    color: black;
}
.order-platform:not(:empty) {
    background: #3d3d3d;
    color: white;
    display: table;
    font-weight: 600;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
}
.order-payment-alert {
    color: #bc1c1c;
    font-weight: 600;
}
.order-coupon-code {
    font-weight: 600;
    color: blue;
}
.order-payment-status {
    margin-top: 5px;
    font-weight: 600;
    font-size: 13px;
}
.order-payment-success {
    color: #0cbf0c;
}
.order-payment-error {
    color: #9d0000;
}
.order-payment-refund {
    color: #3939da;
}
.website-note > div {
    white-space: nowrap;
}
.order-payment-card {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #263499;
}
.order-payment-card img {
    width: 20px;
}




/* Extra */
.spacer {
    height: 5px;
}



/* Order buttons */
.order-buttons {
    display: flex;
    flex-wrap: wrap;
    width: 90px;
}
.order-button {
    width: 30px;
    height: 30px;
    margin: 0 0 5px 5px;
    font-size: 14px;
}
.button-delete {
    background: red;
    color: white;
    border-color: #ba1313;
    box-shadow: 0 1px 0 #8c1414;
}
a.order-button, a.order-button:hover {
    color: black;
}


/* Order filter */
.order-table-filter {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Order details */
.order-details-tr {
    background: #ddd;
}
.order-details {
    display: flex;
    padding: 7px 0;
    border-bottom: 1px solid #a5a5a5;
    width: 530px;
}
.order-detail {
    display: table-cell;
}
.order-detail-sort {
    width: 30px;
}
.order-detail-name {
    width: 300px;
    padding-right: 15px;
}
.order-detail-quantity {
    width: 100px;
}
.order-detail-price {
    width: 100px;
}
.order-details a {
    color: black;
    font-weight: 600;
}
.order-detail-total-price {
    padding-top: 20px;
    font-weight: 600;
    font-size: 16px;
    padding-bottom: 10px;
    color: black;
}


/* Product post type */
.low-stock {
    background: red;
    color: white;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    line-height: 1;
    font-weight: 600;
}



/* Variasiyalar ucun custom css */
.product-tabs {
    width: 100%;
}
.product-tab-header {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.product-tab-header label {
    font-weight: 600;
    vertical-align: middle;
    padding-right: 5px;
}
.variable-product-body {
    display: none;    
}
.simple-product-content {
    display: flex;
    flex-wrap: wrap;
}
.simple-product-content .field-posts .field-input {
    height: 250px;
    overflow-y: auto;
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px 5px;
}
.variable-tabs-area {
    display: flex;
    flex-wrap: wrap;
}
.variable-tabs {
    width: 200px;
    border-right: 1px solid #ddd;
}
.variable-tab {
    padding: 10px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}
.variable-content {
    width: calc(100% - 200px);
    padding: 10px;
}
.attribute-heading {
    font-weight: 600;
    margin-bottom: 10px;
}
.attribute-radio {
    display: inline-block;
    padding-right: 15px;
}
.attribute-radio label {
    cursor: pointer;
}
.attributes-lists {
    display: flex;
    margin-top: 15px;
}
.attribute-list {
    border: 1px solid #ddd;
    padding: 5px;
    background: #f5f5f5;
    margin-right: 10px;
    height: 200px;
    overflow-y: auto;
    min-width: 200px;
    display: none;
}
.attr-element {
    margin-bottom: 5px;
}
.attr-element label {
    cursor: pointer;
}
.variation-element {
    width: 150px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    height: 32px;
    border: 1px solid #ddd;
    padding: 0 10px;
    margin-right: 10px;
    background: #fbfbfb;
    line-height: 1;
    vertical-align: middle;
}
.all-variation-condition-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 600;
}
.all-variation-condition-area .admin-element {
    margin-right: 5px;
}
.all-variation-condition-text {
    width: 200px;
}
.all-variation-condition-area input, .tab-condition-content input {
    width: 100px!important;
}


/* Attributes */
.attr-gallery-name {
    margin-top: 10px;
}
.attr-gallery {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}
.attr-gallery .page-photos {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}
.attr-gallery .admin-gallery-item-area {
    width: 100px;
    height: 100px;
    padding: 0;
    position: relative;
    margin-right: 10px;
}
.attr-add-image {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    background: #eee;
    width: 100px;
    height: 100px;
    border: 1px solid #ddd;
    cursor: pointer;
}
.add-new-attr-image {
    width: 85px;
    height: 85px;
    line-height: 75px;
    border: 2px solid #ddd;
    text-align: center;
}


/* All attributes */
#attr-form {
    max-width: 500px;
}



/* Statistics */
.statistics-header {
    display: flex;
}
.stat-header-item {
    margin-right: 15px;
    border-right: 1px solid #777;
    padding-right: 15px;
}
.stat-header-item:last-child {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
}
.stat-header-item a {
    color: black;
    font-weight: 600;
}
.active-stat-header-item a {
    color: #0073aa;
}
.order-statistics-table {
    width: 500px;
}
.order-statistics-table table {
    font-size: 15px;
}


/* Products */
.real_sales input {
    background: #eee;
    pointer-events: none;
}


/* Add orders */
.product-repeaters {
    margin-bottom: 10px;
}
.product-repeater {
    display: flex;
    align-items: center;
    margin: 0 -5px 5px;
}
.pr-large, .pr-small {
    padding: 0 5px;
}
.product-repeater input, .product-repeater select {
    width: 100%;
}
.pr-small {
    width: 20%;
}
.pr-large {
    width: calc(60% - 30px);
}
.pr-extra-small {
    width: 30px;
}
.product-repeater-remove div {
    background: #e23d3d;
    color: white;
    width: 30px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    border-radius: 5px;
}
.product-repeater-action {
    margin-bottom: 20px;
}
.product-repeater-action button {
    margin-left: auto;
    display: table;
}
.default-product-repeater {
    display: none;
}
.order-final-price {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}


/* Export Import */
.export-blocks {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.export-block {
    width: 50%;
    padding: 0 15px;
}
.export-heading {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}
.admin-export-element {
    margin-bottom: 10px;
}
.export-forms form {
    display: flex;
    flex-wrap: wrap;
}
.export-forms button {
    margin-right: 10px;
}
.export-category-select {
    margin-bottom: 15px;
}




/* FCM */
.sms-fcm-block {
    width: 500px;
}


/* Sended notifications */
.fcm-table img {
    width: 150px;
}
.fcm-table th {
    font-weight: 600;
}



/* Terms */
.term-color {
    width: 30px;
    height: 30px;
    border: 3px solid white;
    outline: 1px solid #ddd;
}




/* Reports */
.stats {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px 20px;
}
.stat {
    display: flex;
    width: calc(100% / 6);
    padding: 0 5px 10px;
}
.stat-block {
    width: 100%;
    border: 1px solid #ddd;
    background: white;
    padding: 15px;
    color: black!important;
}
.stat-number {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 5px;
}
.stat-number span {
    font-size: 16px;
}
.stat-title {
    color: #777;
}
.stat-table {
    width: 600px;
    max-width: 100%;
}
.tab-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}
.tab-link.active a {
    color: black;
    pointer-events: none;
}