@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');

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

html {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f5f5;
    height: 100vh;
}

body {
    display: flex;
    height: 100vh;
    overflow: hidden;
}


header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.search-div {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    width: 300px;
}

.search-bar {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-bar i {
    color: #6c757d;
    margin-right: 0.5rem;
}

.search-bar input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    width: 100%;
    color: #333;
}

.search-bar input::placeholder {
    color: #6c757d;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.header-icons i {
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.header-icons i:hover {
    background-color: #f8f9fa;
}

.notification-dot {
    position: absolute;
    top: 0.25rem;
    right: 2.5rem;
    width: 8px;
    height: 8px;
    background-color: #3498db;
    border-radius: 50%;
    border: 2px solid white;
}


nav {
    width: 280px;
    height: 100vh;
    background-color: #2c3e50;
    padding: 2rem 0;
    margin-top: 70px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
}

.button-container a {
    text-decoration: none;
    color: #bdc3c7;
    transition: all 0.3s ease;
}

.button-container a.active button {
    background-color: #3498db;
    color: white;
}

.button-container button {
    width: 100%;
    background: none;
    border: none;
    color: #bdc3c7;
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.button-container button:hover {
    background-color: #34495e;
    color: white;
}

.button-container button i {
    width: 20px;
    text-align: center;
}


main {
    margin-left: 280px;
    margin-top: 70px;
    padding: 2rem;
    width: calc(100% - 280px);
    height: calc(100vh - 70px);
    overflow-y: auto;
    background-color: #f5f5f5;
}


.page-header {
    margin-bottom: 2rem;
}

.header-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.header-content p {
    color: #7f8c8d;
    font-size: 1.1rem;
}


.projects-section {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #7f8c8d;
    font-size: 1rem;
}

.new-project-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.new-project-btn:hover {
    background-color: #2980b9;
}


.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.project-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.project-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.project-deadline {
    color: #95a5a6;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    min-width: 200px;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.completed {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.in-progress {
    background-color: #cce5ff;
    color: #004085;
}

.status-badge.almost-ready {
    background-color: #fff3cd;
    color: #856404;
}

.status-badge.not-started {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #3498db;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
    min-width: 35px;
    text-align: right;
}


.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.summary-card {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.summary-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.summary-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.summary-icon.completed {
    background-color: #28a745;
}

.summary-icon.in-progress {
    background-color: #3498db;
}

.summary-icon.not-started {
    background-color: #6c757d;
}

.summary-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.summary-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}


@media (max-width: 768px) {
    nav {
        width: 100%;
        height: auto;
        position: relative;
        margin-top: 0;
    }
    
    main {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        height: auto;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .project-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .project-status {
        align-items: stretch;
    }
    
    .progress-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-icons {
        gap: 0.5rem;
    }
    
    .search-div {
        width: 200px;
    }
    
    .projects-section {
        padding: 1rem;
    }
    
    .project-card {
        padding: 1rem;
    }
}
