/* Dashboard Specific Styles */

/* Navigation */
.header-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-main);
}

.nav-link.active {
    background: var(--accent-blue);
    color: white;
}

/* Page Title */
.page-title {
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    margin-bottom: 20px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
}

.stat-icon-time {
    background: rgba(66, 133, 244, 0.2);
    color: var(--accent-blue);
}

.stat-icon-sessions {
    background: rgba(251, 188, 5, 0.2);
    color: var(--accent-yellow);
}

.stat-icon-roasts {
    background: rgba(234, 67, 53, 0.2);
    color: var(--accent-red);
}

.stat-icon-recovery {
    background: rgba(52, 168, 83, 0.2);
    color: var(--accent-green);
}

/* History List */
.history-list {
    max-height: 400px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.history-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.history-date {
    font-weight: 600;
    color: var(--text-main);
}

.history-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.history-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Log Container */
.log-container {
    max-height: 300px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 15px;
    font-family: monospace;
    font-size: 13px;
}

.log-entry {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.log-entry:last-child {
    border-bottom: none;
}

.log-time {
    color: var(--accent-blue);
    font-weight: 600;
}

.log-roast {
    color: var(--accent-red);
}

.log-praise {
    color: var(--accent-green);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 10px;
}

/* Buttons */
.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 20px;
    border: none;
    background: rgba(234, 67, 53, 0.1);
    color: var(--accent-red);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-small:hover {
    background: var(--accent-red);
    color: white;
}

/* Grade Badge */
.grade-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 14px;
}

.grade-a { background: rgba(52, 168, 83, 0.2); color: var(--accent-green); }
.grade-b { background: rgba(66, 133, 244, 0.2); color: var(--accent-blue); }
.grade-c { background: rgba(251, 188, 5, 0.2); color: var(--accent-yellow); }
.grade-d { background: rgba(234, 67, 53, 0.2); color: var(--accent-red); }
.grade-f { background: rgba(234, 67, 53, 0.3); color: var(--accent-red); }
