@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&family=Source+Code+Pro:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} 

body {
  font-family: 'Roboto', sans-serif;
  background-color: #0f1218;
  color: #e4e6eb;
  min-height: 100vh;
}

.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  margin-bottom: 30px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo i {
  font-size: 1.8rem;
  color: #3b82f6;
  margin-right: 12px;
}

.logo h1 {
  font-family: 'Source Code Pro', monospace;
  font-size: 1.7rem;
  font-weight: 600;
  color: #e4e6eb;
}

.user-info {
  display: flex;
  align-items: center;
}

.user-info span {
  margin-right: 15px;
  color: #94a3b8;
}

.logout-btn {
  display: flex;
  align-items: center;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.2);
}

.logout-btn i {
  margin-right: 6px;
}

.projects-container {
  margin-bottom: 40px;
}

.projects-container h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #e4e6eb;
  position: relative;
  padding-left: 15px;
}

.projects-container h2:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, #3b82f6, #2563eb);
  border-radius: 2px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.project-card {
  background-color: rgba(30, 41, 59, 0.5);
  border-radius: 12px;
  padding: 25px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

.project-card:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}

.project-card:hover:after {
  transform: scaleX(1);
}

.project-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.project-icon i {
  font-size: 1.4rem;
  color: #3b82f6;
}

.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #e4e6eb;
}

.project-card p {
  color: #94a3b8;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.project-link {
  display: flex;
  align-items: center;
  color: #3b82f6;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.project-link i {
  margin-left: 6px;
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.project-link:hover {
  color: #60a5fa;
}

.project-link:hover i {
  transform: translateX(4px);
}

.add-new {
  background-color: rgba(30, 41, 59, 0.3);
  border: 1px dashed rgba(59, 130, 246, 0.3);
}

.add-new .project-icon {
  background: rgba(59, 130, 246, 0.1);
}

.add-new:hover {
  background-color: rgba(30, 41, 59, 0.5);
}

.status-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.status-card {
  background-color: rgba(30, 41, 59, 0.5);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.status-card h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.status-card h3 i {
  margin-right: 10px;
  color: #3b82f6;
}

.status-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.status-item {
  display: flex;
  align-items: center;
}

.status-item span {
  width: 80px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.status-item span:last-child {
  width: 40px;
  text-align: right;
  color: #e4e6eb;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 3px;
  margin: 0 10px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border-radius: 3px;
}

.notification-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.notification-list li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #94a3b8;
}

.notification-list li i {
  margin-right: 10px;
  font-size: 0.9rem;
}

.notification-list li:nth-child(1) i {
  color: #10b981;
}

.notification-list li:nth-child(2) i {
  color: #f59e0b;
}

.notification-list li:nth-child(3) i {
  color: #3b82f6;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .status-section {
    grid-template-columns: 1fr;
  }
}

/* Add the following styles to the end of the file */

.projects-header-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.action-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.action-btn i {
  font-size: 0.9em;
}

.empty-projects-message {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  text-align: center;
  background-color: rgba(30, 41, 59, 0.3);
  border-radius: 12px;
  border: 1px dashed rgba(59, 130, 246, 0.3);
}

.empty-projects-message i {
  font-size: 3rem;
  color: #3b82f6;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.empty-projects-message p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.empty-projects-message .action-btn {
  font-size: 0.9rem;
  padding: 10px 20px;
}
