* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #f8fafc;
    padding-top: 60px; /* Reduced from 120px since top banner is removed */
}

/* Dashboard specific styles */
.dashboard-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 2rem 2rem;
}

/* Dashboard Header */
.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-title-section {
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.dashboard-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background: #1d4ed8;
    color: white;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #1e40af;
}

.btn-secondary {
    background: white;
    color: #1d4ed8;
    border: 1px solid #1d4ed8;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #f3f4f6;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.candidates {
    background: #dbeafe;
    color: #1d4ed8;
}

.stat-icon.analyzed {
    background: #d1fae5;
    color: #059669;
}

.stat-icon.pending {
    background: #fef3c7;
    color: #d97706;
}

.stat-icon.score {
    background: #dbeafe;
    color: #2563eb;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.stat-progress {
    height: 4px;
    background: #f3f4f6;
    border-radius: 2px;
    overflow: hidden;
}

.stat-progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.stat-progress-bar.green {
    background: #10b981;
}

.stat-progress-bar.yellow {
    background: #f59e0b;
}

.stat-status {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.stat-time {
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.stat-badge {
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

/* Filters Section */
.filters-section {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filters-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.filter-group label {
    display: block;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.btn-filter-apply {
    padding: 0.75rem 2rem;
    background: #1d4ed8;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-filter-apply:hover {
    background: #1e40af;
}

/* Candidates Table */
.candidates-table {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.table-header {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 2fr 1.5fr 2fr 1fr 1fr 100px;
    gap: 1rem;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.candidate-row {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: grid;
    grid-template-columns: 2fr 1.5fr 2fr 1fr 1fr 100px;
    gap: 1rem;
    align-items: center;
    transition: background-color 0.2s ease;
}

.candidate-row:hover {
    background: #f8fafc;
}

.candidate-row:last-child {
    border-bottom: none;
}

.candidate-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.candidate-avatar {
    width: 32px;
    height: 32px;
    background: #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.candidate-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.candidate-details p {
    font-size: 12px;
    color: #64748b;
}

.score-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.score-value {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.score-bar {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: #10b981;
    border-radius: 2px;
}

.skills-breakdown {
    font-size: 12px;
    color: #64748b;
}

.skills-breakdown div {
    margin-bottom: 2px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: #d1fae5;
    color: #059669;
}

.upload-date {
    font-size: 12px;
    color: #64748b;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #1d4ed8;
    background: #f8fafc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    border-color: #1e40af;
    background: #dbeafe;
    color: #1e40af;
}
@media (max-width: 1024px) {
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-actions {
        flex-direction: column;
    }

    .filters-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .dashboard-container {
        padding: 1rem;
    }

    .dashboard-header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .dashboard-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    .dashboard-actions .btn-primary,
    .dashboard-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .dashboard-title {
        font-size: 1.75rem;
    }

    .stats-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .filters-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .table-header,
    .candidate-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .candidate-row {
        padding: 1rem;
    }
}

/* Footer */
.dashboard-footer {
    margin-top: 4rem;
}