.header_wrapper_account,
.account-dashboard{
        max-width: 1100px !important;
}

.dashboard-card{
    aspect-ratio: 2/1 !important;
}
.dashboard-card{
    padding: 10px;
}
.dashboard-grid  a:hover {
    color: #45bf8c !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.my-account-page .dashboard-footer{
    text-align: center;
}

.my-account-page .dashboard-footer .logout-btn{
    background-color: rgba(172, 103, 51);
            color: white;
            padding: 15px 40px;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 500;
            letter-spacing: 1px;
            cursor: pointer;
            text-transform: uppercase;
}


.table-commandes-custom tbody tr td,
.table-commandes-custom tbody tr th{
    background-color: rgba(244, 221, 180) !important;
}
/* commandes */

.table-commandes-custom tbody tr,
.table-commandes-custom th,
.table-commandes-custom td{
    border-color: transparent !important;
}
.table-commandes-custom .statut-expedie::after,
.table-commandes-custom th:last-child::after{
    content: none !important;
}
.table-commandes-custom tbody td:last-child,
.table-commandes-custom th:last-child,
.my_account_points_table th:last-child,
.my_account_points_table td:last-child,
.my_account_points_table td:last-child{
    border-radius: 0 50px 50px 0 !important;
}
/* coupons wallet */

/* الحاوية العامة */
.table-coupons-custom,
.table-commandes-custom,
.my_account_points_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 3px 10px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    direction: ltr;
}

/* رؤوس الأعمدة */
.table-coupons-custom thead {
    background-color: transparent;
}

.table-coupons-custom thead tr {
    background-color: transparent;
}

.table-coupons-custom th,
.table-commandes-custom th,
.my_account_points_table th {
    border: none;
    background-color: #c4a587;
    padding: 15px 20px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    position: relative;
text-align: center;
}

/* الخلية الأولى (يسار) */
.table-coupons-custom th:first-child {
    border-radius: 0;
}
.table-commandes-custom th:first-child {
    background-color: transparent;
    width: 20px;
}
/* الخلية الأخيرة (يمين) */
.table-coupons-custom th:last-child,
.table-commandes-custom th:last-child,
.my_account_points_table th:last-child {
    border-radius: 0 50px 50px 0;
}

/* محتوى الصفوف */
.table-coupons-custom tbody tr {
    position: relative;
}

.table-coupons-custom td,
.table-commandes-custom td,
.my_account_points_table td {
    padding: 15px 20px;
    text-align: center;
    color: #a67c52;
    border: none;
}

/* الخلية الأولى (يسار) */
.table-coupons-custom tbody td,
.my_account_points_table tbody td {
    background-color: #f9f5f1;
}
.table-coupons-custom tbody td:first-child {
    position: relative;
}

/* الخلية الأخيرة (يمين) */
.table-coupons-custom tbody td:last-child {
    border-radius: 0 50px 50px 0;
}

.table-coupons-custom th,
.table-coupons-custom td {
    border-left: 3px solid #fff;
}
.table-coupons-custom th:first-child,
.table-coupons-custom td:first-child {
    border-left: none;
}
/* زر النسخ */
.table-coupons-custom .copy-btn {
    background-color: #fff;
    color: #a67c52;
    border: 1px solid #d4c4b0;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.table-coupons-custom .copy-btn:hover {
    background-color: #a67c52;
    color: #fff;
}

/* تنسيق الكود */
.table-coupons-custom .coupon-code {
    font-weight: 600;
}


/* blance wallet */

        .balance-container {
            padding: 30px 40px;
            border-radius: 12px;
            min-width: 320px;
            display: flex;
    flex-direction: column;
    align-items: end;
        }

        .balance-row {
               display: flex;
    align-items: center;
    margin-bottom: 10px;
    background: #faddae;
    padding: 5px 5px 5px 10px;
    border-radius: 0 50px 50px 0;
    width: fit-content;
    height: 39px;
}

        .balance-row:last-child {
            margin-bottom: 0;
        }

        .balance-label {
            color: #a67c52;
            font-size: 16px;
            font-weight: 500;
            margin-right: 20px;
        }

        .balance-value {
           background-color: #c09873;
    color: white;
    border-radius: 0 25px 25px 0;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    width: 100px;
    text-align: center;
    height: 30px;
    line-height: 2;
        }
        h2.notice_points {
    background: #fff7f0;
    font-size: 20px;
    padding: 20px;
    border-radius: 50px;
    color: #c09873;
}
/* تنسيق responsive */
@media (max-width: 768px) {
    .table-coupons-custom {
        font-size: 12px;
    }
    
    .table-coupons-custom th,
    .table-coupons-custom td {
        padding: 10px 8px;
    }
}
        @media (max-width: 599px) {

.profile-actions{
    flex-direction: column;
    gap: 0 !important;
    align-items: flex-start;
}

.profile-name >div{
    margin-left: 100px;
}
.profile-name{
margin-left: 135px;
    text-align: left;
}

.breadcrumb{
    font-size: 12px !important;
}

.dashboard-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .dashboard-card .card-title {
    font-size: 14px !important;
}
.profile-actions>div{
    margin: 0 !important;
    margin-left: 125px !important; 
 text-align: left !important;
 font-size: 10px;
}

.profile-name{
    font-size: 12px !important;
}

.profile-actions a{
    margin-left: 0 !important;
}
h2.notice_points{
    font-size: 12px;
}


.woocommerce-account.woocommerce-page .page .entry-content {
    /* width: 1329px; */
    /* max-width: 100%; */
    margin-top: 60px !important;
    padding: 0 !important;
    margin: 15px !important;
    width: 100% !important;
    position: relative !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
    box-sizing: border-box !important;
}

.commandes-processing-container{
    max-height: 300px;
  overflow: auto;
  display: block;
}
        }




