/**
 * AA Customer Portal Dashboard Styles
 * 
 * Premium brand styling with gradients, glow effects, and SVG icons
 * Primary: #00cdfb (Cyan)
 * Secondary: #432fff (Purple)
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --aacp-dash-primary: #00cdfb;
    --aacp-dash-primary-hover: #33d9ff;
    --aacp-dash-primary-glow: rgba(0, 205, 251, 0.25);
    --aacp-dash-secondary: #432fff;
    --aacp-dash-secondary-glow: rgba(67, 47, 255, 0.25);
    --aacp-dash-gradient: linear-gradient(135deg, #00cdfb 0%, #432fff 100%);
    --aacp-dash-gradient-text: linear-gradient(135deg, #00cdfb 0%, #432fff 100%);
    --aacp-dash-gradient-subtle: linear-gradient(135deg, rgba(0, 205, 251, 0.08) 0%, rgba(67, 47, 255, 0.08) 100%);
    --aacp-dash-gradient-border: linear-gradient(135deg, rgba(0, 205, 251, 0.3) 0%, rgba(67, 47, 255, 0.3) 100%);
    --aacp-dash-dark: #111;
    --aacp-dash-dark-card: #161616;
    --aacp-dash-dark-lighter: #1a1a1a;
    --aacp-dash-dark-border: rgba(255, 255, 255, 0.06);
    --aacp-dash-dark-border-hover: rgba(0, 205, 251, 0.4);
    --aacp-dash-text: #e8e8e8;
    --aacp-dash-text-muted: #777;
    --aacp-dash-text-light: #999;
    --aacp-dash-success: #22c55e;
    --aacp-dash-warning: #f59e0b;
    --aacp-dash-error: #ef4444;
    --aacp-dash-radius: 12px;
    --aacp-dash-radius-sm: 8px;
    --aacp-dash-radius-lg: 16px;
    --aacp-dash-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --aacp-dash-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --aacp-dash-shadow-glow: 0 0 40px rgba(0, 205, 251, 0.12);
}

/* ========================================
   Hide conflicting WooCommerce/Theme default content
   when our dashboard is present
   ======================================== */

/* Hide default WooCommerce dashboard greeting when our dashboard is active */
.woocommerce-account .woocommerce-MyAccount-content .aacp-dashboard ~ p,
.woocommerce-account .woocommerce-MyAccount-content .aacp-dashboard ~ .woocommerce-info,
.woocommerce-account .woocommerce-MyAccount-content > p:first-child:not(.aacp-dashboard *) {
    display: none !important;
}

/* Hide Enfold theme profile/avatar displays when dashboard is present */
.woocommerce-account .aacp-dashboard ~ .av-team-icon,
.woocommerce-account .aacp-dashboard ~ .av-member,
.woocommerce-account .aacp-dashboard ~ .avia-team-member,
.woocommerce-account .woocommerce-MyAccount-content > .av-team-icon,
.woocommerce-account .woocommerce-MyAccount-content > .av-member,
.woocommerce-account .woocommerce-MyAccount-content > .avia-team-member {
    display: none !important;
}

/* ========================================
   Dashboard Container
   ======================================== */
.aacp-dashboard {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--aacp-dash-text);
    width: 100%;
    box-sizing: border-box;
}

.aacp-dashboard *,
.aacp-dashboard *::before,
.aacp-dashboard *::after {
    box-sizing: border-box;
}

/* ========================================
   Welcome Section
   ======================================== */
.aacp-dash-welcome {
    margin-bottom: 28px;
}

.aacp-dash-welcome-title,
.woocommerce-MyAccount-content .aacp-dash-welcome-title,
.woocommerce-MyAccount-content h2.aacp-dash-welcome-title {
    font-size: 32px !important;
    font-weight: 300 !important;
    color: var(--aacp-dash-text) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    letter-spacing: -0.5px !important;
    text-transform: none !important;
}

.aacp-dash-user-name {
    font-weight: 600;
    background: var(--aacp-dash-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Icon Box Component
   ======================================== */
.aacp-dash-icon-box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--aacp-dash-gradient-subtle);
    border: 1px solid rgba(0, 205, 251, 0.12);
    position: relative;
    flex-shrink: 0;
    transition: all var(--aacp-dash-transition);
}

.aacp-dash-icon-box svg {
    width: 22px;
    height: 22px;
    stroke: var(--aacp-dash-primary);
    stroke-width: 1.5;
    fill: none;
    transition: all var(--aacp-dash-transition);
}

.aacp-dash-icon-box--small {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.aacp-dash-icon-box--small svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   Stats Bar - Horizontal Layout
   ======================================== */
.aacp-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
    width: 100% !important;
    min-width: 0;
}

.aacp-dash-stat-card {
    background: var(--aacp-dash-dark-card);
    border: 1px solid var(--aacp-dash-dark-border);
    border-radius: var(--aacp-dash-radius);
    padding: 24px 20px;
    text-decoration: none !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    transition: all var(--aacp-dash-transition);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.aacp-dash-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--aacp-dash-gradient);
    opacity: 0;
    transition: opacity var(--aacp-dash-transition);
}

.aacp-dash-stat-card:hover {
    border-color: var(--aacp-dash-dark-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--aacp-dash-shadow-glow);
}

.aacp-dash-stat-card:hover::before {
    opacity: 1;
}

.aacp-dash-stat-card:hover .aacp-dash-icon-box {
    box-shadow: 0 0 25px var(--aacp-dash-primary-glow);
}

.aacp-dash-stat-icon .aacp-dash-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 14px;
}

.aacp-dash-stat-icon .aacp-dash-icon-box svg {
    width: 32px;
    height: 32px;
}

.aacp-dash-stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aacp-dash-stat-value {
    font-size: 40px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}

.aacp-dash-stat-label {
    font-size: 11px;
    color: var(--aacp-dash-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

/* ========================================
   Main Grid Layout
   ======================================== */
.aacp-dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
    align-items: start;
    width: 100% !important;
    min-width: 0;
}

.aacp-dash-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    width: 100%;
}

/* Services widget ordering - appears first on desktop, last on mobile */
.aacp-dash-services {
    order: -1; /* First on desktop */
}

/* ========================================
   Widget Base Styles
   ======================================== */
.aacp-dash-widget {
    background: var(--aacp-dash-dark-card);
    border: 1px solid var(--aacp-dash-dark-border);
    border-radius: var(--aacp-dash-radius);
    overflow: hidden;
}

.aacp-dash-widget-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--aacp-dash-dark-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aacp-dash-widget-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--aacp-dash-text) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.aacp-dash-widget-title .aacp-dash-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.aacp-dash-widget-title .aacp-dash-icon-box svg {
    width: 17px;
    height: 17px;
}

.aacp-dash-widget-content {
    padding: 18px 22px;
}

.aacp-dash-widget-footer {
    padding: 14px 22px;
    border-top: 1px solid var(--aacp-dash-dark-border);
    background: rgba(0, 0, 0, 0.2);
}

.aacp-dash-widget-link {
    color: var(--aacp-dash-primary) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--aacp-dash-transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.aacp-dash-widget-link:hover {
    color: var(--aacp-dash-primary-hover) !important;
    gap: 8px;
}

/* Empty widget state */
.aacp-dash-widget-empty .aacp-dash-widget-content {
    padding: 40px 22px;
}

.aacp-dash-widget-empty .aacp-dash-widget-content {
    background: #111;
}

.aacp-dash-widget-empty-content {
    text-align: center;
    color: var(--aacp-dash-text-muted);
}

.aacp-dash-widget-empty-content p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
}

.aacp-dash-empty-link {
    color: var(--aacp-dash-primary) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all var(--aacp-dash-transition);
}

.aacp-dash-empty-link:hover {
    gap: 8px;
}

/* ========================================
   Activity Feed Widget
   ======================================== */
.aacp-dash-activity .aacp-dash-widget-content {
    background: #111;
}

.aacp-dash-activity-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.aacp-dash-activity-item {
    margin: 0 !important;
    padding: 0 !important;
}

.aacp-dash-activity-item + .aacp-dash-activity-item {
    border-top: 1px solid var(--aacp-dash-dark-border);
}

.aacp-dash-activity-link {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    text-decoration: none !important;
    color: inherit !important;
    transition: all var(--aacp-dash-transition);
}

.aacp-dash-activity-link:hover {
    padding-left: 8px;
}

.aacp-dash-activity-icon {
    flex-shrink: 0;
}

/* Simpler icon style for activity items - no box, just icon */
.aacp-dash-activity-icon .aacp-dash-icon-box {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 0;
}

.aacp-dash-activity-icon .aacp-dash-icon-box svg {
    width: 20px;
    height: 20px;
    stroke: var(--aacp-dash-primary);
}

.aacp-dash-activity-link:hover .aacp-dash-activity-icon .aacp-dash-icon-box {
    box-shadow: none;
}

.aacp-dash-activity-link:hover .aacp-dash-activity-icon svg {
    stroke: var(--aacp-dash-primary-hover);
}

.aacp-dash-activity-content {
    flex: 1;
    min-width: 0;
}

.aacp-dash-activity-title {
    display: block;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 4px;
}

.aacp-dash-activity-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--aacp-dash-text-muted);
}

.aacp-dash-activity-context {
    color: var(--aacp-dash-text-light);
}

.aacp-dash-activity-sep {
    opacity: 0.4;
}

/* ========================================
   Projects Widget
   ======================================== */
.aacp-dash-projects-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aacp-dash-project-card {
    display: block;
    background: var(--aacp-dash-dark);
    border: 1px solid var(--aacp-dash-dark-border);
    border-radius: var(--aacp-dash-radius-sm);
    padding: 18px;
    text-decoration: none !important;
    color: inherit !important;
    transition: all var(--aacp-dash-transition);
    position: relative;
}

.aacp-dash-project-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--aacp-dash-gradient);
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity var(--aacp-dash-transition);
}

.aacp-dash-project-card:hover {
    border-color: var(--aacp-dash-dark-border-hover);
    transform: translateX(4px);
}

.aacp-dash-project-card:hover::before {
    opacity: 1;
}

.aacp-dash-project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.aacp-dash-project-info {
    flex: 1;
    min-width: 0;
}

.aacp-dash-project-type {
    font-size: 11px;
    color: var(--aacp-dash-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.aacp-dash-project-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aacp-dash-project-status {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 4px;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}

.aacp-dash-project-status--in-progress {
    background: var(--aacp-dash-secondary);
}

.aacp-dash-project-status--pending {
    background: var(--aacp-dash-warning);
    color: #000;
}

.aacp-dash-project-status--completed {
    background: var(--aacp-dash-success);
}

.aacp-dash-project-status--on-hold {
    background: var(--aacp-dash-text-muted);
}

.aacp-dash-project-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.aacp-dash-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.aacp-dash-progress-fill {
    height: 100%;
    background: var(--aacp-dash-gradient);
    border-radius: 2px;
    transition: width 0.5s ease;
    position: relative;
}

.aacp-dash-progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
}

.aacp-dash-progress-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--aacp-dash-primary);
    min-width: 40px;
    text-align: right;
}

.aacp-dash-project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.aacp-dash-project-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--aacp-dash-text-muted);
}

.aacp-dash-project-meta-item svg {
    width: 14px;
    height: 14px;
    stroke: var(--aacp-dash-text-muted);
    stroke-width: 1.5;
    fill: none;
}

.aacp-dash-meta-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(0, 205, 251, 0.15);
    color: var(--aacp-dash-primary);
}

.aacp-dash-meta-badge--new {
    background: rgba(34, 197, 94, 0.15);
    color: var(--aacp-dash-success);
}

/* ========================================
   Services Widget
   ======================================== */
.aacp-dash-services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aacp-dash-service-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--aacp-dash-dark);
    border: 1px solid var(--aacp-dash-dark-border);
    border-radius: var(--aacp-dash-radius-sm);
    padding: 16px 18px;
    text-decoration: none !important;
    color: inherit !important;
    transition: all var(--aacp-dash-transition);
}

.aacp-dash-service-card:hover {
    border-color: var(--aacp-dash-dark-border-hover);
    box-shadow: 0 0 30px var(--aacp-dash-primary-glow);
}

.aacp-dash-service-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aacp-dash-service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--aacp-dash-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: all var(--aacp-dash-transition);
}

.aacp-dash-service-card:hover .aacp-dash-service-icon svg {
    stroke: var(--aacp-dash-primary-hover);
}

.aacp-dash-service-info {
    flex: 1;
    min-width: 0;
}

.aacp-dash-service-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.aacp-dash-service-identifier {
    font-size: 13px;
    color: var(--aacp-dash-primary);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aacp-dash-service-meta {
    font-size: 12px;
    color: var(--aacp-dash-text-muted);
}

.aacp-dash-service-status {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--aacp-dash-success);
    white-space: nowrap;
}

/* ========================================
   Orders Widget
   ======================================== */
.aacp-dash-orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aacp-dash-order-card {
    display: block;
    background: var(--aacp-dash-dark);
    border: 1px solid var(--aacp-dash-dark-border);
    border-radius: var(--aacp-dash-radius-sm);
    padding: 16px 18px;
    text-decoration: none !important;
    color: inherit !important;
    transition: all var(--aacp-dash-transition);
}

.aacp-dash-order-card:hover {
    border-color: var(--aacp-dash-dark-border-hover);
}

.aacp-dash-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.aacp-dash-order-number {
    font-size: 13px;
    font-weight: 600;
    color: var(--aacp-dash-text-light);
}

.aacp-dash-order-date {
    font-size: 12px;
    color: var(--aacp-dash-text-muted);
}

.aacp-dash-order-items {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.aacp-dash-order-total {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.aacp-dash-order-status {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
}

.aacp-dash-order-status--completed {
    background: rgba(34, 197, 94, 0.15);
    color: var(--aacp-dash-success);
}

.aacp-dash-order-status--processing {
    background: rgba(0, 205, 251, 0.15);
    color: var(--aacp-dash-primary);
}

.aacp-dash-order-status--pending,
.aacp-dash-order-status--on-hold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--aacp-dash-warning);
}

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

/* ========================================
   Support Tickets Widget
   ======================================== */
.aacp-dash-support .aacp-dash-widget-content {
    background: #111;
}

.aacp-dash-support .aacp-dash-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aacp-dash-support-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(0, 205, 251, 0.15);
    color: var(--aacp-dash-primary);
}

.aacp-dash-support-empty {
    text-align: center;
    padding: 20px 0;
    color: var(--aacp-dash-text-muted);
}

.aacp-dash-support-empty p {
    margin: 0;
    font-size: 14px;
}

.aacp-dash-support-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aacp-dash-support-card {
    display: block;
    background: var(--aacp-dash-dark);
    border: 1px solid var(--aacp-dash-dark-border);
    border-radius: var(--aacp-dash-radius-sm);
    padding: 14px 16px;
    text-decoration: none !important;
    color: inherit !important;
    transition: all var(--aacp-dash-transition);
}

.aacp-dash-support-card:hover {
    border-color: var(--aacp-dash-dark-border-hover);
}

.aacp-dash-support-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aacp-dash-support-title {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aacp-dash-support-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--aacp-dash-text-muted);
}

.aacp-dash-support-sep {
    opacity: 0.4;
}

.aacp-dash-support-status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.aacp-dash-support-status-new {
    color: var(--aacp-dash-primary);
}

.aacp-dash-support-status-active {
    color: var(--aacp-dash-success);
}

.aacp-dash-support-status-waiting {
    color: var(--aacp-dash-warning);
}

.aacp-dash-support-status-closed {
    color: var(--aacp-dash-text-muted);
}

.aacp-dash-support-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aacp-dash-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all var(--aacp-dash-transition);
    white-space: nowrap;
}

.aacp-dash-support-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.aacp-dash-support-btn-primary {
    background: #007e99;
    color: #fff !important;
}

.aacp-dash-support-btn-primary svg {
    stroke: #fff;
}

.aacp-dash-support-btn-primary:hover {
    background: #009dbe;
    box-shadow: 0 4px 20px rgba(0, 126, 153, 0.4);
}

/* ========================================
   Quick Actions - Contact Page Style
   ======================================== */
.aacp-dash-quick-actions {
    margin-top: 0;
}

.aacp-dash-quick-actions .aacp-dash-widget-header {
    border-bottom: none;
    padding-bottom: 8px;
}

.aacp-dash-quick-actions .aacp-dash-widget-content {
    padding-top: 0;
}

.aacp-dash-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.aacp-dash-action-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(100, 50, 200, 0.03), rgba(0, 212, 255, 0.03));
    border: 1px solid var(--aacp-dash-dark-border);
    border-radius: var(--aacp-dash-radius);
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.aacp-dash-action-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 18px 38px rgba(0, 212, 255, 0.10);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(100, 50, 200, 0.05));
}

.aacp-dash-action-card:hover .aacp-dash-icon-box {
    box-shadow: 0 0 25px var(--aacp-dash-primary-glow);
}

.aacp-dash-action-icon .aacp-dash-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
}

.aacp-dash-action-icon .aacp-dash-icon-box svg {
    width: 28px;
    height: 28px;
    stroke: var(--aacp-dash-primary);
    stroke-width: 1.5;
    fill: none;
}

.aacp-dash-action-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aacp-dash-action-label {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.aacp-dash-action-desc {
    font-size: 13px;
    color: var(--aacp-dash-text-muted);
}

/* ========================================
   New Customer / Empty State
   ======================================== */
.aacp-dash-empty-state {
    background: var(--aacp-dash-dark-card);
    border: 1px solid var(--aacp-dash-dark-border);
    border-radius: var(--aacp-dash-radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.aacp-dash-empty-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--aacp-dash-gradient);
}

.aacp-dash-empty-icon {
    margin-bottom: 24px;
}

.aacp-dash-empty-icon .aacp-dash-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 20px;
}

.aacp-dash-empty-icon .aacp-dash-icon-box svg {
    width: 40px;
    height: 40px;
}

.aacp-dash-empty-title,
.woocommerce-MyAccount-content .aacp-dash-empty-title,
.woocommerce-MyAccount-content h2.aacp-dash-empty-title {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.aacp-dash-empty-text {
    font-size: 16px;
    color: var(--aacp-dash-text-muted);
    margin: 0 0 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.aacp-dash-empty-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.aacp-dash-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--aacp-dash-radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all var(--aacp-dash-transition);
}

.aacp-dash-cta-primary {
    background: #007e99;
    color: #fff !important;
    border: none;
}

.aacp-dash-cta-primary:hover {
    background: #009bb8;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 126, 153, 0.3);
}

.aacp-dash-cta-secondary {
    background: transparent;
    border: 1px solid var(--aacp-dash-dark-border);
    color: var(--aacp-dash-text) !important;
}

.aacp-dash-cta-secondary:hover {
    border-color: var(--aacp-dash-primary);
    background: rgba(0, 205, 251, 0.05);
}

.aacp-dash-product-highlights {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

a.aacp-dash-product-card,
.aacp-dash-product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 28px;
    background: var(--aacp-dash-dark);
    border: 1px solid var(--aacp-dash-dark-border);
    border-radius: var(--aacp-dash-radius);
    min-width: 160px;
    transition: all var(--aacp-dash-transition);
    text-decoration: none !important;
    cursor: pointer;
}

a.aacp-dash-product-card:hover,
.aacp-dash-product-card:hover {
    border-color: var(--aacp-dash-dark-border-hover);
    transform: translateY(-2px);
}

.aacp-dash-product-card:hover .aacp-dash-icon-box {
    box-shadow: 0 0 25px var(--aacp-dash-primary-glow);
}

.aacp-dash-product-icon .aacp-dash-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
}

.aacp-dash-product-icon .aacp-dash-icon-box svg {
    width: 26px;
    height: 26px;
}

.aacp-dash-product-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.aacp-dash-product-desc {
    font-size: 12px;
    color: var(--aacp-dash-text-muted);
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
    .aacp-dash-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aacp-dash-grid {
        grid-template-columns: 1fr;
    }
    
    .aacp-dash-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .aacp-dash-welcome-title {
        font-size: 24px !important;
    }
    
    .aacp-dash-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .aacp-dash-stat-card {
        padding: 16px 14px;
        gap: 14px;
    }
    
    .aacp-dash-stat-icon .aacp-dash-icon-box {
        width: 52px;
        height: 52px;
    }
    
    .aacp-dash-stat-icon .aacp-dash-icon-box svg {
        width: 26px;
        height: 26px;
    }
    
    .aacp-dash-stat-value {
        font-size: 28px;
    }
    
    .aacp-dash-stat-label {
        font-size: 9px;
        letter-spacing: 0.5px;
    }
    
    /* Services widget ordering - last on mobile */
    .aacp-dash-services {
        order: 99; /* Last on mobile */
    }
    
    .aacp-dash-grid {
        gap: 24px;
        margin-bottom: 16px;
    }
    
    .aacp-dash-column {
        gap: 24px;
    }
    
    .aacp-dash-widget-header,
    .aacp-dash-widget-content,
    .aacp-dash-widget-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .aacp-dash-actions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .aacp-dash-action-card {
        padding: 16px 20px;
        gap: 14px;
    }
    
    .aacp-dash-action-icon .aacp-dash-icon-box {
        width: 48px;
        height: 48px;
    }
    
    .aacp-dash-action-icon .aacp-dash-icon-box svg {
        width: 22px;
        height: 22px;
    }
    
    .aacp-dash-action-label {
        font-size: 14px;
    }
    
    .aacp-dash-action-desc {
        font-size: 12px;
    }
    
    .aacp-dash-empty-state {
        padding: 40px 20px;
    }
    
    .aacp-dash-empty-icon .aacp-dash-icon-box {
        width: 64px;
        height: 64px;
    }
    
    .aacp-dash-empty-icon .aacp-dash-icon-box svg {
        width: 32px;
        height: 32px;
    }
    
    .aacp-dash-empty-title {
        font-size: 22px !important;
    }
    
    .aacp-dash-empty-text {
        font-size: 14px;
    }
    
    .aacp-dash-empty-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .aacp-dash-cta-button {
        width: 100%;
    }
    
    .aacp-dash-product-highlights {
        gap: 12px;
    }
    
    .aacp-dash-product-card {
        flex: 1;
        min-width: 100px;
        padding: 18px 16px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .aacp-dash-welcome-title {
        font-size: 20px !important;
    }
    
    .aacp-dash-stat-value {
        font-size: 24px;
    }
    
    .aacp-dash-project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .aacp-dash-project-title {
        white-space: normal;
    }
    
    .aacp-dash-order-items {
        white-space: normal;
    }
    
    .aacp-dash-support-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .aacp-dash-support-btn {
        justify-content: center;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .aacp-dash-stat-card:hover,
    .aacp-dash-project-card:hover,
    .aacp-dash-service-card:hover,
    .aacp-dash-order-card:hover,
    .aacp-dash-action-card:hover,
    .aacp-dash-support-card:hover {
        transform: none;
        box-shadow: none;
    }
    
    .aacp-dash-stat-card:active,
    .aacp-dash-project-card:active,
    .aacp-dash-service-card:active,
    .aacp-dash-order-card:active,
    .aacp-dash-action-card:active,
    .aacp-dash-support-card:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* ========================================
   Override Enfold Theme Styles
   ======================================== */
.aacp-dashboard,
.aacp-dashboard * {
    box-sizing: border-box;
}

.aacp-dashboard h2,
.aacp-dashboard h3 {
    line-height: 1.3;
}

.aacp-dashboard a {
    outline: none;
}

.aacp-dashboard ul {
    list-style: none;
}

.aacp-dashboard .aacp-dash-widget-link,
.aacp-dashboard .aacp-dash-empty-link,
.aacp-dashboard .aacp-dash-service-identifier {
    color: var(--aacp-dash-primary) !important;
}
