:root {
	--secondary-color: #4187FF;
	--accent-color: #555;
	--warning-color: #FDB022;
	--error-color: #F04438;
	--bg-primary: #F9FAFB;
	--bg-secondary: #f1f1f1 ;
	--bg-card: #ffffff;
	--text-primary: #101828;
	--text-secondary: #394959;
	--text-light: #667085;
	--border-color: #ddd;
}
.page-content {
    padding: 25px;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 75%;
}
.woocommerce {
    display: flex;
    gap: 20px;
}
.header_myaccount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.header-title {
 font-size: 18px;
 font-weight: 500;
 color: var(--text-primary);
 margin: 0 0 5px 0;
}

.header_myaccount p {
 margin: 0;
 color: var(--text-light);
 font-size: 18px;
}

.header-actions {
 display: flex;
 align-items: center;
 gap: 20px;
}

/* استایل منوی پروفایل */
.profile-menu {
 display: flex;
 align-items: center;
 gap: 10px;
 cursor: pointer;
 padding: 8px 12px;
 border-radius: 8px;
 transition: background-color 0.3s;
}

.profile-menu:hover {
 background-color: var(--bg-secondary);
}

.profile-avatar {
 width: 40px;
 height: 40px;
 background-color: var(--accent-color);
 color: white;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-weight: bold;
 font-size: 14px;
}


.profile-menu div:last-child div:first-child {
 font-weight: bold;
 font-size: 14px;
 color: var(--text-primary);
}

.profile-menu div:last-child div:last-child {
 font-size: 16px;
 color: var(--text-light);
}

/* استایل باکس اعلان‌ها */
.notifications-container {
 position: absolute;
 top: 60px;
 right: 20px;
 width: 350px;
 background-color: var(--bg-card);
 border-radius: 8px;
 z-index: 1000;
}

.notifications-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 15px 20px;
 border-bottom: 1px solid #eee;
}

.notifications-header h3 {
 margin: 0;
 font-size: 16px;
 color: var(--text-light);
}

.close-notifications {
 background: none;
 border: none;
 font-size: 20px;
 cursor: pointer;
 color: var(--text-light);
}

.notifications-content {
 max-height: 350px;
 overflow-y: auto;
 padding: 10px 0;
}

.loading-notifications {
 text-align: center;
 padding: 20px;
 color: var(--text-light);
}

.custom-account-sidebar {
    position: sticky;
    top: 30px;
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

/* بخش پروفایل کاربر */
.user-profile-section {
    padding: 24px 20px;
    background: #1b263b;
    color: white;
    position: relative;
}

.user-profile-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.user-profile-section::after {
    content: '';
    position: absolute;
    bottom: -70px;
    left: -70px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    z-index: 1;
}

.user-avatar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.user-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.avatar-initials {
    font-size: 28px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}

.online-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #22C55E;
    border: 3px solid white;
    position: absolute;
    bottom: 0;
    right: 5px;
}

.user-info {
    text-align: center;
    position: relative;
    z-index: 2;
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 0;
}

.user-points-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.points-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.points-value {
    font-size: 20px;
    font-weight: 700;
}

.points-label {
    font-size: 12px;
    opacity: 0.9;
}


/* استایل‌های داشبورد */
.my__dashboard-stats-wrapper {
    /*max-width: 1200px;*/
    margin: 15px auto 0 auto;
}

/* گرید کارت‌های آماری */
.my__dashboard-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

/* کارت آماری پایه */
.my__dashboard-stat-card {
	background: var(--bg-card);
	border-radius: 15px;
	padding: 24px;
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.my__dashboard-stat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
	transform: translateX(-100%);
	transition: transform 0.3s ease;
}



/* هدر کارت */
.my__dashboard-stat-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.my__dashboard-stat-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
}

/* آیکون‌های مخصوص هر کارت */
.my__dashboard-stat-card.total .my__dashboard-stat-icon {
	background: linear-gradient(135deg, var(--secondary-color), #2A5FE8);
}

.my__dashboard-stat-card.success .my__dashboard-stat-icon {
	background: linear-gradient(135deg, #22C55E, #16A34A);
}

.my__dashboard-stat-card.failed .my__dashboard-stat-icon {
	background: linear-gradient(135deg, var(--error-color), #DC2626);
}

/* المان‌های کمکی هدر */
.my__dashboard-stat-trend {
	padding: 4px 8px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
}

.my__dashboard-stat-trend.positive {
	background: rgba(34, 197, 94, 0.1);
	color: #22C55E;
}

/* محتوای کارت */
.my__dashboard-stat-content h3 {
	font-size: 14px;
	color: var(--text-secondary);
	font-weight: 500;
	margin: 0 0 8px 0;
}

.my__dashboard-stat-number {
	font-size: 28px;
	font-weight: 700;
	color: var(--text-primary);
	line-height: 1.2;
	margin-bottom: 4px;
}

.my__dashboard-stat-desc {
	font-size: 12px;
	color: var(--text-light);
	margin: 0;
}

/* بخش منوی ناوبری */

.account-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-navigation li {
    position: relative;
    margin: 4px 0;
    transition: all 0.2s ease;
}

.account-navigation li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 15px 0 0 15px;
    margin-left: 20px;
}

.account-navigation li a:hover {
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.account-navigation li.active a {
    color: var(--accent-color);
    background: var(--bg-secondary);
    font-weight: 600;
}bg-secondary

.active-indicator {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: #f9520e;
    border-radius: 4px 0 0 4px;
}

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    width: 24px;
    height: 24px;
    color: inherit;
}

.menu-text {
    flex: 1;
}

.menu-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    background-color: #f9520e);
    color: white;
    font-size: 12px;
    font-weight: 400;
    padding: 0 6px;
}





.user-avatar:hover {
    animation: pulse 1.5s infinite;
}
/* استایل‌های صفحه سفارشات */


/* هدر صفحه */
.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--e-a-bg-active);
}

.orders-title h2 {
 font-size: 24px;
 font-weight: 700;
 color: var(--text-primary);
 margin: 0;
}

.orders-title p {
 color: var(--text-secondary);
 margin: 0;
 font-size: 14px;
}

.orders-summary {
 display: flex;
 gap: 24px;
}

.summary-item {
 text-align: center;
 padding: 16px 20px;
 border-radius: 12px;
 min-width: 100px;
}

.summary-item.completed {
 background: rgba(34, 197, 94, 0.1);
 color: #16A34A;
}

.summary-item.pending {
 background: rgba(253, 176, 34, 0.1);
 color: var(--warning-color);
}

.summary-count {
 display: block;
 font-size: 28px;
 font-weight: 700;
 line-height: 1;
 margin-bottom: 4px;
}

.summary-label {
 font-size: 12px;
 font-weight: 500;
 opacity: 0.8;
}

/* تب‌ها */
.orders-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: var(--bg-card);
    padding: 8px;
    border-radius: 12px;
    border: 1px solid var(--e-a-bg-active);
}

.tab-button {
 display: flex;
 align-items: center;
 gap: 8px;
 padding: 12px 20px;
 background: var(--bg-secondary);
 border: none;
 border-radius: 8px;
 cursor: pointer;
 font-size: 14px;
 font-weight: 500;
 color: var(--text-secondary);
 transition: all 0.2s ease;
 flex: 1;
 justify-content: center;
}

.tab-button:hover {
 background: var(--bg-primary);
 color: var(--text-primary);
}

.tab-button.active {
 background: #727272;
 color: white;
}

@media (max-width: 480px) {
    .tab-button {
        justify-content: center !important;
    }
}

.tab-icon {
 display: flex;
 align-items: center;
}

.tab-badge {
 background: rgba(255, 255, 255, 0.2);
 color: inherit;
 padding: 2px 8px;
 border-radius: 12px;
 font-size: 12px;
 font-weight: 600;
 min-width: 20px;
 text-align: center;
}

.tab-button.active .tab-badge {
 background: rgba(255, 255, 255, 0.3);
}

/* محتوای تب‌ها */
.tab-content {
 display: none;
}

.tab-content.active {
 display: block;
}

/* گرید سفارشات */
.orders-grid {
 display: grid;
 gap: 10px;
}

/* کارت سفارش */
.order-card {
 background: var(--bg-card);
 border-radius: 16px;
 padding: 15px;
 border: 1px solid transparent;
 transition: all 0.3s ease;
 position: relative;
 overflow: hidden;
}
.order-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.order-card:hover {
 transform: translateY(-2px);
 box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.order-card.completed {
 border-color: rgba(34, 197, 94, 0.2);
}

.order-card.pending {
 border-color: rgba(253, 176, 34, 0.2);
}

/* هدر کارت سفارش */
.order-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 5px;
}

.order-number {
 font-size: 18px;
 font-weight: 700;
 color: var(--text-primary);
 display: flex;
 align-items: center;
 gap: 4px;
}

.order-hash {
 color: var(--text-light);
 font-weight: 400;
}


.order-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 300;
}

.order-status.completed {
 background: rgba(34, 197, 94, 0.1);
 color: #16A34A;
}

.order-status.processing {
 background: rgba(59, 130, 246, 0.1);
 color: var(--secondary-color);
}

.order-status.pending {
 background: rgba(253, 176, 34, 0.1);
 color: var(--warning-color);
}

.order-status.cancelled,
.order-status.failed {
 background: rgba(239, 68, 68, 0.1);
 color: var(--error-color);
}

.order-status.on-hold {
 background: rgba(107, 114, 128, 0.1);
 color: #6B7280;
}

.order-status.refunded {
 background: rgba(139, 69, 19, 0.1);
 color: #8B4513;
}

/* خلاصه سفارش */
.order-summary {
    margin-bottom: 8px;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 12px 4px 12px 12px;
}

.order-items-preview {
 display: flex;
 align-items: center;
 gap: 8px;
 margin-bottom: 12px;
}

.items-count {
 font-size: 12px;
 font-weight: 600;
 color: var(--accent-color);
 background: rgba(62, 188, 239, 0.1);
 padding: 4px 8px;
 border-radius: 6px;
}

.first-item {
 font-size: 14px;
 color: var(--text-secondary);
 font-weight: 500;
}

.order-total {
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.total-label {
 font-size: 14px;
 color: var(--text-secondary);
}

.total-amount {
 font-size: 16px;
 font-weight: 700;
 color: var(--text-primary);
}

/* اقدامات سفارش */
.order-actions {
 display: flex;
 gap: 12px;
 align-items: center;
}

.expand-btn {
 flex: 1;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 padding: 10px 16px;
 background: var(--bg-primary);
 border: 1px solid var(--border-color);
 border-radius: 8px;
 cursor: pointer;
 font-size: 14px;
 font-weight: 500;
 color: var(--text-secondary);
 transition: all 0.2s ease;
}

.expand-btn:hover {
 background: #727272;
 color: white;
}

.expand-btn.expanded {
 background: #727272;
 color: white;
}

.expand-btn.expanded .expand-icon {
 transform: rotate(180deg);
}

.expand-icon {
 transition: transform 0.2s ease;
}

.view-btn,
.pay-btn {
 display: flex;
 align-items: center;
 gap: 6px;
 padding: 9px 16px;
 border-radius: 8px;
 text-decoration: none;
 font-size: 14px;
 font-weight: 500;
 transition: all 0.2s ease;
}

.view-btn {
 background: rgba(59, 130, 246, 0.1);
 color: var(--secondary-color);
 border: 1px solid rgba(59, 130, 246, 0.2);
}

.view-btn:hover {
 background: var(--secondary-color);
 color: white;
 border-color: var(--secondary-color);
}

.pay-btn {
 background: rgba(34, 197, 94, 0.1);
 color: #16A34A;
 border: 1px solid rgba(34, 197, 94, 0.2);
}

.pay-btn:hover {
 background: #16A34A;
 color: white;
 border-color: #16A34A;
}

/* جزئیات سفارش */
.order-details {
 display: none;
 margin-top: 20px;
 padding-top: 20px;
 border-top: 1px solid var(--border-color);
 animation: slideDown 0.3s ease;
}

.order-details.show {
 display: block;
}

.details-header h4 {
 font-size: 16px;
 font-weight: 600;
 color: var(--text-primary);
 margin: 0 0 20px 0;
}

.details-section {
 margin-bottom: 24px;
}

.details-section h5 {
 font-size: 14px;
 font-weight: 600;
 color: var(--text-primary);
 margin: 0 0 12px 0;
}

.info-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 12px;
}

.info-item {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 8px 12px;
 background: var(--bg-primary);
 border-radius: 8px;
}

.info-item .label {
 font-size: 13px;
 color: var(--text-light);
}

.info-item .value {
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    padding: 2px 10px;
}

.items-list {
 background: var(--bg-primary);
 border-radius: 8px;
 overflow: hidden;
}

.item-row {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 12px 16px;
 border-bottom: 1px solid var(--border-color);
}

.item-row:last-child {
 border-bottom: none;
}

.item-name {
 font-size: 14px;
 font-weight: 500;
 color: var(--text-primary);
 display: block;
 margin-bottom: 4px;
}

.item-quantity {
 font-size: 12px;
 color: var(--text-light);
}

.item-price {
 font-size: 14px;
 font-weight: 600;
 color: var(--text-primary);
}

.order-totals {
 background: var(--bg-primary);
 border-radius: 8px;
 padding: 16px;
}

.total-row {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 8px 0;
 font-size: 14px;
}

.total-row.final {
 border-top: 2px solid var(--border-color);
 margin-top: 8px;
 padding-top: 12px;
 font-weight: 700;
 font-size: 16px;
 color: var(--text-primary);
}

/* حالت خالی */
.empty-state,
.empty-orders {
 text-align: center;
 padding: 60px 20px;
 background: var(--bg-card);
 border-radius: 16px;
 box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.empty-icon {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 80px;
 height: 80px;
 background: var(--bg-primary);
 border-radius: 50%;
 color: var(--text-light);
 margin-bottom: 24px;
}

.empty-state h3,
.empty-orders h3 {
 font-size: 18px;
 font-weight: 600;
 color: var(--text-primary);
 margin: 0 0 8px 0;
}

.empty-state p,
.empty-orders p {
 color: var(--text-secondary);
 margin: 0 0 24px 0;
}

.shop-btn {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 12px 24px;
 background: var(--accent-color);
 color: white;
 text-decoration: none;
 border-radius: 8px;
 font-weight: 500;
 transition: all 0.2s ease;
}

.shop-btn:hover {
 transform: translateY(-1px);
}



/* استایل‌های صفحه ویرایش حساب کاربری */


/* فرم */
.edit-account {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--e-a-bg-active);
}

/* بخش‌های فرم */
.form-section {
 padding: 32px;
 border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
 border-bottom: none;
}

.section-header {
 display: flex;
 align-items: flex-start;
 gap: 16px;
 margin-bottom: 24px;
}

.section-icon {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 48px;
 height: 48px;
 border-radius: 12px;
 background: var(--bg-secondary);
 color: var(--accent-color);
 flex-shrink: 0;
}

.section-header h3 {
 font-size: 20px;
 font-weight: 600;
 color: var(--text-primary);
 margin: 0 0 4px 0;
}

.section-header p {
 color: var(--text-secondary);
 margin: 0;
 font-size: 14px;
}

/* گرید فرم */
.form-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
 gap: 24px;
}

.form-group.full-width {
 grid-column: 1 / -1;
}

/* گروه‌های فرم */
.form-group {
 position: relative;
}

.form-group label {
 display: flex;
 align-items: center;
 justify-content: space-between;
 font-size: 14px;
 font-weight: 600;
 color: var(--text-primary);
 margin-bottom: 8px;
}

.label-text {
 flex: 1;
}

.label-icon {
 display: flex;
 align-items: center;
 color: var(--text-light);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
 width: 100%;
 padding: 14px 16px;
 border: 1px solid var(--border-color);
 border-radius: 12px;
 font-size: 16px;
 background: var(--bg-card);
 color: var(--text-primary);
 transition: all 0.3s ease;
 box-sizing: border-box;
}

.form-group input:focus {
 outline: none;
 border-color: #ddd;
}

.form-group input:hover {
 border-color: #ddd;
}

.form-help {
 display: block;
 margin-top: 6px;
 font-size: 12px;
 color: var(--text-light);
 line-height: 1.4;
}
.woocommerce-password-strength.bad {
    background-color: #f9ceb8;
    border-color: #f78b53;
}

.woocommerce-password-strength {
    font-size: 1em;
    border-radius: 10px;
    padding: 7px 12px;
    margin-top: 5px;
}
/* بخش رمز عبور */
.password-section {
 background: var(--bg-primary);
 border-radius: 16px;
 padding: 24px;
}


.password-checkbox {
 display: none;
}

.password-label {
 display: flex;
 align-items: center;
 gap: 12px;
 cursor: pointer;
 font-size: 16px;
 font-weight: 500;
 color: var(--text-primary);
 user-select: none;
}

.checkbox-custom {
 width: 20px;
 height: 20px;
 border: 2px solid #b18535;
 border-radius: 6px;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: all 0.2s ease;
 position: relative;
}

.checkbox-custom::after {
 content: '';
 width: 12px;
 height: 12px;
 border-radius: 3px;
 background: var(--accent-color);
 transform: scale(0);
 transition: transform 0.2s ease;
}
.woocommerce-account span.label-icon {
    display: none;
}

.password-checkbox:checked + .password-label .checkbox-custom {
 border-color: #b18535;
 background: rgba(62, 188, 239, 0.1);
}

.password-checkbox:checked + .password-label .checkbox-custom::after {
 transform: scale(1);
}

.password-fields {
 transition: all 0.3s ease;
 overflow: hidden;
}

.password-input-wrapper {
 position: relative;
}

.password-input-wrapper input {
 padding-left: 50px;
}

.password-toggle-btn {
 position: absolute;
 left: 16px;
 top: 50%;
 transform: translateY(-50%);
 background: none;
 border: none;
 cursor: pointer;
 color: var(--text-light);
 padding: 0;
 display: flex;
 align-items: center;
 justify-content: center;
}

.password-toggle-btn:hover {
 color: var(--text-primary);
}

/* قدرت رمز عبور */
.password-strength {
 margin-top: 8px;
 height: 4px;
 border-radius: 2px;
 overflow: hidden;
 position: relative;
}

.password-strength::after {
 content: '';
 position: absolute;
 top: 0;
 right: 0;
 height: 100%;
 border-radius: 2px;
 transition: all 0.3s ease;
}

.password-strength.weak::after {
 width: 33%;
 background: var(--error-color);
}

.password-strength.medium::after {
 width: 66%;
 background: var(--warning-color);
}

.password-strength.strong::after {
 width: 100%;
 background: #22C55E;
}

.password-match {
 margin-top: 8px;
 font-size: 12px;
 font-weight: 500;
}

.password-match.match {
 color: #22C55E;
}

.password-match.no-match {
 color: var(--error-color);
}

/* الزامات رمز عبور */
.password-requirements {
 margin-top: 20px;
 padding: 16px;
 background: var(--bg-card);
 border-radius: 12px;
 border: 1px solid var(--border-color);
}

.password-requirements h4 {
 font-size: 14px;
 font-weight: 600;
 color: var(--text-primary);
 margin: 0 0 12px 0;
}

.password-requirements ul {
 list-style: none;
 padding: 0;
 margin: 0;
}

.password-requirements li {
 display: flex;
 align-items: center;
 gap: 8px;
 padding: 4px 0;
 font-size: 13px;
 color: var(--text-secondary);
 position: relative;
}

.password-requirements li::before {
 content: '✕';
 color: var(--error-color);
 font-weight: bold;
 width: 16px;
 text-align: center;
}

.password-requirements li.valid::before {
 content: '✓';
 color: #22C55E;
}

/* دکمه‌های عملیات */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    margin: 0;
}

.save-button, .woocommerce button.button {
 display: flex;
 align-items: center;
 gap: 8px;
 padding: 14px 28px;
 background: var(--accent-color);
 color: white;
 border: none;
 border-radius: 12px;
 font-size: 16px;
 font-weight: 600;
 cursor: pointer;
 transition: all 0.2s ease;
 text-decoration: none;
}

.save-button:hover, .woocommerce button.button:hover {
 background: #727272;
 transform: translateY(-1px);
 color: #fff;
}

.cancel-button {
 display: flex;
 align-items: center;
 gap: 8px;
 padding: 14px 28px;
 background: transparent;
 color: var(--text-secondary);
 border: 2px solid var(--border-color);
 border-radius: 12px;
 font-size: 16px;
 font-weight: 500;
 cursor: pointer;
 transition: all 0.2s ease;
 text-decoration: none;
}

.cancel-button:hover {
 color: var(--error-color);
 border-color: var(--error-color);
 background: rgba(240, 68, 56, 0.05);
}


.password-fields.show {
 display: block;
 animation: fadeIn 0.3s ease;
}

/* ویرایش آدرس */
.woocommerce-address-fields input#billing_first_name, .woocommerce-address-fields input#billing_last_name, .woocommerce-address-fields input#billing_phone, .woocommerce-address-fields input#billing_email, .woocommerce-address-fields input#billing_address_1, .woocommerce-address-fields input#billing_postcode, span.select2-selection.select2-selection--single, .woocommerce form .form-row .input-text, .woocommerce form .form-row select {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.woocommerce-address-fields input:focus {
 outline: none;
 border: 1px solid var(--border-color);
}
.woocommerce-address-fields input:focus {
 border: 1px solid var(--border-color);
}
.woocommerce form .form-row .input-text:focus, .woocommerce form .form-row select:focus {
    border: 1px solid var(--border-color);
}

/* استایل‌های صفحه جزئیات سفارش */
/* هدر سفارش */
.order-headerss, ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.order-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.order-infoViewOrder {
    display: flex;
    gap: 8px;
}


.order-number {
	display: flex;
	align-items: center;
	gap: 8px;
}

.order-label {
	font-size: 14px;
	color: var(--text-secondary);
	font-weight: 500;
}

.order-value {
	font-size: 20px;
	font-weight: 700;
	color: var(--text-primary);
}

.order-date {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--text-light);
}

.order-status .status-badge {
    border-radius: 10px;
    font-weight: 400;
}

.status-pending {
	background: rgba(253, 176, 34, 0.1);
	color: var(--warning-color);
	border: 1px solid rgba(253, 176, 34, 0.2);
}

.status-processing {
	background: rgba(65, 135, 255, 0.1);
	color: var(--secondary-color);
	border: 1px solid rgba(65, 135, 255, 0.2);
}

.status-completed {
	background: rgba(34, 197, 94, 0.1);
	color: #22C55E;
	border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-cancelled {
	background: rgba(240, 68, 56, 0.1);
	color: var(--error-color);
	border: 1px solid rgba(240, 68, 56, 0.2);
}

.status-failed {
	background: rgba(240, 68, 56, 0.1);
	color: var(--error-color);
	border: 1px solid rgba(240, 68, 56, 0.2);
}

.status-on-hold {
	background: rgba(156, 163, 175, 0.1);
	color: #9CA3AF;
	border: 1px solid rgba(156, 163, 175, 0.2);
}



.order-action-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
	border: 1px solid var(--border-color);
	background: var(--bg-card);
	color: var(--text-secondary);
}

.order-action-btn:hover {
	background: var(--accent-color);
	color: white;
	border-color: var(--accent-color);
	transform: translateY(-1px);
}

.order-action-btn.pay {
	background: var(--secondary-color);
	color: white;
	border-color: var(--secondary-color);
}

.order-action-btn.cancel {
	background: rgba(240, 68, 56, 0.1);
	color: var(--error-color);
	border-color: rgba(240, 68, 56, 0.2);
}

/* محتوای سفارش */
.order-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.order-section {
	background: var(--bg-card);
	border-radius: 16px;
	padding: 24px;
	border: 1px solid var(--border-color);
}


.section-title {
	display: flex;
	align-items: center;
	gap: 12px;
}

.section-title svg {
	color: var(--accent-color);
}


/* آیتم‌های سفارش */
.order-items {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.order-item {
	display: flex;
	gap: 16px;
	padding: 16px;
	background: var(--bg-primary);
	border-radius: 12px;
	border: 1px solid var(--border-color);
}

.item-image {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--bg-card);
	display: flex;
	align-items: center;
	justify-content: center;
}

.item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
p.order-again {
    display: none;
}
.no-image {
	color: var(--text-light);
}

.item-details {
	flex: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.item-info {
	flex: 1;
}

.item-name {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-primary);
	margin: 0 0 8px 0;
}

.item-name a {
	color: var(--text-primary);
	text-decoration: none;
}

.item-name a:hover {
	color: var(--accent-color);
}

.item-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.meta-item {
	font-size: 12px;
	color: var(--text-light);
}

.item-pricing {
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 8px;
}



.quantity-label,
.price-label {
	font-size: 12px;
	color: var(--text-secondary);
}

.quantity-value {
	background: var(--accent-color);
	color: white;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
}

.price-value {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-primary);
}




.total-row.order-total {
	background: var(--bg-primary);
	margin: 8px -12px -12px;
	padding: 16px 12px;
	border-radius: 0 0 12px 12px;
	border: none;
}



.total-value {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-primary);
}

.order-total .total-label,
.order-total .total-value {
	font-size: 16px;
	font-weight: 700;
	color: var(--text-primary);
}

/* گرید اطلاعات */
.order-details-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

/* اطلاعات پرداخت */
.payment-info,
.shipping-address {
	display: flex;
	flex-direction: column;
	gap: 12px;
}


.info-label {
	font-size: 14px;
	color: var(--text-secondary);
	font-weight: 500;
}

.info-value {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-primary);
}

/* آدرس ارسال */
.shipping-address address {
	font-style: normal;
	line-height: 1.6;
	color: var(--text-primary);
	background: var(--bg-primary);
	padding: 16px;
	border-radius: 8px;
	border: 1px solid var(--border-color);
}

.shipping-phone {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text-secondary);
	font-size: 14px;
}

/* یادداشت‌های سفارش */
.order-notes {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.order-note {
	background: var(--bg-primary);
	border-radius: 12px;
	padding: 16px;
	border: 1px solid var(--border-color);
}

.note-header {
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--border-color);
}

.note-date {
	font-size: 12px;
	color: var(--text-light);
	font-weight: 500;
}

.note-content {
	color: var(--text-primary);
	line-height: 1.6;
}

.note-content p:last-child {
	margin-bottom: 0;
}

/* فوتر */
.order-footer {
	margin-top: 32px;
	text-align: center;
}

.back-to-orders {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	background: var(--bg-card);
	border: 2px solid var(--border-color);
	border-radius: 12px;
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.2s ease;
}

.back-to-orders:hover {
	background: var(--accent-color);
	color: white;
	border-color: var(--accent-color);
	transform: translateY(-1px);
}

/* هدر صفحه */
.my__address-header {
	background: var(--accent-color);
	border-radius: 20px;
	padding: 32px;
	margin-bottom: 32px;
	color: white;
	position: relative;
	overflow: hidden;
}




.my__address-header-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	position: relative;
	z-index: 1;
}

.my__address-title-section {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.my__address-icon {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 16px;
	padding: 16px;
	backdrop-filter: blur(10px);
}

.my__address-title-text h2 {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 8px 0;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.my__address-title-text p {
	font-size: 16px;
	opacity: 0.9;
	margin: 0;
	line-height: 1.5;
}

.my__address-stats {
	text-align: center;
}

.my__address-stat-item {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	padding: 20px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.my__address-stat-number {
	display: block;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 4px;
}

.my__address-stat-label {
	font-size: 14px;
	opacity: 0.9;
	font-weight: 500;
}

/* گرید آدرس‌ها */
.my__address-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 24px;
	margin-bottom: 32px;
}

/* کارت آدرس */
.my__address-card {
	background: var(--bg-card);
	border-radius: 20px;
	padding: 0;
	border: 1px solid var(--border-color);
	overflow: hidden;
}


/* هدر کارت */
.my__address-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 24px 0;
}

.my__address-card-title {
	display: flex;
	align-items: center;
	gap: 12px;
}

.my__address-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--bg-secondary);
	border-radius: 12px;
	color: var(--accent-color);
}

.my__address-card-title h3 {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-primary);
	margin: 0;
}

.my__address-status-badge {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.my__address-status-badge.active {
	background: rgba(34, 197, 94, 0.1);
	color: #22C55E;
	border: 1px solid rgba(34, 197, 94, 0.2);
}

.my__address-status-badge.inactive {
	background: rgba(156, 163, 175, 0.1);
	color: #9CA3AF;
	border: 1px solid rgba(156, 163, 175, 0.2);
}

/* محتوای کارت */
.my__address-card-content {
	padding: 20px 24px;
	min-height: 120px;
	display: flex;
	align-items: center;
}

.my__address-info {
	width: 100%;
}

.my__address-info address {
	font-style: normal;
	line-height: 1.6;
	color: var(--text-primary);
	background: var(--bg-primary);
	padding: 16px;
	border-radius: 12px;
	border: 1px solid var(--border-color);
	margin: 0;
}

/* حالت خالی */
.my__address-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	padding: 20px;
}

.my__address-empty-icon {
	margin-bottom: 16px;
	color: var(--text-light);
	opacity: 0.6;
}

.my__address-empty-text h4 {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-secondary);
	margin: 0 0 8px 0;
}

.my__address-empty-text p {
	font-size: 14px;
	color: var(--text-light);
	margin: 0;
	line-height: 1.4;
}

/* اکشن‌های کارت */
.my__address-card-actions {
	display: flex;
	gap: 12px;
	padding: 0 24px 24px;
}

.my__address-action-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	flex: 1;
	justify-content: center;
}

.my__address-action-btn.primary {
	background: #727272;
	color: white;
}

.my__address-action-btn.primary:hover {
	background: #727272;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px #cfcfcf4d;
}

.my__address-action-btn.secondary {
	background: var(--bg-primary);
	color: #727272;
	border: 1px solid var(--border-color);
}

.my__address-action-btn.secondary:hover {
	background: #f9fafb;
	color: #727272;
}

/* راهنمای کاربری */
.my__address-help {
	background: var(--bg-card);
	border-radius: 16px;
	padding: 24px;
	border: 1px solid var(--border-color);
}

.my__address-help-content {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.my__address-help-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.my__address-help-text h4 {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-primary);
	margin: 0 0 16px 0;
}

.my__address-help-text ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.my__address-help-text li {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.5;
	padding-right: 16px;
	position: relative;
}

.my__address-help-text li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    right: 0;
    font-weight: bold;
}

.my__address-help-text strong {
	color: var(--text-primary);
	font-weight: 600;
}

.my__address-copy-btn.copied {
	animation: copied 0.3s ease;
	background: #22C55E !important;
	color: white !important;
}



/* Sidebar Styling */
.woo-wallet-sidebar {
    background: var(--bg-card) !important;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.woo-wallet-sidebar-heading {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.woo-wallet-sidebar-heading a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.woo-wallet-sidebar-heading a:hover {
    color: var(--secondary-color);
}

.woo-wallet-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.woo-wallet-sidebar .card {
    background: none !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 0 0 1px #f2f2f2 !important;
    margin: 0 15px;
}


.woo-wallet-sidebar .card:hover::before {
    opacity: 1;
}
.woo-wallet-sidebar .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px #edf3fe !important;
}

.woo-wallet-sidebar .card a {
    display: flex !important;
    align-items: center;
    padding: 16px 20px !important;
    color: var(--e-a-bg-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.woo-wallet-sidebar .card .dashicons {
    font-size: 20px;
    margin-left: 12px;
    width: 20px;
    height: 20px;
}

.woo-wallet-sidebar .card p {
    margin: 0;
    font-size: 14px;
}

/* Content Area */
.woo-wallet-content {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 32px;
    border: 1px solid var(--border-color);
}

.woo-wallet-content-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.woo-wallet-content-h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
}

.woo-wallet-content-h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.woo-wallet-price {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.woo-wallet-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}



.woo-wallet-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 24px 0;
}

/* Transactions List */
.woo-wallet-transactions-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woo-wallet-transactions-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}



.woo-wallet-transactions-items li > div:first-child p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.woo-wallet-transactions-items li > div:first-child small {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 400;
}

.woo-wallet-transaction-type-credit {
    background: #E8F5E9;
    color: #42c365 !important;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}
input#woo_wallet_balance_to_add {
    border: 1px solid #e8e8e8 !important;
    padding: 12px;
    border-radius: 10px;
    max-width: 96%;
    margin-top: 5px;
}
input.woo-add-to-wallet {
    background: #E8F5E9;
    color: #42c365 !important;
    padding: 7px 30px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
}


/* استایل اصلی کیف پول با کلاس مادر برای جلوگیری از تداخل */
.woocommerce-woo-wallet-transactions .woocommerce-MyAccount-content {
    background-color: var(--bg-card);
    border-radius: 15px;
    margin: 0;
    position: relative;
    overflow: hidden;
}


/* استایل موجودی */
.woocommerce-woo-wallet-transactions .woocommerce-MyAccount-content > p {
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, rgba(65, 135, 255, 0.05), rgba(62, 188, 239, 0.05));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--text-secondary);
    position: relative;
    margin-top: 0;
}

.woocommerce-woo-wallet-transactions .woocommerce-MyAccount-content > p::before {
 content: '💰';
 font-size: 24px;
 margin-left: 15px;
}

.woocommerce-woo-wallet-transactions .woocommerce-Price-amount {
 font-weight: 700;
 color: var(--text-primary);
 margin: 0 8px;
 font-size: 20px;
 background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
}

.woocommerce-woo-wallet-transactions .woocommerce-MyAccount-content > p a {
 margin-right: auto;
 background-color: var(--secondary-color);
 color: white;
 width: 36px;
 height: 36px;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: transform 0.3s ease, background-color 0.3s ease;
}

.woocommerce-woo-wallet-transactions .woocommerce-MyAccount-content > p a:hover {
 transform: rotate(45deg) scale(1.1);
 background-color: var(--accent-color);
}

.woocommerce-woo-wallet-transactions .dashicons-editor-break {
 font-size: 18px;
 width: auto;
 height: auto;
}

/* استایل جدول تراکنش‌ها */
.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details_wrapper {
 background-color: var(--bg-primary);
 border-radius: 12px;
 padding: 20px;
 overflow: hidden;
}

.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details {
 width: 100% !important;
 border-collapse: separate;
 border-spacing: 0;
 margin-top: 15px;
}

.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details thead th {
 color: var(--text-primary);
 font-weight: 600;
 text-align: right;
 padding: 15px 20px;
 border-bottom: 1px solid var(--border-color);
 position: relative;
}


.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details tbody tr {
 transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details tbody td {
 padding: 15px 20px;
 color: var(--text-secondary);
 vertical-align: middle;
}

.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details tbody tr:last-child td {
 border-bottom: none;
}

/* استایل نوع تراکنش */
.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details mark.credit {
 background: rgba(62, 188, 239, 0.1);
 padding: 5px 12px;
 border-radius: 10px;
 font-size: 14px;
 display: inline-block;
}

/* استایل فیلترها */
.woocommerce-woo-wallet-transactions .dataTables_length,
.woocommerce-woo-wallet-transactions .dataTables_filter {
 margin-bottom: 15px;
 padding: 10px 0;
}

.woocommerce-woo-wallet-transactions .dataTables_length label,
.woocommerce-woo-wallet-transactions .dataTables_filter label {
 display: flex;
 align-items: center;
 color: var(--text-secondary);
 font-size: 14px;
}

.woocommerce-woo-wallet-transactions .dataTables_length select,
.woocommerce-woo-wallet-transactions .dataTables_filter input {
 margin: 0 8px;
 padding: 8px 12px;
 border: 1px solid var(--border-color);
 border-radius: 8px;
 background-color: var(--bg-card);
 color: var(--text-primary);
 transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce-woo-wallet-transactions .dataTables_length select:focus,
.woocommerce-woo-wallet-transactions .dataTables_filter input:focus {
 border-color: var(--secondary-color);
 box-shadow: 0 0 0 3px rgba(65, 135, 255, 0.15);
 outline: none;
}

/* استایل صفحه‌بندی */
.woocommerce-woo-wallet-transactions .dataTables_paginate {
 margin-top: 20px;
 display: flex;
 align-items: center;
 justify-content: center;
}

.woocommerce-woo-wallet-transactions .paginate_button {
    padding: 8px 15px !important;
    margin: 0 5px !important;
    border-radius: 8px !important;
    text-decoration: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    background: #e8f4f9 !important;
    border: none !important;
}
table.dataTable.no-footer {
    border-bottom: 1px solid rgb(232 244 249) !important;
}
.woocommerce-woo-wallet-transactions .paginate_button.previous,
.woocommerce-woo-wallet-transactions .paginate_button.next {
 background-color: var(--bg-secondary);
 border: 1px solid var(--border-color);
}

.woocommerce-woo-wallet-transactions .paginate_button.current {
 background: var(--secondary-color);
 color: white;
 font-weight: 600;
 border: none;
 position: relative;
 overflow: hidden;
}

.woocommerce-woo-wallet-transactions .paginate_button.current::after {
 content: '';
 position: absolute;
 top: 50%;
 left: 50%;
 width: 120%;
 height: 120%;
 background: rgba(255, 255, 255, 0.2);
 border-radius: 50%;
 transform: translate(-50%, -50%) scale(0);
 transition: transform 0.5s ease;
}

.woocommerce-woo-wallet-transactions .paginate_button.current:hover::after {
 transform: translate(-50%, -50%) scale(1);
}

.woocommerce-woo-wallet-transactions .paginate_button:not(.current):not(.disabled):hover {
 background-color: var(--bg-secondary);
 color: var(--secondary-color);
}

.woocommerce-woo-wallet-transactions .paginate_button.disabled {
 opacity: 0.5;
 cursor: not-allowed;
}

/* استایل تعداد نمایش */
.woocommerce-woo-wallet-transactions .dataTables_info {
 padding: 10px 0;
 color: var(--text-light);
 font-size: 13px;
 text-align: center;
}

/* استایل پردازش */
.woocommerce-woo-wallet-transactions .dataTables_processing {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 padding: 15px 30px;
 background: rgba(255, 255, 255, 0.9);
 border-radius: 8px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
 z-index: 100;
 color: var(--text-primary);
 display: flex;
 align-items: center;
 flex-direction: column;
}

.woocommerce-woo-wallet-transactions .dataTables_processing > div {
 margin-top: 10px;
 width: 40px;
 height: 10px;
 display: flex;
 justify-content: space-between;
}

.woocommerce-woo-wallet-transactions .dataTables_processing > div > div {
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
 animation: wallet-bounce 1.4s infinite ease-in-out both;
}

.woocommerce-woo-wallet-transactions .dataTables_processing > div > div:nth-child(1) {
 animation-delay: -0.32s;
}

.woocommerce-woo-wallet-transactions .dataTables_processing > div > div:nth-child(2) {
 animation-delay: -0.16s;
}


/* افکت‌های ویژه */
.woocommerce-woo-wallet-transactions .woocommerce-Price-amount:hover {
 animation: wallet-pulse 1s infinite;
}

/* سفارشی‌سازی تقویم */
.woocommerce-woo-wallet-transactions .ui-datepicker {
 background: var(--bg-card);
 border: none;
 border-radius: 12px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
 padding: 15px;
}

.woocommerce-woo-wallet-transactions .ui-datepicker .ui-datepicker-header {
 background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
 border: none;
 border-radius: 8px;
 color: white;
}

.woocommerce-woo-wallet-transactions .ui-datepicker .ui-datepicker-title {
 font-weight: 600;
}

.woocommerce-woo-wallet-transactions .ui-datepicker .ui-datepicker-prev,
.woocommerce-woo-wallet-transactions .ui-datepicker .ui-datepicker-next {
 background: rgba(255, 255, 255, 0.2);
 border-radius: 50%;
 cursor: pointer;
 transition: background 0.3s;
}

.woocommerce-woo-wallet-transactions .ui-datepicker .ui-datepicker-prev:hover,
.woocommerce-woo-wallet-transactions .ui-datepicker .ui-datepicker-next:hover {
 background: rgba(255, 255, 255, 0.4);
}

.woocommerce-woo-wallet-transactions .ui-datepicker td {
 padding: 2px;
}

.woocommerce-woo-wallet-transactions .ui-datepicker td a {
 text-align: center;
 border-radius: 4px;
 transition: all 0.3s;
}

.woocommerce-woo-wallet-transactions .ui-datepicker td a.ui-state-default {
 background: none;
 border: 1px solid transparent;
}

.woocommerce-woo-wallet-transactions .ui-datepicker td a.ui-state-highlight {
 background: rgba(65, 135, 255, 0.1);
 border-color: var(--secondary-color);
}

.woocommerce-woo-wallet-transactions .ui-datepicker td a.ui-state-active {
 background: var(--secondary-color);
 color: white;
}

/* بهبود نمایش مبالغ در جدول */
.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details td:nth-child(3) {
 font-weight: 600;
}

/* استایل‌های تکمیلی برای جلوگیری از تداخل با سایر بخش‌ها */
.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details_length select {
 min-width: 80px;
 max-width: 120px;
}

.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details_filter input {
 min-width: 150px;
}

/* استایل خاص برای انواع تراکنش */
.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details td:nth-child(2) {
 text-transform: capitalize;
 font-weight: 500;
}

.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details td:contains("Credit") {
 color: #2E7D32;
}

.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details td:contains("Debit") {
 color: #C62828;
}

/* استایل بهتر برای شناسه تراکنش */
.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details td.sorting_1 {
 font-family: monospace;
 font-size: 15px;
 letter-spacing: 0.5px;
 color: var(--secondary-color);
}

/* استایل برای تاریخ تراکنش */
.woocommerce-woo-wallet-transactions #wc-wallet-transaction-details td:last-child {
 white-space: nowrap;
 font-size: 13px;
}

/* انیمیشن‌ها */
@keyframes slideDown {
 from {
 opacity: 0;
 max-height: 0;
 }
 to {
 opacity: 1;
 max-height: 1000px;
 }
}
/* انیمیشن‌ها */
@keyframes fadeIn {
 from {
 opacity: 0;
 transform: translateY(10px);
 }
 to {
 opacity: 1;
 transform: translateY(0);
 }
}

/* انیمیشن کپی */
@keyframes copied {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}
/* انیمیشن‌ها */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes wallet-bounce {
 0%, 80%, 100% {
 transform: scale(0);
 }
 40% {
 transform: scale(1);
 }
}
@keyframes wallet-pulse {
 0% {
 transform: scale(1);
 }
 50% {
 transform: scale(1.05);
 }
 100% {
 transform: scale(1);
 }
}
@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@media (max-width: 480px) {
		.my__dashboard-stats-grid {
		grid-template-columns: 1fr;
	}
	.my__address-header {
		padding: 20px;
	}
	
	.my__address-title-text h2 {
		font-size: 20px;
	}
	
	.my__address-card {
		border-radius: 16px;
	}
	
	.my__address-card-header,
	.my__address-card-content,
	.my__address-card-actions {
		padding-left: 16px;
		padding-right: 16px;
	}
	
	.my__address-stat-number {
		font-size: 24px;
	}
		.order-value {
		font-size: 18px;
	}
	
	.item-image {
		width: 60px;
		height: 60px;
	}
	 .account-header,
 .form-section {
 padding: 20px;
 }
 
 .section-header {
 flex-direction: column;
 text-align: center;
 }
 .orders-tabs {
 flex-direction: column;
 }
 
 .tab-button {
 justify-content: flex-start;
 }
}
@media (max-width: 991px) {
    .custom-account-sidebar {
        width: 250px;
    }
}
/* پاسخگویی موبایل */
@media (max-width: 768px) {
	.my__dashboard-stats-wrapper {
		padding: 0;
	}
	.woocommerce {
    gap: 0px;
}
	.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
}
	.my__dashboard-stats-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 16px;
	}
	
	.my__dashboard-stat-card {
		padding: 20px;
	}
	
	.my__dashboard-stat-number {
		font-size: 24px;
	}
	
	.my__dashboard-wallet-card {
		padding: 24px;
	}
	
	.my__dashboard-wallet-number,
	.my__dashboard-wallet-shortcode {
		font-size: 28px !important;
	}
	
	.my__dashboard-wallet-actions {
		flex-direction: column;
	}
	.my__address-wrapper {
		padding: 0 16px;
	}
	
	.my__address-header {
		padding: 24px;
	}
	
	.my__address-header-content {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}
	
	.my__address-title-section {
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}
	
	.my__address-title-text h2 {
		font-size: 24px;
	}
	
	.my__address-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	
	.my__address-card-actions {
		flex-direction: column;
	}
	
	.my__address-help-content {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}
		.order-details-wrapper {
		padding: 0 16px;
	}
	
	.order-header-content {
		flex-direction: column;
		gap: 16px;
	}
	

	.order-action-btn {
		flex: 1;
		justify-content: center;
	}
	
	.order-item {
		flex-direction: column;
		text-align: center;
	}
	
	.item-details {
		flex-direction: column;
		gap: 12px;
		align-items: center;
	}
	
	.item-pricing {
		text-align: center;
	}
	
	.order-details-grid {
		grid-template-columns: 1fr;
	}
	
	.order-section {
		padding: 16px;
	}
	.header-content {
 flex-direction: column;
 text-align: center;
 gap: 20px;
 }
 
 .form-grid {
 grid-template-columns: 1fr;
 }
 
 .form-actions {
 flex-direction: column;
 gap: 16px;
 }
 
 .actions-left,
 .actions-right {
 width: 100%;
 }
 
 .save-button,
 .cancel-button {
 width: 100%;
 justify-content: center;
 }
	 .orders-header {
 flex-direction: column;
 align-items: flex-start;
 gap: 20px;
 }
 
 .orders-summary {
 width: 100%;
 justify-content: space-around;
 }
 
 .orders-grid {
 grid-template-columns: 1fr;
 }
 
 .order-actions {
 flex-wrap: wrap;
 }
 
 .expand-btn {
 order: 3;
 width: 100%;
 margin-top: 8px;
 }
 
 .info-grid {
 grid-template-columns: 1fr;
 }
	.custom-account-sidebar {
        position: fixed;
        top: 0;
        right: -300px;
        width: 270px;
        height: 100vh;
        z-index: 1000;
        transition: right 0.3s ease;
        padding-bottom: 0;
    }
    
    .sidebar-open .custom-account-sidebar {
        right: 0;
    }
    
    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }
    
    .sidebar-open .sidebar-backdrop {
        display: block;
    }
    
    /* دکمه همبرگر برای موبایل */
    .mobile-sidebar-toggle {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: var(--accent-color);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        z-index: 998;
        border: none;
        cursor: pointer;
    }
 .header_myaccount {
 flex-direction: column;
 align-items: flex-start;
 gap: 15px;
 }
 
 .header-actions {
 width: 100%;
 justify-content: space-between;
 }
 
 .notifications-container {
 width: calc(100% - 40px);
 right: 20px;
 left: 20px;
 }
}


@keyframes pulse-glow {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
	}
	50% {
		transform: scale(1.05);
		box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
	}
}




@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

