/*
Theme Name: Blocksy child
Template: blocksy
Author: Codeur X
Author URI: https://mebodorichard.com
Version: 1.2
Description: Thème enfant de Blocksy
*/

@import url("../blocksy/style.css");

#main-container{
    background-color: #fff !important;
    font-family: var(--afk-font-family) !important;
}

.user-card, .avatar-rounded, .user-info{
	display:inline-block;
}

.user-card {
  display: flex;
  align-items: center;
	margin-bottom: 20px;
}

.avatar-rounded img {
  border-radius: 50%; 
  width: 75px; 
  height: 75px; 
  object-fit: cover; 
	margin-right: 15px;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-info span{
 	line-height: 1.2;
}

.wc-customer-welcome,
.wc-customer-email {
  color: #777;
  font-weight: 500;
}

.wc-customer-name {
  font-weight: 800;
	font-size: 1.5em;
  color: black;
}

.order-details {
  background-color: #f5f5f5;
  border-radius: 20px; 
  padding: 15px; 
  display: flex; 
  justify-content: space-between;
	margin : 10px 0px;
}

.order-details-left {
  text-align: left; 
}

.order-details-right {
  text-align: right; 
}

.wc-order-number, .wc-order-amount, .order-details-right span {
  display: block;
}

.wc-order-number {
  font-weight: 800;
	font-size: 1.5em;
  color: black;
}

.wc-order-products{
  color: #777;
  font-weight: 500;
	font-size: 0.7em;
}
.wc-order-date {
  color: #777;
  font-weight: 500;
	font-size: 1em;
}
.wc-order-amount{
	color: #333;
	font-size: 1em;
	font-weight: 600;
}

.order-details-right {
  display: flex;
  justify-content: space-between;
}

.order-details-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.link i {
	margin:6px;
}

.wc-order-status{
	color: #fff;
	font-size: 0.7em;
	font-weight: 600;
	padding:5px;
	border-radius: 5px;
}


.bg-yellow {
  background-color: #f9ca24;
}

.bg-blue {
  background-color: #2196f3;
}

.bg-green {
  background-color: #4caf50;
}

.bg-red {
  background-color: #f44336;
}

.bg-info {
  background-color: #2872fa;
}

.page-numbers{
	font-weight: 800;
	font-size: 1.2em;
	margin: 15px 7px;
	border: 1px solid;
	padding: 10px;
}

.page-numbers a{
	color: #2872fa;
}

.order-pagination{
	text-align:right;
}

.order-details-card{
	 display: flex;
  align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.order-details-id, .order-details-date, .order-details-status{
	display: flex;
  flex-direction: column;
}

.order-details-date, .order-details-status{
	border-left: 1px solid #d5d5d5;
	padding-left:10px
}

.order-details-title{
	font-weight: 800;
	font-size: 1em;
  color: black;
}

.order-details-content{
	font-weight: 500;
	font-size: 1em;
}

.order_details thead{
	background-color: #f1f1f1;
}



.woocommerce-table__product-code{
	text-align: center;
}

table.shop_table tr>*:first-child {
    padding-inline-start: 10px;
}

.code-product{
	border: 4px solid #2872fa;
	padding:10px;
	margin: 10px auto;
	width:80%;
	color:black;
	font-weight: 800;
	font-size:1.2em;
}

.code-title{
	font-weight: 500;
	font-size: 1em;
}

.order-total th, .order-total td{
	color:black;
	font-size:1.1em;
	text-transform:uppercase;
	font-weight:700;
}

.order-total td{
	font-size:1.2em;
}

table.shop_table th {
	color:black;
	font-size:1.1em;
	font-weight:700;
}

table.shop_table td{
	color:black;
}

.woocommerce button.button{
    background-color: #2196f3 !important;
}

/* === BADGES — style commun Thankyou/My Account === */

/* Base commune */
.ak-badge,
.woocommerce-MyAccount-content .wc-order-status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .55rem;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #f3f4f6; /* fallback */
  color: #111827;
}

/* Mappage des couleurs (identiques à la thankyou) */
.ak-badge.is-processing,
.woocommerce-MyAccount-content .wc-order-status.bg-yellow {
  background: #fff8db;
  border-color: #f4e28a;
  color: #7a5c00;
}

.ak-badge.is-completed,
.woocommerce-MyAccount-content .wc-order-status.bg-green {
  background: #e6f6ef;
  border-color: #9adbbf;
  color: #0f5132;
}

.ak-badge.is-hold,
.ak-badge.is-refunded,
.woocommerce-MyAccount-content .wc-order-status.bg-info {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #1e3a8a;
}

.ak-badge.is-failed,
.ak-badge.is-cancelled,
.woocommerce-MyAccount-content .wc-order-status.bg-red {
  background: #fee2e2;
  border-color: #fecaca;
  color: #7f1d1d;
}