/* Dashboard Wireframe Styles - Grayscale Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.dashboard-container {
    display: flex;
    height: 100vh;
}

/* Navigation Sidebar */
.sidebar {
    width: 250px;
    background-color: #2d3436;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    margin-bottom: 30px;
}

.sidebar-header h1 {
    font-size: 20px;
    font-weight: bold;
}

.nav-menu {
    flex-grow: 1;
}

.nav-item {
    padding: 15px 0;
    border-bottom: 1px solid #636e72;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-item:hover {
    background-color: #636e72;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.nav-item.active {
    background-color: #74b9ff;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header with User Profile */
.header {
    background-color: white;
    padding: 20px 30px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-logo {
    height: 32px;
    width: auto;
}

.header h2 {
    font-size: 24px;
    color: #2d3436;
}

.user-profile {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #636e72;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 10px;
}

.user-name {
    margin-right: 10px;
    font-weight: 500;
}

.dropdown-arrow {
    font-size: 12px;
    color: #666;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    min-width: 150px;
    z-index: 1000;
    display: none;
}

.dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Content Area */
.content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

/* Metrics Cards */
.metrics-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 20px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #636e72;
}

.metric-card.light {
    border-left-color: #b2bec3;
}

.metric-card.medium {
    border-left-color: #636e72;
}

.metric-card.dark {
    border-left-color: #2d3436;
}

.metric-value {
    font-size: 32px;
    font-weight: bold;
    color: #2d3436;
    margin-bottom: 8px;
}

.metric-label {
    color: #636e72;
    font-size: 14px;
    margin-bottom: 5px;
}

.metric-change {
    font-size: 12px;
    color: #636e72;
}

.metric-change.positive {
    color: #2d3436;
}

.metric-change.negative {
    color: #636e72;
}

/* Task List */
.task-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.task-header {
    padding: 20px 25px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #636e72;
}

.filter-btn.active {
    background-color: #2d3436;
    color: white;
    border-color: #2d3436;
}

.task-list {
    max-height: 400px;
    overflow-y: auto;
}

.task-item {
    padding: 15px 25px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.task-item:last-child {
    border-bottom: none;
}

.task-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.task-checkbox {
    margin-right: 15px;
    width: 18px;
    height: 18px;
}

.task-details {
    flex: 1;
}

.task-title {
    font-weight: 500;
    margin-bottom: 5px;
    color: #2d3436;
}

.task-meta {
    font-size: 12px;
    color: #636e72;
}

.task-priority {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.priority-high {
    background-color: #ddd;
    color: #2d3436;
}

.priority-medium {
    background-color: #f0f0f0;
    color: #636e72;
}

.priority-low {
    background-color: #f8f9fa;
    color: #b2bec3;
}

.task-assignee {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #636e72;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
}