/* Awesome CSS Code: WC Endpoint Orders | 19/10/2026 08:46 */

/* --- Code: WooCommerce MyAccount > Orders Page --- */
/* WOOCOMMERCE MYACCOUNT > ORDERS PAGE */ 
/* Order Page Table Header */
th.woocommerce-orders-table__header {
    background-color: #d7d7d760 !important;
}
.dark th.woocommerce-orders-table__header {
    background-color: #191c20 !important;
}

/*--- Le fond des lignes et des cellules ---*/
/* 1. On définit la bordure et on vide le fond des cellules */
td.woocommerce-orders-table__cell,
th.woocommerce-orders-table__cell{
    background: transparent !important; 
    border-top: 1px solid #DBDFEA;
    opacity: 1 !important;
}
.dark td.woocommerce-orders-table__cell,
.dark th.woocommerce-orders-table__cell{
    border-top: 1px solid #404555;
}

/* 2. On applique la couleur de base à TOUTES les lignes (Impair) */
.woocommerce-orders-table tr {
    background: #d7d7d750 !important; 
}
.dark .woocommerce-orders-table tr {
    background: #ffffff15 !important; 
}

/* 3. On applique la couleur alternative aux lignes paires (Paire) */
.woocommerce-orders-table tr:nth-child(even) {
    background: #d7d7d720 !important; 
}
.dark .woocommerce-orders-table tr:nth-child(even) {
    background: #ffffff20 !important; 
}
/*--- End le fond des lignes et des cellules ---*/

	
/* Order Page Table > Button "View" */
.woocommerce-orders-table__cell .woocommerce-button.view {
    /*padding-left: 15px;
    padding-right: 15px;*/
    padding-top: 5px;
    padding-bottom: 4px;
    border-radius: 3px;
    margin-top: 2px;
	display: inline-flex;
} 
	
	
	
/********************* ASPECT MOBILE *********************/
@media (max-width:767px) {
/* Order Table Wrapper */
tr.woocommerce-orders-table__row {
    margin-bottom: 20px !important;
    display: block !important;
}

/* Order Table Mobile Header */
th.woocommerce-orders-table__cell{
	background: #D7D7D760 !important;
	border: none !important;
}
.dark th.woocommerce-orders-table__cell{
	background: #000000 !important;
}
	

/*----- Fond des lignes -----*/
/* 1. On applique la couleur de base à TOUTES les lignes (Impair) */
.woocommerce-orders-table tr {
    background: #D7D7D750 !important;
}
.dark .woocommerce-orders-table tr {
    background: #191c20 !important;
}
	
/* 2. On applique la couleur alternative aux lignes paires (Paire) */
.woocommerce-orders-table tr:nth-child(even) {
    background: #D7D7D750 !important;
}
.dark .woocommerce-orders-table tr:nth-child(even) {
    background: #191c20 !important;
}
/*----- End Fond des lignes -----*/
	

/*----- La cellule qui contient le numero de commande -----*/
/* Order Table Header Cellule That Containt Order Number */
th.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-number {
    display: block;
	padding-left: 15px;
}
/* Order Table Header That Containt Order Number - Order Number Anchor */
th.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-number a {
    text-transform: uppercase;
}
/* Order Table Header That Containt Order Number - Befor Order Number Text */
th.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-number a::before {
    content: "COMMANDE";
    margin-right: 2px;
} 
/*----- Fin la cellule qui contient le numero de commande -----*/
	

/*----- Style à toutes les cellules -----*/
/* Order Table Columns and Rows */
td.woocommerce-orders-table__cell {
	text-align: left !important;
	padding-left: 15px;
    padding-right: 15px;
    padding-top: 7px;
    padding-bottom: 7px;
	border-top: 1px solid #DBDFEA;
}
.dark td.woocommerce-orders-table__cell {
	border-top: 1px solid #404555;
}

/* Order Table Row - Left Content */
/*-----------
Empecher les labels est les valeurs de s'aligner.
Donc, "Vendeur : Rita Manon", sur la meme ligne devient
Vendeur :
Rira Manon
------------*/
td.woocommerce-orders-table__cell::before {
    display: block !important;
    float: none !important;
}
/*--- Fin Style à toutes les cellules ---*/	

	
/* Order Table > Button "View" */
.woocommerce-orders-table__cell .woocommerce-button.view {
    padding-top: 2px;
    padding-bottom: 1px;
} }
/********************* FIN ASPECT MOBILE *********************/
