.cits-my-account .woocommerce-MyAccount-navigation {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.cits-my-account .woocommerce-MyAccount-navigation ul {
	border: none;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

.cits-my-account .woocommerce-MyAccount-navigation ul li {
    padding: 0 !important;
}

.cits-my-account .woocommerce-MyAccount-navigation ul li a {
	border-bottom: 1px solid #f8fafc;
	padding: 16px 24px !important;
	color: #64748b;
	font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

.cits-my-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #f1f5f9;
    color: #0f172a;
    padding-left: 30px !important;
}

.cits-my-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #f8fafc;
    color: #2563eb;
    font-weight: 600;
    border-left: 4px solid #2563eb;
}

.woocommerce-MyAccount-content {
	border: 1px solid rgba(0, 0, 0, 0.03);
	padding: 30px !important;
	box-sizing: border-box;
	background: #FFF;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	border-radius: 16px;
}

.cits-dashbord-single-item {
	background: linear-gradient(to left,#0CCDAF,#7ED7CF);
	color: #FFF;
	border-radius: 14px;
	padding: 24px;
	width: 100%;
	height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.dashboard-dark-design > div:nth-child(2) .cits-dashbord-single-item {
	background-image: linear-gradient( 117deg,  rgba(123,216,96,1) 39.2%, rgba(255,255,255,1) 156.2% );
}
.dashboard-dark-design > div:nth-child(3) .cits-dashbord-single-item {
	background: linear-gradient(to left,#087FDF,#89C6F7);
}

.dashboard-dark-design > div:nth-child(4) .cits-dashbord-single-item {
	background-image: radial-gradient( circle 941px at 2.6% 6.8%,  rgba(124,74,228,0.81) 15.9%, rgba(249,208,40,0.70) 88.6% );
}
.dashboard-dark-design > div:nth-child(5) .cits-dashbord-single-item {
	background: linear-gradient(to right, #ff9966, #ff5e62);
}

.cits-dashbord-single-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cits-dashbord-single-item span {
	font-size: 14px;
	font-weight: 500;
}

.cits-dashbord-single-item span svg {
	fill: #FFF;
	width: 28px;
	height: 28px;
    margin-bottom: 12px;
}

.cits-dashbord-single-item span .dashicons {
	color: #fff !important;
	display: block !important;
	font-size: 36px !important;
	width: 36px !important;
	height: 36px !important;
	line-height: 36px !important;
	margin: 0 auto 12px !important;
}

/* User Avatar Modern Style - Refined */
.cits-user-profile {
    padding: 40px 20px;
    background: linear-gradient(to bottom, #fcfcfc, #fff);
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}

.cits-user-avatar {
    position: relative;
    padding: 6px;
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%, #4facfe 100%);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(245, 87, 108, 0.3), 0 0 0 4px rgba(245, 87, 108, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cits-user-avatar::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    z-index: -1;
    filter: blur(12px);
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.cits-user-avatar:hover {
    transform: scale(1.08) rotate(3deg);
}

.cits-user-avatar:hover::after {
    opacity: 0.5;
}

.cits-user-avatar img {
    border: 4px solid #fff !important;
    border-radius: 50% !important;
    display: block;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.cits-user-name {
    margin-top: 20px;
}

.cits-user-name strong {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: block;
    letter-spacing: -0.02em;
}

.cits-user-name::before {
    content: 'WELCOME BACK,';
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

/* Show white icons and hide dark icons for the colorful cards in Modern design */
.dashboard-modern-design .cits-dashbord-single-item span img.white-image {
    display: inline-block !important;
}

.dashboard-modern-design .cits-dashbord-single-item span img.dark-image {
    display: none !important;
}

/* ============================================================
   MODERN DESIGN — WooCommerce Button Styles
   ============================================================ */
.cits-my-account .woocommerce-MyAccount-content .button,
.cits-my-account .woocommerce-MyAccount-content .woocommerce-Button,
.cits-my-account .woocommerce-MyAccount-content .wp-element-button,
.cits-my-account .woocommerce-MyAccount-content input[type="submit"],
.cits-my-account .woocommerce-MyAccount-content button[type="submit"] {
	background: #2563eb !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 11px 28px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	text-decoration: none !important;
	display: inline-block !important;
	transition: background 0.2s, box-shadow 0.2s, transform 0.15s !important;
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
	line-height: 1.5 !important;
	letter-spacing: 0.01em !important;
}

.cits-my-account .woocommerce-MyAccount-content .button:hover,
.cits-my-account .woocommerce-MyAccount-content .woocommerce-Button:hover,
.cits-my-account .woocommerce-MyAccount-content .wp-element-button:hover,
.cits-my-account .woocommerce-MyAccount-content input[type="submit"]:hover,
.cits-my-account .woocommerce-MyAccount-content button[type="submit"]:hover {
	background: #1d4ed8 !important;
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
	color: #ffffff !important;
	transform: translateY(-1px) !important;
}

/* Nav count badge — modern design */
.cits-my-account .macfw-nav-count {
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
}

/* Downloads cards — modern (glassmorphism) design */
.macfw-downloads-grid--modern_design .macfw-download-card {
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.macfw-downloads-grid--modern_design .macfw-download-card:hover {
	background: rgba(255, 255, 255, 0.13);
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
}
.macfw-downloads-grid--modern_design .macfw-download-icon-wrap {
	background: rgba(37, 99, 235, 0.2);
}
.macfw-downloads-grid--modern_design .macfw-download-icon-wrap svg {
	color: #93c5fd;
}
.macfw-downloads-grid--modern_design .macfw-download-product {
	color: #f8fafc !important;
}
.macfw-downloads-grid--modern_design .macfw-download-product a {
	color: #bfdbfe !important;
}
.macfw-downloads-grid--modern_design .macfw-download-filename {
	color: #94a3b8 !important;
}
.macfw-downloads-grid--modern_design .macfw-download-meta {
	color: #64748b;
}
.macfw-downloads-grid--modern_design .macfw-download-btn {
	background: rgba(37, 99, 235, 0.85);
	backdrop-filter: blur(6px);
	color: #fff !important;
}
.macfw-downloads-grid--modern_design .macfw-download-btn:hover {
	background: rgba(37, 99, 235, 1);
}

/* Orders cards — modern (glassmorphism) design */
.macfw-orders-list--modern_design .macfw-order-card {
	background: rgba(255,255,255,0.08);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255,255,255,0.14);
	box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.macfw-orders-list--modern_design .macfw-order-card:hover {
	background: rgba(255,255,255,0.12);
	box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.macfw-orders-list--modern_design .macfw-order-num-link { color: #f8fafc !important; }
.macfw-orders-list--modern_design .macfw-order-num-link:hover { color: #bfdbfe !important; }
.macfw-orders-list--modern_design .macfw-order-hash { color: #475569; }
.macfw-orders-list--modern_design .macfw-order-date,
.macfw-orders-list--modern_design .macfw-order-items { color: #64748b; }
.macfw-orders-list--modern_design .macfw-order-total { color: #f1f5f9; }
.macfw-orders-list--modern_design .macfw-order-card__body { border-color: rgba(255,255,255,0.08); }
.macfw-orders-list--modern_design .macfw-order-action {
	background: rgba(255,255,255,0.08);
	backdrop-filter: blur(6px);
	border-color: rgba(255,255,255,0.12);
	color: #94a3b8 !important;
}
.macfw-orders-list--modern_design .macfw-order-action:hover {
	background: rgba(255,255,255,0.14);
	color: #f1f5f9 !important;
}
.macfw-orders-list--modern_design .macfw-order-action--primary {
	background: rgba(37,99,235,0.85);
	border-color: transparent;
	color: #fff !important;
}
.macfw-orders-list--modern_design .macfw-order-action--primary:hover {
	background: rgba(37,99,235,1);
	color: #fff !important;
}
.macfw-orders-list--modern_design .macfw-page-btn {
	background: rgba(255,255,255,0.08);
	border-color: rgba(255,255,255,0.12);
	color: #94a3b8 !important;
}
.macfw-orders-list--modern_design .macfw-page-btn:hover {
	background: rgba(255,255,255,0.14);
	color: #f1f5f9 !important;
}
.macfw-orders-list--modern_design .macfw-order-status--completed  { background: rgba(22,163,74,0.15);  color: #4ade80; }
.macfw-orders-list--modern_design .macfw-order-status--processing { background: rgba(37,99,235,0.15);  color: #93c5fd; }
.macfw-orders-list--modern_design .macfw-order-status--pending    { background: rgba(217,119,6,0.15);  color: #fbbf24; }
.macfw-orders-list--modern_design .macfw-order-status--on-hold    { background: rgba(234,88,12,0.15);  color: #fb923c; }
.macfw-orders-list--modern_design .macfw-order-status--cancelled  { background: rgba(220,38,38,0.15);  color: #f87171; }
.macfw-orders-list--modern_design .macfw-order-status--refunded   { background: rgba(100,116,139,0.15); color: #94a3b8; }

/* Orders table — modern design */
.macfw-orders-table-wrap--modern_design {
	border-color: rgba(255,255,255,0.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	background: rgba(255,255,255,0.06);
}
.macfw-orders-table-wrap--modern_design .macfw-orders-table thead tr { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.08); }
.macfw-orders-table-wrap--modern_design .macfw-orders-table thead th { color: #475569; }
.macfw-orders-table-wrap--modern_design .macfw-orders-table tbody tr { border-color: rgba(255,255,255,0.04); }
.macfw-orders-table-wrap--modern_design .macfw-orders-table tbody tr:hover { background: rgba(255,255,255,0.05); }
.macfw-orders-table-wrap--modern_design .macfw-col-order .macfw-order-num-link { color: #f8fafc !important; }
.macfw-orders-table-wrap--modern_design .macfw-col-order .macfw-order-num-link:hover { color: #bfdbfe !important; }
.macfw-orders-table-wrap--modern_design .macfw-col-date { color: #64748b; }
.macfw-orders-table-wrap--modern_design .macfw-col-total { color: #e2e8f0; }
.macfw-orders-table-wrap--modern_design .macfw-order-action { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: #94a3b8 !important; }
.macfw-orders-table-wrap--modern_design .macfw-order-action:hover { background: rgba(255,255,255,0.14); color: #f1f5f9 !important; }
.macfw-orders-table-wrap--modern_design .macfw-order-action--primary { background: rgba(37,99,235,0.85); border-color: transparent; color: #fff !important; }
.macfw-orders-table-wrap--modern_design .macfw-order-action--primary:hover { background: rgba(37,99,235,1); }

/* View order — modern design */
.macfw-view-order--modern_design .macfw-order-header {
	background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.macfw-view-order--modern_design .macfw-order-header__number strong { color: #f8fafc; }
.macfw-view-order--modern_design .macfw-oh-date { color: #64748b; }
.macfw-view-order--modern_design .woocommerce-order-details {
	background: rgba(255,255,255,0.07) !important; border-color: rgba(255,255,255,0.12) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.macfw-view-order--modern_design .woocommerce-order-details__title { color: #f8fafc !important; border-color: rgba(255,255,255,0.08) !important; }
.macfw-view-order--modern_design .woocommerce-table--order-details thead th { color: #475569 !important; border-color: rgba(255,255,255,0.06) !important; }
.macfw-view-order--modern_design .woocommerce-table--order-details tbody tr { border-color: rgba(255,255,255,0.04) !important; }
.macfw-view-order--modern_design .woocommerce-table--order-details tbody td,
.macfw-view-order--modern_design .woocommerce-table--order-details tbody th { color: #cbd5e1; }
.macfw-view-order--modern_design .woocommerce-table--order-details tfoot tr th,
.macfw-view-order--modern_design .woocommerce-table--order-details tfoot tr td { color: #64748b; border-color: rgba(255,255,255,0.06) !important; }
.macfw-view-order--modern_design .woocommerce-table--order-details tfoot tr:last-child th,
.macfw-view-order--modern_design .woocommerce-table--order-details tfoot tr:last-child td { color: #f8fafc; border-color: rgba(255,255,255,0.1) !important; }
.macfw-view-order--modern_design .woocommerce-column__title { color: #f8fafc !important; }
.macfw-view-order--modern_design .woocommerce-customer-details address { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); color: #94a3b8; backdrop-filter: blur(6px); }
.macfw-view-order--modern_design .macfw-order-notes { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.12); }
.macfw-view-order--modern_design .macfw-section-title { color: #f8fafc !important; }
.macfw-view-order--modern_design .macfw-note__text p { color: #94a3b8; }
/* Status overrides */
.macfw-view-order--modern_design .macfw-order-status--completed,
.macfw-orders-table-wrap--modern_design .macfw-order-status--completed  { background: rgba(22,163,74,0.15); color: #4ade80; }
.macfw-view-order--modern_design .macfw-order-status--processing,
.macfw-orders-table-wrap--modern_design .macfw-order-status--processing { background: rgba(37,99,235,0.15); color: #93c5fd; }
.macfw-view-order--modern_design .macfw-order-status--pending,
.macfw-orders-table-wrap--modern_design .macfw-order-status--pending    { background: rgba(217,119,6,0.15); color: #fbbf24; }
.macfw-view-order--modern_design .macfw-order-status--cancelled,
.macfw-orders-table-wrap--modern_design .macfw-order-status--cancelled  { background: rgba(220,38,38,0.15); color: #f87171; }

/* ── Modern theme: content area fixes (white bg, blue accents) ── */

/* Downloads cards */
.macfw-downloads-grid--modern_design .macfw-download-card {
	background: #fff !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	border: 1px solid #e5e7eb !important;
	box-shadow: 0 2px 10px rgba(37,99,235,0.07) !important;
}
.macfw-downloads-grid--modern_design .macfw-download-card:hover {
	box-shadow: 0 6px 24px rgba(37,99,235,0.13) !important;
	transform: translateY(-2px);
}
.macfw-downloads-grid--modern_design .macfw-download-icon-wrap {
	background: #eff6ff !important;
}
.macfw-downloads-grid--modern_design .macfw-download-icon-wrap svg { color: #2563eb !important; }
.macfw-downloads-grid--modern_design .macfw-download-product { color: #111827 !important; }
.macfw-downloads-grid--modern_design .macfw-download-product a { color: #2563eb !important; }
.macfw-downloads-grid--modern_design .macfw-download-filename { color: #6b7280 !important; }
.macfw-downloads-grid--modern_design .macfw-download-meta { color: #9ca3af !important; }
.macfw-downloads-grid--modern_design .macfw-download-btn {
	background: #2563eb !important;
	color: #fff !important;
}
.macfw-downloads-grid--modern_design .macfw-download-btn:hover {
	background: #1d4ed8 !important;
}

/* Orders table */
.macfw-orders-table-wrap--modern_design {
	background: #fff !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	border: 1px solid #e5e7eb !important;
	box-shadow: 0 2px 8px rgba(37,99,235,0.06) !important;
}
.macfw-orders-table-wrap--modern_design .macfw-orders-table thead tr {
	background: #f8faff !important;
	border-color: #e5e7eb !important;
}
.macfw-orders-table-wrap--modern_design .macfw-orders-table thead th { color: #6b7280 !important; }
.macfw-orders-table-wrap--modern_design .macfw-orders-table tbody tr { border-color: #f3f4f6 !important; }
.macfw-orders-table-wrap--modern_design .macfw-orders-table tbody tr:hover { background: #f8faff !important; }
.macfw-orders-table-wrap--modern_design .macfw-col-order .macfw-order-num-link { color: #111827 !important; }
.macfw-orders-table-wrap--modern_design .macfw-col-order .macfw-order-num-link:hover { color: #2563eb !important; }
.macfw-orders-table-wrap--modern_design .macfw-col-date { color: #6b7280 !important; }
.macfw-orders-table-wrap--modern_design .macfw-col-total { color: #374151 !important; }
.macfw-orders-table-wrap--modern_design .macfw-order-action {
	background: #f3f4f6 !important; border-color: #e5e7eb !important; color: #374151 !important;
}
.macfw-orders-table-wrap--modern_design .macfw-order-action:hover { background: #e5e7eb !important; color: #111827 !important; }
.macfw-orders-table-wrap--modern_design .macfw-order-action--primary {
	background: #2563eb !important; border-color: #2563eb !important; color: #fff !important;
}
.macfw-orders-table-wrap--modern_design .macfw-order-action--primary:hover { background: #1d4ed8 !important; }
/* Status badges on white bg */
.macfw-orders-table-wrap--modern_design .macfw-order-status--completed  { background: #f0fdf4 !important; color: #16a34a !important; }
.macfw-orders-table-wrap--modern_design .macfw-order-status--completed .macfw-status-dot { background: #16a34a !important; }
.macfw-orders-table-wrap--modern_design .macfw-order-status--processing { background: #eff6ff !important; color: #2563eb !important; }
.macfw-orders-table-wrap--modern_design .macfw-order-status--processing .macfw-status-dot { background: #2563eb !important; }
.macfw-orders-table-wrap--modern_design .macfw-order-status--pending    { background: #fffbeb !important; color: #d97706 !important; }
.macfw-orders-table-wrap--modern_design .macfw-order-status--cancelled  { background: #fef2f2 !important; color: #dc2626 !important; }

/* View order page */
.macfw-view-order--modern_design .macfw-order-header {
	background: #f8faff !important;
	border-color: #dbeafe !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}
.macfw-view-order--modern_design .macfw-order-header__number strong { color: #111827 !important; }
.macfw-view-order--modern_design .macfw-oh-date { color: #6b7280 !important; }
.macfw-view-order--modern_design .woocommerce-order-details {
	background: #fff !important;
	border-color: #e5e7eb !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}
.macfw-view-order--modern_design .woocommerce-order-details__title { color: #111827 !important; border-color: #f3f4f6 !important; }
.macfw-view-order--modern_design .woocommerce-table--order-details thead th { color: #9ca3af !important; border-color: #f3f4f6 !important; }
.macfw-view-order--modern_design .woocommerce-table--order-details tbody tr { border-color: #f5f6f7 !important; }
.macfw-view-order--modern_design .woocommerce-table--order-details tbody td,
.macfw-view-order--modern_design .woocommerce-table--order-details tbody th { color: #374151 !important; }
.macfw-view-order--modern_design .woocommerce-table--order-details tfoot th,
.macfw-view-order--modern_design .woocommerce-table--order-details tfoot td { color: #6b7280 !important; border-color: #f3f4f6 !important; }
.macfw-view-order--modern_design .woocommerce-table--order-details tfoot tr:last-child th,
.macfw-view-order--modern_design .woocommerce-table--order-details tfoot tr:last-child td { color: #111827 !important; }
.macfw-view-order--modern_design .woocommerce-column__title { color: #111827 !important; }
.macfw-view-order--modern_design .woocommerce-customer-details address {
	background: #f8faff !important; border-color: #dbeafe !important; color: #4b5563 !important;
}
.macfw-view-order--modern_design .macfw-order-notes { background: #f8faff !important; border-color: #dbeafe !important; }
.macfw-view-order--modern_design .macfw-section-title { color: #111827 !important; }
.macfw-view-order--modern_design .macfw-note__text p { color: #374151 !important; }
/* Status badge on white bg */
.macfw-view-order--modern_design .macfw-order-status--completed  { background: #f0fdf4 !important; color: #16a34a !important; }
.macfw-view-order--modern_design .macfw-order-status--completed .macfw-status-dot { background: #16a34a !important; }
.macfw-view-order--modern_design .macfw-order-status--processing { background: #eff6ff !important; color: #2563eb !important; }
.macfw-view-order--modern_design .macfw-order-status--processing .macfw-status-dot { background: #2563eb !important; }
.macfw-view-order--modern_design .macfw-order-status--cancelled  { background: #fef2f2 !important; color: #dc2626 !important; }
