/* Account Page Styles */
.rubikto-account-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 20px;
    direction: rtl;
    background: #fafafa;
    min-height: 100vh;
}

/* Dashboard Summary at Top */
.dashboard-summary {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    margin-bottom: 25px;
}

.dashboard-summary h3 {
    margin: 0 0 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    text-align: right;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.summary-card {
    background: #f5f5f7;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    cursor: default;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    background: #ededf0;
}

.summary-value {
    font-size: 42px;
    font-weight: 800;
    color: #5b4cdb;
    margin-bottom: 10px;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.summary-label {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
}

.user-card {
    background: linear-gradient(135deg, #5b4cdb 0%, #7c3aed 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(91, 76, 219, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.user-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details h2 {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 700;
}

.user-phone {
    margin: 0;
    opacity: 0.85;
    font-size: 13px;
}

.wallet-info {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.wallet-label {
    display: block;
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 10px;
}

.wallet-balance {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
}

.balance-amount {
    font-size: 26px;
    font-weight: 800;
}

.currency {
    font-size: 13px;
    opacity: 0.85;
}

.btn-charge {
    background: white;
    color: #5b4cdb;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-charge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Content Layout */
.account-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 25px;
}

/* Sidebar Navigation */
.account-sidebar {
    order: 1;
}

.account-navigation {
    background: white;
    border-radius: 16px;
    padding: 20px 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.account-navigation nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 10px;
    color: #374151;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 15px;
    font-weight: 500;
    position: relative;
}

.nav-item .nav-icon {
    width: 22px;
    text-align: center;
    font-size: 18px;
    display: inline-block;
    transition: all 0.25s ease;
}

.nav-item:hover {
    background: #f9fafb;
    color: #5b4cdb;
    transform: translateX(-3px);
}

/* Active navigation item */
.nav-item.is-active {
    background: linear-gradient(135deg, #eef2ff 0%, #f3f0ff 100%);
    color: #5b4cdb;
    font-weight: 600;
}



.nav-item.is-active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: #5b4cdb;
    border-radius: 2px 0 0 2px;
}

/* Main Content */
.account-main {
    order: 2;
}

/* Activity Stats */
.activity-stats {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    margin-bottom: 25px;
}

.activity-stats h3 {
    margin: 0 0 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    text-align: right;
    position: relative;
    padding-bottom: 12px;
}

.activity-stats h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: #5b4cdb;
    border-radius: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    background: #f5f5f7;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    background: #ededf0;
}

.stat-value {
    font-size: 42px;
    font-weight: 800;
    color: #5b4cdb;
    margin-bottom: 10px;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.stat-label {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
}

/* Recent Orders */
.recent-orders {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.recent-orders h3 {
    margin: 0 0 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    text-align: right;
    position: relative;
    padding-bottom: 12px;
}

.recent-orders h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: #5b4cdb;
    border-radius: 2px;
}

.orders-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 5px;
}

/* Full width for no-orders message */
.orders-slider .no-orders {
    grid-column: 1 / -1;
    width: 100%;
}

/* Scrollbar styling for orders slider */
.orders-slider::-webkit-scrollbar {
    height: 6px;
}

.orders-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.orders-slider::-webkit-scrollbar-thumb {
    background: #5b4cdb;
    border-radius: 10px;
}

.orders-slider::-webkit-scrollbar-thumb:hover {
    background: #4a3cb8;
}

.order-product-card {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 16px;
    box-shadow: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.order-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    background: #ededf0;
}

.order-product-card a {
    display: block;
    text-decoration: none;
}

.order-product-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.no-orders {
    text-align: center;
    padding: 60px 40px;
    color: #6b7280;
    font-size: 15px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 16px;
    border: 2px dashed #e5e7eb;
    font-weight: 500;
    line-height: 1.6;
    position: relative;
}

.no-orders::before {
    content: '📦';
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}





.woocommerce-MyAccount-content .woocommerce-orders-table + .woocommerce-message::before {
    content: '📦';
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite;
}

/* Downloads empty state */
.woocommerce-MyAccount-content .woocommerce-Message--info::before,
.woocommerce-MyAccount-content .woocommerce-info::before {
    content: '⬇️';
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite;
}

/* Wallet/Payment empty state - check for specific text */
.woocommerce-MyAccount-content .woocommerce-info:has-text('پرداخت')::before,
.woocommerce-MyAccount-content .woocommerce-info:has-text('wallet')::before {
    content: '💳';
}

/* Generic empty state for any WooCommerce notice */
.woocommerce-MyAccount-content .woocommerce-notices-wrapper:empty + p,
.woocommerce-MyAccount-content > p:first-child:last-child {
    text-align: center;
    padding: 60px 40px;
    color: #6b7280;
    font-size: 15px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 16px;
    border: 2px dashed #e5e7eb;
    font-weight: 500;
    line-height: 1.6;
    position: relative;
}

.woocommerce-MyAccount-content > p:first-child:last-child::before {
    content: '📋';
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite;
}

/* Specific empty states based on endpoint */
.woocommerce-account-orders .woocommerce-message::before {
    content: '📦' !important;
}

.woocommerce-account-downloads .woocommerce-message::before,
.woocommerce-account-downloads .woocommerce-info::before {
    content: '⬇️' !important;
}

.woocommerce-account-payment-methods .woocommerce-message::before,
.woocommerce-account-payment-methods .woocommerce-info::before {
    content: '💳' !important;
}

.woocommerce-account .woocommerce-MyAccount-content{
    width: 100% !important;
}

.woocommerce-MyAccount-content table tbody tr td[colspan]:only-child::before {
    content: '📋';
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite;
}


/* Hide WooCommerce content on dashboard */
.woocommerce-MyAccount-content:empty {
    display: none;
}

/* Hide dashboard welcome message */
.woocommerce-MyAccount-content p:first-child:last-child {
    display: none;
}

/* WooCommerce Tables */
.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content table th,
.woocommerce-MyAccount-content table td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid #e5e7eb;
}

.woocommerce-MyAccount-content table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.woocommerce-MyAccount-content table tr:hover {
    background: #f9fafb;
}

/* WooCommerce Buttons */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button {
    background: #5b4cdb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content button:hover {
    background: #4a3cb8;
    transform: translateY(-2px);
}

/* WooCommerce Forms */
.woocommerce-MyAccount-content .form-row {
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content textarea,
.woocommerce-MyAccount-content select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.25s ease;
}

.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content textarea:focus,
.woocommerce-MyAccount-content select:focus {
    outline: none;
    border-color: #5b4cdb;
    box-shadow: 0 0 0 3px rgba(91, 76, 219, 0.1);
}

/* WooCommerce Messages */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-error,
.woocommerce-MyAccount-content .woocommerce-info {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content .woocommerce-message {
    background: #d1fae5;
    color: #065f46;
    border-right: 4px solid #10b981;
}

.woocommerce-MyAccount-content .woocommerce-error {
    background: #fee2e2;
    color: #991b1b;
    border-right: 4px solid #ef4444;
}

.woocommerce-MyAccount-content .woocommerce-info {
    background: #dbeafe;
    color: #1e40af;
    border-right: 4px solid #3b82f6;
}

/* Order Details */
.woocommerce-MyAccount-content .woocommerce-order-details {
    margin-top: 20px;
}

.woocommerce-MyAccount-content .woocommerce-order-details__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

/* Address Cards */
.woocommerce-MyAccount-content .woocommerce-Address {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #374151;
}

/* Edit Account Page Styling */
.woocommerce-account-edit-account .woocommerce-MyAccount-content {
    max-width: 800px;
}

.woocommerce-account-edit-account .woocommerce-EditAccountForm {
    background: white;
    padding: 0;
}

.woocommerce-account-edit-account h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
    position: relative;
}

.woocommerce-account-edit-account h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 60px;
    height: 2px;
    background: #5b4cdb;
}

.woocommerce-account-edit-account .woocommerce-form-row {
    margin-bottom: 20px;
}

.woocommerce-account-edit-account label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.woocommerce-account-edit-account label .required {
    color: #ef4444;
    margin-right: 3px;
}

.woocommerce-account-edit-account input[type="text"],
.woocommerce-account-edit-account input[type="email"],
.woocommerce-account-edit-account input[type="password"],
.woocommerce-account-edit-account input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.25s ease;
    background: #f9fafb;
    color: #111827;
}

.woocommerce-account-edit-account input:focus {
    outline: none;
    border-color: #5b4cdb;
    background: white;
    box-shadow: 0 0 0 4px rgba(91, 76, 219, 0.1);
}

.woocommerce-account-edit-account input:hover {
    border-color: #d1d5db;
    background: white;
}

.woocommerce-account-edit-account .woocommerce-form-row--wide {
    width: 100%;
}

.woocommerce-account-edit-account .woocommerce-form-row--first,
.woocommerce-account-edit-account .woocommerce-form-row--last {
    width: 100%;
}

/* Password fields section */
.woocommerce-account-edit-account fieldset {
    border: none;
    padding: 25px;
    margin: 25px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    border: 2px dashed #e5e7eb;
}

.woocommerce-account-edit-account fieldset legend {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    padding: 0 10px;
    margin-bottom: 15px;
}

/* Save button */
.woocommerce-account-edit-account .woocommerce-Button {
    background: linear-gradient(135deg, #5b4cdb 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(91, 76, 219, 0.3);
    margin-top: 10px;
}

.woocommerce-account-edit-account .woocommerce-Button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 76, 219, 0.4);
    background: linear-gradient(135deg, #4a3cb8 0%, #6b2fd6 100%);
}

.woocommerce-account-edit-account .woocommerce-Button:active {
    transform: translateY(0);
}

/* Success/Error messages in edit account */
.woocommerce-account-edit-account .woocommerce-message {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-right: 4px solid #10b981;
    font-weight: 500;
}

.woocommerce-account-edit-account .woocommerce-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-right: 4px solid #ef4444;
    font-weight: 500;
}

/* Form layout improvements */
.woocommerce-account-edit-account .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.woocommerce-account-edit-account input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #5b4cdb;
}

/* Clear button styling */
.woocommerce-account-edit-account .clear {
    clear: both;
}

/* WooWallet Styling */
.woocommerce-account-woo-wallet .woocommerce-MyAccount-content,
.woocommerce-account-woo-wallet-transactions .woocommerce-MyAccount-content,
.woocommerce-account-woo-wallet-transfer .woocommerce-MyAccount-content {
    background: white;
    border-radius: 16px;
    padding: 35px;
}

/* WooWallet Balance Card */
.woocommerce-account-woo-wallet .woo-wallet-content {
    background: linear-gradient(135deg, #5b4cdb 0%, #7c3aed 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(91, 76, 219, 0.3);
}

.woocommerce-account-woo-wallet .woo-wallet-content h2,
.woocommerce-account-woo-wallet .woo-wallet-content h3 {
    color: white;
    margin: 0 0 15px 0;
}

/* WooWallet Forms */
.woocommerce-account-woo-wallet input[type="text"],
.woocommerce-account-woo-wallet input[type="number"],
.woocommerce-account-woo-wallet input[type="email"],
.woocommerce-account-woo-wallet select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.25s ease;
    background: #f9fafb;
    margin-bottom: 15px;
}

.woocommerce-account-woo-wallet input:focus,
.woocommerce-account-woo-wallet select:focus {
    outline: none;
    border-color: #5b4cdb;
    background: white;
    box-shadow: 0 0 0 4px rgba(91, 76, 219, 0.1);
}

/* WooWallet Buttons */
.woocommerce-account-woo-wallet .button,
.woocommerce-account-woo-wallet button[type="submit"],
.woocommerce-account-woo-wallet input[type="submit"] {
    background: linear-gradient(135deg, #5b4cdb 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(91, 76, 219, 0.3);
}

.woocommerce-account-woo-wallet .button:hover,
.woocommerce-account-woo-wallet button[type="submit"]:hover,
.woocommerce-account-woo-wallet input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 76, 219, 0.4);
    background: linear-gradient(135deg, #4a3cb8 0%, #6b2fd6 100%);
}

/* WooWallet Transactions Table */
.woocommerce-account-woo-wallet table,
.woocommerce-account-woo-wallet-transactions table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-account-woo-wallet table th,
.woocommerce-account-woo-wallet-transactions table th {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 16px;
    text-align: right;
    font-weight: 700;
    color: #111827;
    border-bottom: 2px solid #e5e7eb;
}

.woocommerce-account-woo-wallet table td,
.woocommerce-account-woo-wallet-transactions table td {
    padding: 16px;
    text-align: right;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.woocommerce-account-woo-wallet table tr:hover,
.woocommerce-account-woo-wallet-transactions table tr:hover {
    background: #f9fafb;
}

/* WooWallet Action Links */
.woocommerce-account-woo-wallet .woo-wallet-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
    margin: 5px;
}

.woocommerce-account-woo-wallet .woo-wallet-action-link:hover {
    border-color: #5b4cdb;
    color: #5b4cdb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 76, 219, 0.2);
}

/* WooWallet Messages */
.woocommerce-account-woo-wallet .woocommerce-message,
.woocommerce-account-woo-wallet-transactions .woocommerce-message {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-right: 4px solid #10b981;
    font-weight: 500;
}

.woocommerce-account-woo-wallet .woocommerce-error,
.woocommerce-account-woo-wallet-transactions .woocommerce-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-right: 4px solid #ef4444;
    font-weight: 500;
}

/* WooWallet Transfer Form */
.woocommerce-account-woo-wallet-transfer .woo-wallet-transfer-form {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 30px;
    border-radius: 16px;
    border: 2px dashed #e5e7eb;
}

/* WooWallet Balance Display */
.woocommerce-account-woo-wallet .woo-wallet-balance {
    font-size: 48px;
    font-weight: 800;
    margin: 20px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* WooWallet Topup Form */
.woocommerce-account-woo-wallet .woo-wallet-add-amount {
    background: white;
    padding: 30px;
    border-radius: 16px;
    margin: 20px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Responsive for WooWallet */
@media (max-width: 768px) {
    .woocommerce-account-woo-wallet .woo-wallet-content {
        padding: 25px;
    }
    
    .woocommerce-account-woo-wallet .woo-wallet-balance {
        font-size: 36px;
    }
    
    .woocommerce-account-woo-wallet table,
    .woocommerce-account-woo-wallet-transactions table {
        font-size: 14px;
    }
    
    .woocommerce-account-woo-wallet table th,
    .woocommerce-account-woo-wallet table td,
    .woocommerce-account-woo-wallet-transactions table th,
    .woocommerce-account-woo-wallet-transactions table td {
        padding: 10px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .account-content {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        order: 1;
    }
    
    .account-main {
        order: 2;
    }
    
    .stats-grid,
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid,
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .orders-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .rubikto-account-wrapper {
        padding: 10px;
    }
    
    .user-card {
        padding: 20px;
    }
    
    .orders-slider {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
