/* ═══════════════════════════════════════════
   1MinuteReel — Dashboard Styles
   ═══════════════════════════════════════════ */

/* ── Dashboard Header ── */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
}
.dashboard-header h2 {
    font-size: var(--font-size-2xl);
}

/* ── Project Grid ── */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
}

/* ── Project Card ── */
.project-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-fast);
    cursor: pointer;
}
.project-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
}

.project-card-thumb {
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 200px;
    background: linear-gradient(135deg, var(--color-primary-bg), #ddd6fe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 40px;
    overflow: hidden;
}
.project-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-body {
    padding: var(--space-4);
}
.project-card-title {
    font-weight: 600;
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.project-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
}

.project-card-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.project-card-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-text-light);
}
.project-card-status.status-draft::before { background: var(--color-text-light); }
.project-card-status.status-recorded::before { background: var(--color-warning); }
.project-card-status.status-captioned::before { background: var(--color-info); }
.project-card-status.status-exported::before { background: var(--color-success); }
.project-card-status.status-published::before { background: var(--color-primary); }

/* ── New Project Card ── */
.project-card-new {
    border: 2px dashed var(--color-border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.project-card-new:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-bg);
}
.project-card-new-inner {
    text-align: center;
    color: var(--color-text-light);
}
.project-card-new-inner .icon {
    font-size: 40px;
    margin-bottom: var(--space-2);
    display: block;
}
.project-card-new-inner span {
    font-weight: 500;
    font-size: var(--font-size-sm);
}

/* ── Stats Bar ── */
.stats-bar {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}
.stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    flex: 1;
    min-width: 160px;
}
.stat-card-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-1);
}
.stat-card-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }

    .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .stats-bar {
        flex-direction: column;
    }
}
