/* Projects Page Styles - Cosmic Theme */

.projects-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 20px;
}

.projects-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.projects-title {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  margin-bottom: 1rem;
}

.projects-subtitle {
  color: #e0e0e0;
  font-size: 1.2rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.5rem 0;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.section-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.section-header:hover::before {
  left: 100%;
}

.section-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 10px currentColor);
  transition: transform 0.3s ease;
}

.section-header:hover .section-icon {
  transform: scale(1.1);
}

.section-count {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.7;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.section-header:hover .section-count {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.active-header {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  border-color: rgba(102, 126, 234, 0.4);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
}

.completed-header {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 237, 78, 0.2) 100%);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
  animation: completedGlow 3s ease-in-out infinite alternate;
}

.archived-header {
  background: linear-gradient(135deg, rgba(158, 158, 158, 0.2) 0%, rgba(189, 189, 189, 0.2) 100%);
  border-color: rgba(158, 158, 158, 0.4);
  box-shadow: 0 8px 32px rgba(158, 158, 158, 0.2);
}

.blocked-header {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 138, 101, 0.2) 100%);
  border-color: rgba(255, 107, 107, 0.4);
  box-shadow: 0 8px 32px rgba(255, 107, 107, 0.2);
}

@keyframes completedGlow {
  0% {
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
  }
  100% {
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4), 0 0 60px rgba(255, 215, 0, 0.1);
  }
}

.projects-header-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.new-project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #42a5f5 0%, #2196f3 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(66, 165, 245, 0.3);
  border: 2px solid transparent;
}

.new-project-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.new-task-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
  border: 2px solid transparent;
}

.new-task-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
  color: white;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Project Table Styles */
.projects-table-container {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.projects-table-container:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.projects-table-container + .projects-table-container {
  margin-top: 3rem;
}

.projects-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.projects-table th {
  background: linear-gradient(135deg, #2a2a3e 0%, #3a3a4e 100%);
  color: #e0e0e0;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #4a4a5e;
  position: relative;
  vertical-align: middle;
  height: 60px;
  min-height: 60px;
}

.projects-table td {
  padding: 1rem;
  border-bottom: 1px solid #3a3a4e;
  vertical-align: middle;
  text-align: left;
  height: 60px;
  min-height: 60px;
}

/* Blocked project row styles */
.project-row.blocked {
  opacity: 0.8;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(255, 138, 101, 0.05) 100%);
}

.project-row.blocked:hover {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 138, 101, 0.1) 100%);
}

/* Blocked-by info styles */
.blocked-by-info {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blocked-by-project {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8a65 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

/* Empty section styles */
.empty-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1rem 0;
}

.empty-section-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.empty-section-text {
  color: #9e9e9e;
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

.projects-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.projects-table tr.archived {
  opacity: 0.7;
}

.projects-table tr.archived:hover {
  opacity: 0.9;
}

/* Column-specific styles */
.name-column {
  width: 200px;
  text-align: left;
}

.description-column {
  width: 250px;
}

.tasks-column {
  width: 100px;
  text-align: center;
}

.completion-column {
  width: 150px;
}

.created-column {
  width: 120px;
}

.blocked-by-column {
  width: 150px;
  text-align: center;
}

.actions-column {
  width: 200px;
}

/* Project row content styles */
.project-name-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-name-link {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.project-name-link:hover {
  color: var(--project-color, #667eea);
  text-shadow: 0 0 8px var(--project-color-fade, rgba(102, 126, 234, 0.3));
}

.project-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.project-description {
  color: #b0b0b0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.tasks-info {
  text-align: center;
}

.task-count {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  color: #e0e0e0;
}

.task-label {
  display: block;
  font-size: 0.8rem;
  color: #b0b0b0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.completion-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #3a3a4e;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--project-color, #667eea) 0%, var(--project-color-light, #764ba2) 100%);
  transition: width 0.3s ease;
}

.completion-text {
  font-size: 0.9rem;
  color: #e0e0e0;
  font-weight: 600;
}

.completed-status {
  color: #ffd700;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.created-date {
  color: #b0b0b0;
  font-size: 0.9rem;
}

.project-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-start;
}

.blocking-form {
  display: inline-block;
  margin: 0;
}

.archive-form {
  display: inline-block;
  margin: 0;
}

.unblock-form {
  display: inline-block;
  margin: 0;
}

.uncomplete-form {
  display: inline-block;
  margin: 0;
}

.unarchive-form {
  display: inline-block;
  margin: 0;
}

.blocking-select {
  background: #2a2a3e;
  border: 1px solid #4a4a4e;
  color: #e0e0e0;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  min-width: 140px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blocking-select:hover {
  background: #3a3a4e;
  border-color: #5a5a6e;
}

.blocking-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.action-btn {
  background: #3a3a4e;
  border: 1px solid #4a4a4e;
  color: #e0e0e0;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
}

.action-btn:hover {
  background: #4a4a5e;
  border-color: #5a5a6e;
  color: white;
  transform: translateY(-1px);
}

.action-btn.view-btn {
  background: #667eea;
  border-color: #764ba2;
}

.action-btn.view-btn:hover {
  background: #764ba2;
}

.action-btn.edit-btn {
  background: #42a5f5;
  border-color: #2196f3;
}

.action-btn.edit-btn:hover {
  background: #2196f3;
}

.action-btn.add-task-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border-color: #20c997;
  color: white;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.action-btn.add-task-btn:hover {
  background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.action-btn.complete-btn {
  background: #ffd700;
  border-color: #ffc107;
  color: #000;
}

.action-btn.complete-btn:hover {
  background: #ffc107;
}

.action-btn.incomplete-btn {
  background: #ffa726;
  border-color: #ff9800;
}

.action-btn.incomplete-btn:hover {
  background: #ff9800;
}

.action-btn.archive-btn {
  background: #9e9e9e;
  border-color: #757575;
}

.action-btn.archive-btn:hover {
  background: #757575;
}

.action-btn.unarchive-btn {
  background: #42a5f5;
  border-color: #2196f3;
}

.action-btn.unarchive-btn:hover {
  background: #2196f3;
}

.action-btn.delete-btn {
  background: #ef5350;
  border-color: #e53935;
}

.action-btn.delete-btn:hover {
  background: #e53935;
}

.action-btn.blocking-btn {
  background: #667eea;
  border-color: #764ba2;
}

.action-btn.blocking-btn:hover {
  background: #764ba2;
}

.action-btn.unblock-btn {
  background: #28a745;
  border-color: #20c997;
  color: white;
}

.action-btn.unblock-btn:hover {
  background: #20c997;
}

/* Project Show Page Styles */
.project-show-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.project-color-indicator {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 0 40px currentColor;
  border: 4px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.project-color-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

.project-info h1 {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  margin: 0 0 0.5rem 0;
}

.project-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.project-info p {
  color: #b0b0b0;
  font-size: 1.2rem;
  font-style: italic;
  margin: 0;
}

.project-description {
  color: #e0e0e0;
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.project-stats .stat {
  color: #e0e0e0;
  font-size: 1rem;
  font-weight: 500;
}

.project-stats .stat strong {
  color: #667eea;
  font-weight: 700;
}

.back-link {
  display: inline-block;
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #764ba2;
  text-decoration: none;
}

/* Task List Styles */
.task-list {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.task-item {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.task-item:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.task-status {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.task-content {
  flex: 1;
}

.task-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

.task-content p {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
}

.task-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.task-meta span {
  font-size: 0.8rem;
  color: #888888;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.task-actions {
  display: flex;
  gap: 0.5rem;
}

.task-action-btn {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.task-action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Form Styles */
.form-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-title {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: #e0e0e0;
  font-size: 1.1rem;
  opacity: 0.8;
}

.project-form {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  color: #e0e0e0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-field input[type="text"],
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-field input[type="text"]:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.form-field input[type="text"]::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.character-counter {
  text-align: right;
  font-size: 0.8rem;
  color: #a8a8b3;
  margin-top: 0.25rem;
  font-weight: 500;
}

.form-error {
  color: #ff6b6b;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Color Selection */
.color-selection {
  margin-top: 1rem;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.color-option {
  position: relative;
  border: 3px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.color-option:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.color-option.selected {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.2);
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.4);
  transform: translateY(-4px) scale(1.05);
}

.color-option.selected::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  background: #667eea;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.color-preview {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  box-shadow: 0 0 25px currentColor;
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.color-option:hover .color-preview {
  transform: scale(1.1);
  box-shadow: 0 0 35px currentColor;
}

.color-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: capitalize;
  margin-top: 0.5rem;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-btn {
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.cancel-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  border-color: rgba(255, 255, 255, 0.2);
}

.cancel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.submit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Action Buttons */
.edit-project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.edit-project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.2);
}

.archive-project-btn,
.unarchive-project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.archive-project-btn {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
}

.archive-project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
  color: white;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.2);
}

.unarchive-project-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.unarchive-project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
  color: white;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
  color: white;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 4rem;
  color: #667eea;
  margin-bottom: 2rem;
  opacity: 0.6;
}

.empty-title {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.empty-description {
  color: #b0b0b0;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Error Messages */
.error-container {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.error-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.error-title {
  color: #ff6b6b;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Project Section Spacing */
.project-section {
  margin-bottom: 3rem;
}

.project-section:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .projects-container {
    padding: 1rem 15px;
  }
  
  .projects-title {
    font-size: 2.5rem;
  }
  
  .projects-header-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .section-header {
    margin: 1.5rem 0 1rem 0;
    padding: 0.75rem 1rem;
    font-size: 1.25rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .section-icon {
    font-size: 1.5rem;
  }
  
  .section-count {
    margin-left: 0;
    margin-top: 0.25rem;
  }
  
  .projects-table-container {
    margin: 1rem 0;
    padding: 1rem;
  }
  
  .projects-table th,
  .projects-table td {
    padding: 0.75rem 0.5rem;
  }
  
  .description-column,
  .created-column {
    display: none;
  }
  
  .name-column {
    width: 150px;
  }
  
  .actions-column {
    width: 150px;
  }
  
  .action-btn {
    min-width: 28px;
    height: 28px;
    padding: 0.4rem;
    font-size: 0.8rem;
  }
  
  .project-show-header {
    flex-direction: column;
    text-align: center;
  }
  
  .project-color-indicator {
    width: 60px;
    height: 60px;
  }
  
  .project-info h1 {
    font-size: 2.5rem;
  }
  
  .form-container {
    padding: 1rem;
  }
  
  .form-title {
    font-size: 2rem;
  }
  
  .color-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .task-item {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .task-actions {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }
}

/* Blocking Project Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 12px;
  border: 2px solid #667eea;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #4a4a4e;
}

.modal-header h2 {
  color: #ffd700;
  margin: 0;
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  color: #e0e0e0;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #4a4a4e;
  color: white;
}

.modal-body {
  padding: 1.5rem;
}

.project-info h3 {
  color: #ffffff;
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
}

.blocked-status {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid #ff6b6b;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.blocked-indicator {
  color: #ff6b6b;
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}

.blocked-status p {
  color: #e0e0e0;
  margin: 0;
}

.blocking-options h4 {
  color: #ffd700;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.blocking-options p {
  color: #b0b0b0;
  margin: 0 0 1rem 0;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #4a4a4e;
}

.action-btn.cancel-btn {
  background: #6c757d;
  border-color: #5a6268;
}

.action-btn.cancel-btn:hover {
  background: #5a6268;
}

.action-btn.save-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border-color: #20c997;
  color: white;
}

.action-btn.save-btn:hover {
  background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
}
