/* ================================
   UpLift - Dashboard Styles
   🎨 Vibrant Modern Design v2.0
   Enhanced with Colors & Animations
   ================================ */

/* ========== Loading Screen ========== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 10000;
}

.loading-screen .spinner {
    border-color: var(--color-gray-200);
    border-top-color: var(--color-primary);
}

.loading-screen p {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== Navigation ========== */
.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-user span {
    font-weight: var(--font-weight-semibold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== Dashboard Main ========== */
.dashboard-main {
    padding-top: 80px;
    min-height: 100vh;
    background: var(--color-bg-main);
    position: relative;
}

/* Animated background pattern */
.dashboard-main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.dashboard-view {
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== Welcome Section ========== */
.welcome-section {
    margin-bottom: 2rem;
}

.welcome-section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-gray-900);
    font-weight: var(--font-weight-bold);
}

.welcome-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ========== Stats Grid ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--color-white);
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all var(--transition-normal);
    border: 1px solid var(--color-gray-100);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:nth-child(1) .stat-icon {
    background: var(--gradient-primary);
}

.stat-card:nth-child(2) .stat-icon {
    background: var(--gradient-success);
}

.stat-card:nth-child(3) .stat-icon {
    background: var(--gradient-secondary);
}

.stat-card:nth-child(4) .stat-icon {
    background: var(--gradient-cool);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    position: relative;
}

.stat-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0.5;
    z-index: -1;
}

.stat-icon [data-lucide] {
    width: 28px;
    height: 28px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: var(--font-weight-black);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
    margin-top: 0.5rem;
}

/* ========== View Tabs ========== */
.view-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: var(--color-white);
    padding: 0.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
}

.view-tab {
    padding: 1rem 2rem;
    background: var(--color-white);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: var(--font-weight-bold);
    font-size: 1rem;
    color: var(--color-gray-900);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.view-tab:hover {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.view-tab.active {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
}

.view-tab [data-lucide] {
    width: 22px;
    height: 22px;
}

/* ========== Main Views ========== */
.main-view {
    display: none;
}

.main-view.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Dashboard Grid ========== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* ========== Dashboard Cards ========== */
.dashboard-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--color-gray-100);
    position: relative;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-rainbow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.dashboard-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.dashboard-card:hover::before {
    transform: scaleX(1);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
}

.card-header h2 {
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-gray-900);
    font-weight: var(--font-weight-bold);
}

.card-header [data-lucide] {
    color: var(--color-primary);
    width: 24px;
    height: 24px;
}

.card-content {
    padding: 1.5rem;
}

/* ========== Enhanced Badges ========== */
.badge {
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.15));
    color: var(--color-warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15));
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    color: var(--color-primary);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-active,
.status-badge {
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
}

.status-badge.pending,
.badge-active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.15));
    color: var(--color-warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.completed {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15));
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ========== Enhanced Schedule Items ========== */
.schedule-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.schedule-item:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(4px);
}

.schedule-item:last-child {
    margin-bottom: 0;
}

.schedule-item .time {
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    min-width: 80px;
    padding: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    text-align: center;
}

.schedule-item .subject {
    flex: 1;
    padding: 0.875rem 1.125rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
}

.schedule-item .subject::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: inherit;
    filter: blur(8px);
}

.subject.math {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.05));
    border-color: var(--color-math);
}

.subject.english {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(236, 72, 153, 0.05));
    border-color: var(--color-english);
}

.subject.science {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border-color: var(--color-science);
}

.subject.lunch {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1), rgba(107, 114, 128, 0.05));
    border-color: var(--color-gray-500);
}

.subject.sports {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(6, 182, 212, 0.05));
    border-color: var(--color-sports);
}

/* Custom activity types */
.subject:not(.math):not(.english):not(.science):not(.lunch):not(.sports) {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
    border-color: var(--color-accent);
}

.subject strong {
    display: block;
    color: var(--color-gray-900);
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.25rem;
}

.subject small {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

/* ========== Enhanced Action Buttons ========== */
.action-btn {
    width: 100%;
    padding: 1.125rem 1.5rem;
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-gray-900);
    margin-bottom: 0.75rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.action-btn:hover {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.action-btn:hover::before {
    transform: scaleY(1);
}

.action-btn:last-child {
    margin-bottom: 0;
}

.action-btn [data-lucide] {
    color: var(--color-primary);
    width: 24px;
    height: 24px;
}

/* Different colors for each action */
.action-btn:nth-child(1) [data-lucide] {
    color: var(--color-primary);
}

.action-btn:nth-child(2) [data-lucide] {
    color: var(--color-success);
}

.action-btn:nth-child(3) [data-lucide] {
    color: var(--color-secondary);
}

.action-btn:nth-child(4) [data-lucide] {
    color: var(--color-accent);
}

.action-btn:nth-child(5) [data-lucide] {
    color: var(--color-info);
}

/* ========== Activity Items ========== */
.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.activity-item:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(4px);
}

.activity-item:last-child {
    margin-bottom: 0;
}

.activity-item [data-lucide] {
    flex-shrink: 0;
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
}

.activity-item > div {
    flex: 1;
}

.activity-item span {
    color: var(--color-gray-900);
    font-weight: var(--font-weight-medium);
    display: block;
}

.activity-item small {
    display: block;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ========== Button Styles ========== */
.btn-small {
    padding: 0.625rem 1.125rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: none;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-small [data-lucide] {
    width: 16px;
    height: 16px;
}

/* ========== Progress Bars ========== */
.progress-bar-container {
    height: 8px;
    background: var(--color-gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

/* ========== Assignment Items ========== */
.assignment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    border: 2px solid var(--color-gray-200);
    transition: all var(--transition-normal);
    background: var(--color-white);
}

.assignment-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.assignment-item:last-child {
    margin-bottom: 0;
}

.assignment-info {
    flex: 1;
}

.assignment-info strong {
    display: block;
    color: var(--color-gray-900);
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.25rem;
}

.assignment-info small {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

/* ========== Empty States ========== */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--color-text-secondary);
}

/* ========== Stagger Animation ========== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-card {
    animation: slideIn 0.5s ease backwards;
}

.dashboard-card:nth-child(1) { animation-delay: 0.05s; }
.dashboard-card:nth-child(2) { animation-delay: 0.1s; }
.dashboard-card:nth-child(3) { animation-delay: 0.15s; }
.dashboard-card:nth-child(4) { animation-delay: 0.2s; }

.stat-card {
    animation: slideIn 0.5s ease backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.2s; }

/* ========== Responsive Design ========== */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 0 1rem;
    }

    .welcome-section h1 {
        font-size: 2rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-user span {
        display: none;
    }

    .btn-logout span {
        display: none;
    }

    .view-tabs {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .view-tabs::-webkit-scrollbar {
        display: none;
    }

    .view-tab {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .dashboard-main {
        padding-top: 70px;
    }

    .dashboard-container {
        padding: 0 0.75rem;
    }

    .welcome-section h1 {
        font-size: 1.75rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .card-header {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .card-header h2 {
        font-size: 1.125rem;
    }

    .card-content {
        padding: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
    }

    .stat-icon [data-lucide] {
        width: 24px;
        height: 24px;
    }

    .stat-value {
        font-size: 1.875rem;
    }

    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .schedule-item .time {
        min-width: auto;
        width: 100%;
    }

    .schedule-item .subject {
        width: 100%;
    }

    .subject strong {
        font-size: 0.9375rem;
    }

    .subject small {
        font-size: 0.8125rem;
    }

    .action-btn {
        padding: 1rem 1.25rem;
        min-height: 48px;
    }

    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .view-tab {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }

    .view-tab span {
        display: none;
    }

    .view-tab [data-lucide] {
        margin: 0;
    }

    .dashboard-grid {
        gap: 1rem;
    }

    .stats-grid {
        gap: 1rem;
    }
}

/* Extra small phones - optimize for very small screens */
@media (max-width: 360px) {
    .dashboard-container {
        padding: 0 0.5rem;
    }

    .welcome-section h1 {
        font-size: 1.5rem;
    }

    .stat-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .stat-info {
        align-items: center;
    }

    .card-header {
        padding: 0.875rem;
    }

    .card-content {
        padding: 0.875rem;
    }

    .action-btn {
        font-size: 0.9375rem;
    }
}

/* ========== WELLNESS HUB IN DASHBOARD ========== */
.wellness-hub-full {
    animation: slideIn 0.5s ease;
}

.wellness-hub-full .wellness-header {
    text-align: center;
    margin-bottom: 2rem;
}

.wellness-hub-full .wellness-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #8b5cf6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wellness-hub-full .mood-tracker-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--color-gray-100);
}

.wellness-hub-full .mood-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.wellness-hub-full .mood-btn {
    background: var(--color-white);
    border: 3px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.wellness-hub-full .mood-btn:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.wellness-hub-full .mood-btn.selected {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

.wellness-hub-full .mood-emoji {
    font-size: 2.5rem;
}

.wellness-hub-full .wellness-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.wellness-hub-full .wellness-tab {
    padding: 1rem 1.5rem;
    background: var(--color-white);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-gray-700);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.wellness-hub-full .wellness-tab:hover {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

.wellness-hub-full .wellness-tab.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.wellness-hub-full .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.wellness-hub-full .video-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid var(--color-gray-100);
}

.wellness-hub-full .video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.wellness-hub-full .video-info {
    padding: 1.5rem;
}

.wellness-hub-full .video-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--color-gray-900);
}

.wellness-hub-full .breathing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.wellness-hub-full .breathing-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid var(--color-gray-100);
    text-align: center;
}

.wellness-hub-full .breathing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.wellness-hub-full .affirmations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.wellness-hub-full .affirmation-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
    transition: all var(--transition-normal);
}

.wellness-hub-full .affirmation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.wellness-hub-full .affirmation-card p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-gray-900);
    margin: 0;
}

/* ========== Dark Mode ========== */
[data-theme="dark"] .dashboard-main::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

[data-theme="dark"] .loading-screen {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

[data-theme="dark"] .dashboard-card,
[data-theme="dark"] .stat-card {
    background: var(--color-bg-secondary);
    border-color: var(--color-border);
}

[data-theme="dark"] .dashboard-card:hover,
[data-theme="dark"] .stat-card:hover {
    box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .card-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    border-bottom-color: var(--color-border);
}

[data-theme="dark"] .card-header h2 {
    color: var(--color-text);
}

[data-theme="dark"] .stat-value {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .subject strong,
[data-theme="dark"] .assignment-info strong,
[data-theme="dark"] .activity-item span {
    color: var(--color-text);
}

[data-theme="dark"] .schedule-item:hover,
[data-theme="dark"] .activity-item:hover,
[data-theme="dark"] .action-btn:hover {
    background: rgba(99, 102, 241, 0.1);
}

[data-theme="dark"] .action-btn,
[data-theme="dark"] .assignment-item {
    background: var(--color-bg-secondary);
    border-color: var(--color-border);
    color: var(--color-text);
}

[data-theme="dark"] .view-tabs {
    background: var(--color-bg-secondary);
    border-color: var(--color-border);
}

[data-theme="dark"] .view-tab {
    color: var(--color-text-secondary);
}

[data-theme="dark"] .view-tab:hover {
    color: var(--color-text);
}

[data-theme="dark"] .view-tab.active {
    color: white;
}

[data-theme="dark"] .progress-bar-container {
    background: var(--color-border);
}

[data-theme="dark"] .empty-state h3 {
    color: var(--color-text);
}
