/* Dashboard Specific Styles */
.dashboard-page {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-soft);
}

/* Sidebar */
.sidebar {
    width: 260px;
    background-color: var(--bg-white);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
}

.sidebar-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-nav {
    padding: 1.5rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-weight: 500;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background-color: var(--primary-light);
    color: var(--primary);
}

.sidebar-nav span {
    font-size: 1.25rem;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.logout-btn {
    width: 100%;
    text-align: left;
    background: none;
    color: var(--error);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
}

.logout-btn:hover {
    background-color: #fee2e2;
}

/* Main Content */
.dashboard-content {
    flex: 1;
    margin-left: 260px;
    padding: 2.5rem;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.header-welcome h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.header-welcome p {
    color: var(--text-muted);
}

/* Stats */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
}

/* Recent Grid */
.recent-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.recent-resumes, .job-activity {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.grid-header h2 {
    font-size: 1.25rem;
}

.grid-header a {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.resume-list, .activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resume-item, .activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background-color: var(--bg-soft);
    border: 1px solid transparent;
}

.resume-item:hover {
    border-color: var(--primary);
}

.resume-icon {
    width: 45px;
    height: 45px;
    background-color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.resume-info h3, .activity-info h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.resume-info p, .activity-info p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-indicator.success { background-color: var(--success); }
.status-indicator.warning { background-color: var(--warning); }

.btn-icon {
    background: none;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
}

.btn-icon:hover {
    background-color: var(--border);
}

@media (max-width: 1024px) {
    .recent-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .sidebar { width: 0; display: none; }
    .dashboard-content { margin-left: 0; }
}
