@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;
    color: #222;
}
  
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;
}
.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;
}
  
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;
}
nav 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;
}
nav button:hover {
    background-color: #34495e;
    color: white;
}
nav 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;
}
  
  .content-header h2 {
    font-size: 22px;
    margin: 0;
  }
  
  .content-header p {
    color: #666;
    margin-bottom: 20px;
  }
  
  .project-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: 0.2s;
  }
  
  .project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  
  .project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .project-header h3 {
    margin: 0;
    font-size: 18px;
  }
  
  .status {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: white;
  }
  
  .status.in-progress {
    background: #4b37ff;
  }
  
  .status.almost-done {
    background: #2ecc71;
  }
  
  .meta {
    font-size: 13px;
    color: #555;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 8px 0 10px 0;
  }
  
  .meta i {
    margin-right: 6px;
    color: #777;
  }
  
  .progress {
    background: #eee;
    border-radius: 8px;
    height: 8px;
    margin: 12px 0;
    overflow: hidden;
  }
  
  .bar {
    background: #4b37ff;
    height: 100%;
    border-radius: 8px;
  }
  
  .tags span {
    background: #f2f2f2;
    padding: 5px 10px;
    border-radius: 6px;
    margin-right: 8px;
    font-size: 13px;
  }
  
  .files {
    margin-top: 10px;
  }
  
  .files button {
    background: #f8f8ff;
    border: 1px solid #e0e0ff;
    border-radius: 6px;
    padding: 6px 10px;
    margin-right: 8px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .files button:hover {
    background: #4b37ff;
    color: white;
    transform: translateY(-2px);
  }
  
  .files i {
    margin-right: 6px;
  }
  
  .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-top: 15px;
  }
  
  .open-btn {
    background: #4b37ff;
    color: white;
    border: none;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .open-btn:hover {
    background: #372ccf;
    transform: scale(1.05);
  }
  