/* ==========================================================================
   COMPONENT - DASHBOARD & STATS WIDGETS
   ========================================================================== */

.dashboard-widget {
    background: var(--bg-800);
    border: 1px solid var(--border-700);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
}

.dashboard-stat-card {
    background: var(--bg-900);
    border: 1px solid var(--border-700);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Metric colored borders */
.dashboard-stat-card.coral {
    border-left: 3px solid var(--primary);
}

.dashboard-stat-card.emerald {
    border-left: 3px solid var(--success);
}

.dashboard-stat-card.cyan {
    border-left: 3px solid var(--info);
}

/* Activity item rows */
.activity-item {
    border-bottom: 1px solid var(--border-700);
    padding-bottom: var(--space-2);
    margin-bottom: var(--space-2);
}

.activity-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Progress circular rings */
.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    transition: stroke-dashoffset var(--transition-base);
    transform-origin: 50% 50%;
}

/* Stat Card helper styles */
.stat-value {
    font-family: 'Outfit', sans-serif;
}

.stat-progress-bg {
    height: 4px;
    background-color: var(--border-700);
}

.stat-progress-coral {
    background-color: var(--primary);
}

.stat-progress-emerald {
    background-color: var(--success);
}

.stat-progress-cyan {
    background-color: var(--info);
}

/* Dashboard Widget helper layout classes */
.dashboard-header-border {
    border-bottom: 1px solid var(--border-700) !important;
}

.dashboard-ring-container {
    width: 120px;
    height: 120px;
}

.dashboard-ring-center {
    font-family: 'Outfit', sans-serif;
}

.dashboard-badge-pill {
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: var(--font-xs);
    font-weight: var(--font-weight-semibold);
}

.dashboard-activity-header {
    border-top: 1px solid var(--border-700) !important;
}

.dashboard-activity-title {
    font-family: 'Outfit', sans-serif;
}

.dashboard-widget h3,
.dashboard-widget h4,
.dashboard-widget .dashboard-goal-text,
.dashboard-widget .dashboard-activity-name {
    color: var(--text-50) !important;
}

.dashboard-widget .dashboard-subtitle {
    color: var(--text-400) !important;
}

/* Stat Card Theme Rules */
.dashboard-stat-card .stat-card-title {
    color: var(--text-500);
}

.dashboard-stat-card .stat-value {
    color: var(--text-50);
}

.dashboard-stat-card .stat-card-icon {
    color: var(--text-400);
}

.dashboard-stat-card .stat-card-unit {
    color: var(--text-400);
}

/* ==========================================================================
   DASHBOARD TEASER BLUR & LOCK OVERLAY (GUEST MODE)
   ========================================================================== */
.dashboard-teaser-blur {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
    opacity: 0.6;
}

.dashboard-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.4);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-lg);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lock-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--primary-light);
    animation: lock-pulse 2s infinite ease-in-out;
}

.dashboard-lock-overlay .max-w-320 {
    max-width: 320px;
}

@keyframes lock-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 25px var(--primary);
    }
}



