/**
 * FaithPresent UserStats - Full Width Styles
 * 
 * Dashboard-style full-width UI with enhanced data display
 * @package FaithPresent_UserStats
 */

/* =========================================
   CSS Variables / Design Tokens
   ========================================= */
.fpus-full-widget {
    --fpus-primary: #6366f1;
    --fpus-primary-light: #a5b4fc;
    --fpus-primary-dark: #4338ca;
    --fpus-primary-glow: rgba(99, 102, 241, 0.15);
    --fpus-secondary: #64748b;
    --fpus-success: #22c55e;
    --fpus-success-light: #dcfce7;
    --fpus-warning: #f59e0b;
    --fpus-warning-light: #fef3c7;
    --fpus-danger: #ef4444;
    --fpus-danger-light: #fee2e2;
    --fpus-bg: #ffffff;
    --fpus-bg-secondary: #f8fafc;
    --fpus-bg-tertiary: #f1f5f9;
    --fpus-bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --fpus-text: #0f172a;
    --fpus-text-secondary: #475569;
    --fpus-text-muted: #94a3b8;
    --fpus-border: #e2e8f0;
    --fpus-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --fpus-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --fpus-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --fpus-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --fpus-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --fpus-radius: 16px;
    --fpus-radius-sm: 12px;
    --fpus-radius-xs: 8px;
    --fpus-radius-full: 9999px;
    --fpus-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --fpus-transition: all 0.2s ease;
    --fpus-transition-slow: all 0.3s ease;
}

/* =========================================
   Base Widget Styles
   ========================================= */
.fpus-full-widget {
    font-family: var(--fpus-font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--fpus-text);
    background: var(--fpus-bg-secondary);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.fpus-full-widget *,
.fpus-full-widget *::before,
.fpus-full-widget *::after {
    box-sizing: border-box;
}

/* Ensure full width on all containers */
.fpus-full-widget,
.fpus-full-widget > * {
    max-width: 100vw;
}

/* =========================================
   Hero Section
   ========================================= */
.fpus-full-hero {
    position: relative;
    background: var(--fpus-bg-gradient);
    padding: 48px 32px;
    overflow: hidden;
}

.fpus-full-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.fpus-full-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.fpus-full-avatar {
    position: relative;
    flex-shrink: 0;
}

.fpus-full-avatar img {
    width: 120px;
    height: 120px;
    border-radius: var(--fpus-radius-full);
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--fpus-shadow-xl);
}

.fpus-full-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: var(--fpus-radius-full);
    border: 3px solid white;
}

.fpus-full-status.fpus-status-active {
    background: var(--fpus-success);
}

.fpus-full-status.fpus-status-inactive {
    background: var(--fpus-danger);
}

.fpus-full-hero-info {
    flex: 1;
    min-width: 280px;
    color: white;
}

.fpus-full-name {
    margin: 0 0 8px;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fpus-full-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.fpus-full-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
}

.fpus-full-meta svg {
    opacity: 0.8;
}

.fpus-full-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fpus-full-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--fpus-radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(8px);
}

.fpus-full-badge.fpus-badge-active {
    background: rgba(34, 197, 94, 0.3);
}

.fpus-full-badge.fpus-badge-inactive {
    background: rgba(239, 68, 68, 0.3);
}

.fpus-full-badge.fpus-badge-revoked {
    background: rgba(239, 68, 68, 0.3);
}

.fpus-full-hero-stats {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.fpus-hero-stat {
    text-align: center;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--fpus-radius);
    backdrop-filter: blur(8px);
    min-width: 140px;
}

.fpus-hero-stat-highlight {
    background: rgba(255, 255, 255, 0.25);
}

.fpus-hero-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.fpus-hero-stat-label {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   Dashboard Grid
   ========================================= */
.fpus-full-dashboard {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px;
}

.fpus-full-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* =========================================
   Cards
   ========================================= */
.fpus-full-card {
    background: var(--fpus-bg);
    border-radius: var(--fpus-radius);
    padding: 24px;
    box-shadow: var(--fpus-shadow);
    transition: var(--fpus-transition);
}

.fpus-full-card:hover {
    box-shadow: var(--fpus-shadow-md);
}

.fpus-full-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

.fpus-full-card-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--fpus-text);
}

/* =========================================
   Encouragement & Alerts
   ========================================= */
.fpus-full-encouragement {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, #ede9fe, #dbeafe);
    border: 1px solid #c7d2fe;
}

.fpus-full-encouragement-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fpus-primary);
    color: white;
    border-radius: var(--fpus-radius-xs);
}

.fpus-full-encouragement p {
    margin: 0;
    font-size: 1rem;
    color: var(--fpus-primary-dark);
    line-height: 1.6;
    padding-top: 8px;
}

.fpus-full-alert {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.fpus-full-alert-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--fpus-radius-xs);
}

.fpus-full-alert p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    padding-top: 8px;
}

.fpus-full-alert.fpus-alert-warning {
    background: var(--fpus-warning-light);
    border: 1px solid #fcd34d;
}

.fpus-full-alert.fpus-alert-warning .fpus-full-alert-icon {
    background: var(--fpus-warning);
    color: white;
}

.fpus-full-alert.fpus-alert-warning p {
    color: #92400e;
}

.fpus-full-alert.fpus-alert-danger {
    background: var(--fpus-danger-light);
    border: 1px solid #fca5a5;
}

.fpus-full-alert.fpus-alert-danger .fpus-full-alert-icon {
    background: var(--fpus-danger);
    color: white;
}

.fpus-full-alert.fpus-alert-danger p {
    color: #991b1b;
}

/* =========================================
   Stats Grid
   ========================================= */
.fpus-full-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.fpus-full-stat-card {
    background: var(--fpus-bg);
    border-radius: var(--fpus-radius);
    padding: 20px;
    box-shadow: var(--fpus-shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--fpus-transition);
}

.fpus-full-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--fpus-shadow-lg);
}

.fpus-full-stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--fpus-radius-sm);
    flex-shrink: 0;
}

.fpus-full-stat-icon.fpus-icon-year {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
}

.fpus-full-stat-icon.fpus-icon-quarter {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
}

.fpus-full-stat-icon.fpus-icon-month {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    color: #db2777;
}

.fpus-full-stat-icon.fpus-icon-streak {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}

.fpus-full-stat-icon.fpus-icon-avg {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #4f46e5;
}

.fpus-full-stat-icon.fpus-icon-rate {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    color: #9333ea;
}

.fpus-full-stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fpus-full-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--fpus-text);
    line-height: 1.2;
}

.fpus-full-stat-label {
    font-size: 0.8125rem;
    color: var(--fpus-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   Goal Card
   ========================================= */
.fpus-full-goal-card {
    background: linear-gradient(135deg, var(--fpus-bg), var(--fpus-bg-secondary));
    border: 1px solid var(--fpus-border);
}

.fpus-full-goal-badge {
    display: inline-flex;
    padding: 6px 14px;
    background: var(--fpus-primary-glow);
    color: var(--fpus-primary);
    border-radius: var(--fpus-radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
}

.fpus-full-goal-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.fpus-full-goal-visual {
    flex-shrink: 0;
}

.fpus-full-radial-progress {
    position: relative;
    width: 160px;
    height: 160px;
}

.fpus-full-radial-progress svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.fpus-radial-bg {
    fill: none;
    stroke: var(--fpus-bg-tertiary);
    stroke-width: 8;
}

.fpus-radial-bar {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease;
}

.fpus-radial-bar.fpus-progress-success {
    stroke: var(--fpus-success);
}

.fpus-radial-bar.fpus-progress-warning {
    stroke: var(--fpus-warning);
}

.fpus-radial-bar.fpus-progress-danger {
    stroke: var(--fpus-danger);
}

.fpus-radial-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.fpus-radial-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--fpus-text);
}

.fpus-radial-label {
    display: block;
    font-size: 0.75rem;
    color: var(--fpus-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fpus-full-goal-details {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.fpus-goal-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: var(--fpus-bg);
    border-radius: var(--fpus-radius-xs);
    border: 1px solid var(--fpus-border);
}

.fpus-goal-detail-label {
    font-size: 0.8125rem;
    color: var(--fpus-text-muted);
}

.fpus-goal-detail-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fpus-text);
}

.fpus-goal-detail-value.fpus-text-danger {
    color: var(--fpus-danger);
}

/* =========================================
   Chart Card
   ========================================= */
.fpus-full-chart-card .fpus-full-card-header {
    flex-wrap: wrap;
}

.fpus-full-best-month {
    display: inline-flex;
    padding: 6px 14px;
    background: var(--fpus-success-light);
    color: #15803d;
    border-radius: var(--fpus-radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
}

.fpus-full-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 180px;
    padding-top: 20px;
}

.fpus-full-chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
}

.fpus-full-bar-fill {
    width: 100%;
    max-width: 48px;
    background: linear-gradient(180deg, var(--fpus-primary), var(--fpus-primary-light));
    border-radius: 6px 6px 0 0;
    position: absolute;
    bottom: 32px;
    transition: height 0.5s ease-out;
    cursor: pointer;
}

.fpus-full-bar-fill:hover {
    background: linear-gradient(180deg, var(--fpus-primary-dark), var(--fpus-primary));
}

.fpus-bar-tooltip {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--fpus-text);
    color: white;
    padding: 4px 10px;
    border-radius: var(--fpus-radius-xs);
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: var(--fpus-transition);
    white-space: nowrap;
}

.fpus-full-bar-fill:hover .fpus-bar-tooltip {
    opacity: 1;
}

.fpus-full-bar-label {
    position: absolute;
    bottom: 8px;
    font-size: 0.75rem;
    color: var(--fpus-text-muted);
    font-weight: 500;
}

/* =========================================
   Contact Card
   ========================================= */
.fpus-full-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fpus-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.fpus-contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fpus-bg-tertiary);
    color: var(--fpus-primary);
    border-radius: var(--fpus-radius-xs);
    flex-shrink: 0;
}

.fpus-contact-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fpus-contact-label {
    font-size: 0.75rem;
    color: var(--fpus-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fpus-contact-value {
    font-size: 0.9375rem;
    color: var(--fpus-text);
    word-break: break-word;
}

/* =========================================
   Last Service Card
   ========================================= */
.fpus-full-last-service-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fpus-last-service-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fpus-service-date {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--fpus-text);
}

.fpus-service-ago {
    font-size: 0.875rem;
    color: var(--fpus-text-muted);
}

.fpus-method-badge {
    display: inline-flex;
    padding: 8px 16px;
    background: var(--fpus-bg-tertiary);
    color: var(--fpus-text-secondary);
    border-radius: var(--fpus-radius-xs);
    font-size: 0.875rem;
    font-weight: 500;
}

/* =========================================
   Activity Card
   ========================================= */
.fpus-full-activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fpus-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.fpus-activity-dot {
    width: 10px;
    height: 10px;
    background: var(--fpus-primary);
    border-radius: var(--fpus-radius-full);
    flex-shrink: 0;
    margin-top: 6px;
}

.fpus-activity-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fpus-activity-date {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--fpus-text);
}

.fpus-activity-method {
    font-size: 0.8125rem;
    color: var(--fpus-text-muted);
}

/* =========================================
   Upcoming Services Card
   ========================================= */
.fpus-full-upcoming-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fpus-full-upcoming-list .fpus-upcoming-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: var(--fpus-bg-secondary);
    border-radius: var(--fpus-radius-xs);
    transition: var(--fpus-transition);
}

.fpus-full-upcoming-list .fpus-upcoming-item:hover {
    background: var(--fpus-bg-tertiary);
}

.fpus-upcoming-date-box {
    width: 52px;
    height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--fpus-primary);
    color: white;
    border-radius: var(--fpus-radius-xs);
    flex-shrink: 0;
}

.fpus-upcoming-day {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.fpus-upcoming-month {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.fpus-upcoming-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fpus-upcoming-info .fpus-upcoming-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--fpus-text);
}

.fpus-upcoming-weekday {
    font-size: 0.8125rem;
    color: var(--fpus-text-muted);
}

/* =========================================
   Error State
   ========================================= */
.fpus-full-error {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fpus-full-error-content {
    text-align: center;
    padding: 48px;
    max-width: 400px;
}

.fpus-full-error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fpus-danger-light);
    color: var(--fpus-danger);
    border-radius: var(--fpus-radius-full);
}

.fpus-full-error-content h3 {
    margin: 0 0 12px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--fpus-text);
}

.fpus-full-error-content p {
    margin: 0;
    color: var(--fpus-text-secondary);
    line-height: 1.6;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1200px) {
    .fpus-full-dashboard {
        grid-template-columns: 1fr 340px;
    }
}

@media (max-width: 1024px) {
    .fpus-full-dashboard {
        grid-template-columns: 1fr;
    }
    
    .fpus-full-column-side {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .fpus-full-widget {
        font-size: 15px;
    }
    
    .fpus-full-hero {
        padding: 28px 16px;
    }
    
    .fpus-full-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .fpus-full-hero-info {
        min-width: auto;
        width: 100%;
    }
    
    .fpus-full-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .fpus-full-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .fpus-full-hero-stats {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        flex-wrap: wrap;
    }
    
    .fpus-hero-stat {
        flex: 1;
        min-width: 120px;
        max-width: 160px;
        padding: 16px;
    }
    
    .fpus-full-name {
        font-size: 1.5rem;
        word-break: break-word;
    }
    
    .fpus-full-dashboard {
        padding: 16px;
        gap: 16px;
    }
    
    .fpus-full-goal-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .fpus-full-goal-visual {
        display: flex;
        justify-content: center;
    }
    
    .fpus-full-goal-details {
        width: 100%;
    }
    
    .fpus-full-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .fpus-full-stat-card {
        padding: 14px;
        gap: 12px;
    }
    
    .fpus-full-stat-icon {
        width: 48px;
        height: 48px;
    }
    
    .fpus-full-stat-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .fpus-full-stat-value {
        font-size: 1.5rem;
    }
    
    .fpus-full-column-side {
        grid-template-columns: 1fr;
    }
    
    .fpus-full-card {
        padding: 18px;
    }
    
    .fpus-full-chart {
        height: 150px;
        gap: 4px;
    }
    
    .fpus-full-bar-fill {
        max-width: 32px;
    }
    
    .fpus-full-bar-label {
        font-size: 0.6875rem;
    }
}

@media (max-width: 480px) {
    .fpus-full-widget {
        font-size: 14px;
    }
    
    .fpus-full-hero {
        padding: 20px 12px;
    }
    
    .fpus-full-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .fpus-full-status {
        width: 20px;
        height: 20px;
        bottom: 4px;
        right: 4px;
    }
    
    .fpus-full-name {
        font-size: 1.25rem;
    }
    
    .fpus-full-meta {
        gap: 10px;
    }
    
    .fpus-full-meta span {
        font-size: 0.8125rem;
    }
    
    .fpus-full-badge {
        padding: 5px 10px;
        font-size: 0.6875rem;
    }
    
    .fpus-full-hero-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .fpus-hero-stat {
        width: 100%;
        max-width: none;
        min-width: auto;
        padding: 14px;
    }
    
    .fpus-hero-stat-value {
        font-size: 1.25rem;
    }
    
    .fpus-hero-stat-label {
        font-size: 0.6875rem;
    }
    
    .fpus-full-dashboard {
        padding: 12px;
        gap: 12px;
    }
    
    .fpus-full-column {
        gap: 12px;
    }
    
    .fpus-full-card {
        padding: 16px;
        border-radius: var(--fpus-radius-sm);
    }
    
    .fpus-full-card-header {
        margin-bottom: 14px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .fpus-full-card-header h3 {
        font-size: 1rem;
    }
    
    .fpus-full-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .fpus-full-stat-card {
        padding: 12px;
        gap: 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .fpus-full-stat-icon {
        width: 44px;
        height: 44px;
        margin: 0 auto;
    }
    
    .fpus-full-stat-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .fpus-full-stat-content {
        align-items: center;
    }
    
    .fpus-full-stat-value {
        font-size: 1.375rem;
    }
    
    .fpus-full-stat-label {
        font-size: 0.6875rem;
        text-align: center;
    }
    
    .fpus-full-goal-details {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .fpus-goal-detail-item {
        padding: 12px;
    }
    
    .fpus-goal-detail-label {
        font-size: 0.6875rem;
    }
    
    .fpus-goal-detail-value {
        font-size: 1.25rem;
    }
    
    .fpus-full-chart {
        height: 120px;
        padding-top: 10px;
        gap: 3px;
    }
    
    .fpus-full-bar-fill {
        max-width: 24px;
        border-radius: 4px 4px 0 0;
    }
    
    .fpus-full-bar-label {
        font-size: 0.5625rem;
        bottom: 4px;
    }
    
    .fpus-bar-tooltip {
        font-size: 0.625rem;
        padding: 3px 6px;
        top: -24px;
    }
    
    .fpus-full-radial-progress {
        width: 120px;
        height: 120px;
    }
    
    .fpus-radial-value {
        font-size: 1.5rem;
    }
    
    .fpus-radial-label {
        font-size: 0.625rem;
    }
    
    /* Contact card mobile */
    .fpus-contact-item {
        gap: 10px;
    }
    
    .fpus-contact-icon {
        width: 36px;
        height: 36px;
    }
    
    .fpus-contact-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .fpus-contact-label {
        font-size: 0.6875rem;
    }
    
    .fpus-contact-value {
        font-size: 0.875rem;
    }
    
    /* Last service mobile */
    .fpus-service-date {
        font-size: 1.0625rem;
    }
    
    .fpus-service-ago {
        font-size: 0.8125rem;
    }
    
    .fpus-method-badge {
        padding: 6px 12px;
        font-size: 0.8125rem;
    }
    
    /* Activity mobile */
    .fpus-full-activity-list {
        gap: 12px;
    }
    
    .fpus-activity-item {
        gap: 10px;
    }
    
    .fpus-activity-dot {
        width: 8px;
        height: 8px;
        margin-top: 5px;
    }
    
    .fpus-activity-date {
        font-size: 0.875rem;
    }
    
    .fpus-activity-method {
        font-size: 0.75rem;
    }
    
    /* Upcoming services mobile */
    .fpus-full-upcoming-list {
        gap: 10px;
    }
    
    .fpus-full-upcoming-list .fpus-upcoming-item {
        padding: 10px;
        gap: 12px;
    }
    
    .fpus-upcoming-date-box {
        width: 46px;
        height: 46px;
    }
    
    .fpus-upcoming-day {
        font-size: 1.125rem;
    }
    
    .fpus-upcoming-month {
        font-size: 0.5625rem;
    }
    
    .fpus-upcoming-info .fpus-upcoming-name {
        font-size: 0.875rem;
    }
    
    .fpus-upcoming-weekday {
        font-size: 0.75rem;
    }
    
    /* Encouragement & Alert mobile */
    .fpus-full-encouragement,
    .fpus-full-alert {
        padding: 14px;
        gap: 12px;
    }
    
    .fpus-full-encouragement-icon,
    .fpus-full-alert-icon {
        width: 38px;
        height: 38px;
    }
    
    .fpus-full-encouragement-icon svg,
    .fpus-full-alert-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .fpus-full-encouragement p,
    .fpus-full-alert p {
        font-size: 0.875rem;
        padding-top: 4px;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .fpus-full-hero {
        padding: 16px 10px;
    }
    
    .fpus-full-avatar img {
        width: 70px;
        height: 70px;
    }
    
    .fpus-full-name {
        font-size: 1.125rem;
    }
    
    .fpus-full-dashboard {
        padding: 10px;
        gap: 10px;
    }
    
    .fpus-full-stats-grid {
        gap: 8px;
    }
    
    .fpus-full-stat-card {
        padding: 10px;
    }
    
    .fpus-full-stat-value {
        font-size: 1.25rem;
    }
    
    .fpus-full-goal-details {
        grid-template-columns: 1fr;
    }
    
    .fpus-full-radial-progress {
        width: 100px;
        height: 100px;
    }
    
    .fpus-radial-value {
        font-size: 1.25rem;
    }
}

/* =========================================
   Dark Mode Support
   ========================================= */
@media (prefers-color-scheme: dark) {
    .fpus-full-widget {
        --fpus-bg: #1e293b;
        --fpus-bg-secondary: #0f172a;
        --fpus-bg-tertiary: #334155;
        --fpus-text: #f1f5f9;
        --fpus-text-secondary: #94a3b8;
        --fpus-text-muted: #64748b;
        --fpus-border: #334155;
        --fpus-success-light: rgba(34, 197, 94, 0.15);
        --fpus-warning-light: rgba(245, 158, 11, 0.15);
        --fpus-danger-light: rgba(239, 68, 68, 0.15);
        --fpus-primary-glow: rgba(99, 102, 241, 0.25);
    }
    
    .fpus-full-encouragement {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(59, 130, 246, 0.15));
        border-color: rgba(99, 102, 241, 0.3);
    }
    
    .fpus-full-encouragement p {
        color: var(--fpus-primary-light);
    }
    
    .fpus-full-alert.fpus-alert-warning {
        border-color: rgba(245, 158, 11, 0.3);
    }
    
    .fpus-full-alert.fpus-alert-warning p {
        color: #fbbf24;
    }
    
    .fpus-full-alert.fpus-alert-danger {
        border-color: rgba(239, 68, 68, 0.3);
    }
    
    .fpus-full-alert.fpus-alert-danger p {
        color: #f87171;
    }
    
    .fpus-full-best-month {
        background: rgba(34, 197, 94, 0.15);
        color: #4ade80;
    }
}

/* =========================================
   Animations
   ========================================= */
@keyframes fpus-full-fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fpus-full-widget {
    animation: fpus-full-fadeIn 0.4s ease-out;
}

.fpus-full-card {
    animation: fpus-full-fadeIn 0.4s ease-out;
    animation-fill-mode: both;
}

.fpus-full-card:nth-child(1) { animation-delay: 0.1s; }
.fpus-full-card:nth-child(2) { animation-delay: 0.15s; }
.fpus-full-card:nth-child(3) { animation-delay: 0.2s; }
.fpus-full-card:nth-child(4) { animation-delay: 0.25s; }
.fpus-full-card:nth-child(5) { animation-delay: 0.3s; }

.fpus-full-stat-card {
    animation: fpus-full-fadeIn 0.4s ease-out;
    animation-fill-mode: both;
}

.fpus-full-stat-card:nth-child(1) { animation-delay: 0.05s; }
.fpus-full-stat-card:nth-child(2) { animation-delay: 0.1s; }
.fpus-full-stat-card:nth-child(3) { animation-delay: 0.15s; }
.fpus-full-stat-card:nth-child(4) { animation-delay: 0.2s; }
.fpus-full-stat-card:nth-child(5) { animation-delay: 0.25s; }
.fpus-full-stat-card:nth-child(6) { animation-delay: 0.3s; }

/* =========================================
   Print Styles
   ========================================= */
@media print {
    .fpus-full-widget {
        background: white;
        box-shadow: none;
    }
    
    .fpus-full-hero {
        background: #4f46e5 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .fpus-full-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
}
