﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

body {
    background: #f8fafc;
}

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar-pm {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    padding: 25px 0;
    position: fixed;
    height: 100vh;
}

.logo-pm {
    padding: 0 20px 25px;
}

    .logo-pm h2 {
        color: #0f172a;
        font-weight: 700;
    }

    .logo-pm span {
        color: #3b82f6;
    }

.nav-pm {
    padding: 15px;
}

.nav-item-pm {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 10px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    margin: 4px 0;
}

    .nav-item-pm i {
        width: 24px;
        margin-right: 12px;
    }

    .nav-item-pm:hover {
        background: #f1f5f9;
    }

    .nav-item-pm.active {
        background: #3b82f6;
        color: white;
    }

.projects-list {
    padding: 20px 15px;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.project-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.project-color {
    width: 10px;
    height: 10px;
    border-radius: 4px;
    margin-right: 12px;
}

/* Main Content */
.main-pm {
    flex: 1;
    margin-left: 260px;
    padding: 25px 30px;
}

.header-pm {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

    .header-pm h1 {
        font-size: 1.8rem;
        color: #0f172a;
    }

.header-actions {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 12px 20px;
    border-radius: 10px;
    color: #64748b;
    cursor: pointer;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

    .stat-box .label {
        color: #64748b;
        font-size: 0.85rem;
    }

    .stat-box .value {
        font-size: 1.8rem;
        font-weight: 700;
        color: #0f172a;
        margin: 5px 0;
    }

    .stat-box .trend {
        color: #22c55e;
        font-size: 0.8rem;
    }

/* Main Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.card-pm {
    background: white;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #e2e8f0;
}

.card-header-pm {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Task List */
.task-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.task-checkbox {
    margin-right: 15px;
}

.task-content {
    flex: 1;
}

.task-title {
    font-weight: 500;
    color: #0f172a;
}

.task-meta {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 4px;
}

.task-priority {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.priority-high {
    background: #fef2f2;
    color: #ef4444;
}

.priority-medium {
    background: #fffbeb;
    color: #f59e0b;
}

.priority-low {
    background: #f0fdf4;
    color: #22c55e;
}

/* Team Section */
.team-member {
    display: flex;
    align-items: center;
    padding: 12px 0;
}

.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #64748b;
}

.member-info {
    flex: 1;
}

.member-name {
    font-weight: 500;
}

.member-role {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Timeline */
.timeline-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 5px;
}

    .timeline-dot.blue {
        background: #3b82f6;
    }

    .timeline-dot.green {
        background: #22c55e;
    }

    .timeline-dot.purple {
        background: #8b5cf6;
    }

.timeline-content p {
    font-weight: 500;
}

.timeline-content small {
    color: #94a3b8;
    font-size: 0.75rem;
}

/* Footer */
.footer-pm {
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    color: #64748b;
    font-size: 0.85rem;
}

@media (max-width: 1000px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar-pm {
        width: 80px;
    }

        .sidebar-pm .logo-pm span, .sidebar-pm .nav-item-pm span, .sidebar-pm .projects-list {
            display: none;
        }

    .main-pm {
        margin-left: 80px;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }
}
