/**
 * WooCommerce Orders Display Styles
 */

/* Common Styles */
.wod-latest-orders,
.wod-all-orders,
.wod-order-details {
    font-family: "Barlow";
    color: #333;
    margin-bottom: 20px;
}

.wod-orders-table table,
.wod-order-products table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 4.8rem;
    font-size: 14px;
	min-width: 72rem !important;
}

.wod-orders-table th,
.wod-orders-table td,
.wod-order-products th,
.wod-order-products td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 0.1rem solid #e3ebed;
	font-size: 1.6rem;
	color: #021347;
	font-weight: 500;
}

.wod-orders-table th,
.wod-order-products th {
    font-weight: 600;
    color: #59627B;
	font-size: 1.4rem;
    border-bottom: 0.1rem solid #e3ebed;
	padding: 1rem 1.5rem;
}

.wod-orders-table tr:hover,
.wod-order-products tbody tr:hover {
    background-color: #f9f9f9;
}

.wod-orders-table > table > thead > tr:hover {
	background-color: transparent !important;
}

div.wod-orders-table > table > tbody > tr > td.wod-order-number {
	color: #0054A6 !important;
	font-weight: 700 !important;
	font-size: 1.6rem;
}

.wod-order-date,.wod-order-items,.wod-order-status {
	text-align: center !important;
}

.wod-order-total {
	text-align: right !important;
	font-weight: 700;
}

#brxe-qcvcng > div > div.wod-orders-table > table > tbody > tr > td.wod-order-status > span {
	font-size: 1.6rem !important;
}

/* Status Colors */
.wod-status {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
}

.wod-status-completed {
    color: #89AA00;
}

.wod-status-processing {
    background-color: #bbdefb;
    color: #1565c0;
}

.wod-status-on-hold {
    background-color: #fff9c4;
    color: #f57f17;
}

.wod-status-pending {
    background-color: #ffecb3;
    color: #ff8f00;
}

.wod-status-failed {
    background-color: #ffcdd2;
    color: #c62828;
}

.wod-status-cancelled,
.wod-status-refunded {
    color: #dc3546;
}

.wod-status-prijata {
    background-color: #ffecb3;
    color: #ff8f00;
}

.wod-status-vyrizuje-se {
	color: #ffc000 !important;
}

.wod-status-odeslana {
    color: #1983EB;
}

.wod-status-zrusena {
    background-color: #ffcdd2;
    color: #c62828;
}

/* Order Icons */
.wod-order-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    margin-right: 4px;
    color: #ffc107;
    font-weight: bold;
}

/* Buttons */
.wod-btn {
	background-color: #ffc000;
    color: #021347;
    padding: 1.6rem 3.2rem;
    text-decoration: none;
    border-radius: 0.3rem;
	font-size: 1.4rem;
    font-weight: 600;
    transition: all 0.15s ease-in-out;
	font-family: "Barlow";
}

.wod-btn:hover {
    background-color: #d4a001;
}

.wod-btn-secondary {
    background-color: #f0f0f0;
    color: #666;
}

.wod-btn-secondary:hover {
    background-color: #e0e0e0;
    color: #333;
}

.wod-view-all {
    text-align: center;
    margin-top: 20px;
}

/* Pagination */
.wod-pagination {
    margin-top: 20px;
    text-align: center;
}

.wod-pagination ul {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.wod-pagination ul li {
    display: inline-block;
    margin: 0 3px;
}

.wod-pagination ul li a,
.wod-pagination ul li span {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
}

.wod-pagination ul li a:hover {
    background-color: #e0e0e0;
}

.wod-pagination ul li span.current {
    background-color: #0073aa;
    color: white;
}

/* Order Details Specific Styles */
.wod-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3.2rem;
}

.wod-order-header h1 {
    font-family: "Barlow";
    font-weight: 500;
    font-size: 3rem;
    line-height: 3.4rem;
    color: var(--bricks-color-objfyt);
}

.wod-order-actions {
    display: flex;
    gap: 10px;
}

.wod-order-info-wrapper {
	display: flex;
	flex-direction: row;
    row-gap: 0.8rem;
	background-color: #FFFFFF;
	border-radius: 1rem;
	padding: 3.2rem;
	margin-bottom: 2.4rem;
}

@media only screen and (max-width: 767px) {
  .wod-order-info-wrapper {
	flex-direction: column;
}
}

.wod-order-info,
.wod-customer-info {
    display: flex;
	flex-direction: column;
    row-gap: 0.8rem;
	max-width: 40rem;
	width: 100%;
}

.wod-order-info-item,
.wod-customer-info-item {
    display: flex;
    flex-direction: row;
}

.wod-info-label {
    font-weight: 600;
	font-size: 1.4rem;
    color: #80889F;
	max-width: 20rem;
	width: 100%;
}

.wod-info-value {
	color: #021347;
	font-weight: 700;
	font-size: 1.4rem;
}

.wod-product-name {
    display: flex;
    align-items: center;
}

.wod-product-image {
    margin-right: 10px;
    flex-shrink: 0;
}

.wod-product-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 3px;
}

.wod-order-products__table-wrapper {
	overflow-x: scroll;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .wod-order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .wod-orders-table {
        overflow-x: auto;
    }
    
    .wod-orders-table table,
    .wod-order-products table {
        min-width: 500px;
    }
    
    .wod-order-info,
    .wod-customer-info {
        grid-template-columns: 1fr;
    }
}

.wod-order-totals {
	display: flex;
    flex-direction: column;
    align-items: flex-end;
	row-gap: 0.8rem;
}

.wod-order-total-row {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
	width: 100%;
	font-size: 1.6rem;
	font-weight: 600;
	color: #021347;
}

.wod-order-total-label {
	max-width: 21rem;
	width: 100%;
}

.wod-order-total-value {
	max-width: 14.5rem;
	width: 100%;
}

.shipped_via {
	display: none;
}

#brxe-ujmxqi > div > div.wod-order-products > div > div:nth-child(6) > div.wod-order-total-value > span {
	font-size: 2.2rem;
	font-weight: 700;
}