/* ==========================================================================
   projectCard Component Styles
   Supports Projects Tab View under Actions with 2 distinct sections:
   - My Projects (Cards with progress bar, task counts, due dates, and chevron)
   - Projects to Explore (Clean list items with icon box and chevron)
   
   Strict Design System Constraint: No multicolors! All icon boxes use clean neutral grey.
   ========================================================================== */

/* Main Container */
.projects-section-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  box-sizing: border-box;
}

/* Group Section Header */
.projects-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.projects-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.projects-group-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.015em;
  margin: 0;
}

.projects-see-all-btn {
  background: none;
  border: none;
  color: var(--color-primary, #5170FF);
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  outline: none;
}

.projects-see-all-btn:hover {
  text-decoration: underline;
}

/* ==========================================================================
   1. MY PROJECTS SECTION (Cards stacked vertically)
   ========================================================================== */
.my-projects-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.my-project-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.my-project-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.my-project-top-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

/* Icon Box - Clean Neutral Grey (No Multicolors) */
.my-project-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.my-project-content-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.my-project-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

.my-project-subtitle {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 400;
  color: #6b7280;
  margin: 0;
  line-height: 1.35;
}

/* Progress Section */
.my-project-progress-section {
  width: 100%;
  margin-top: 2px;
}

.my-project-progress-track-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.my-project-progress-track {
  flex: 1;
  height: 6px;
  background-color: #f1f5f9;
  border-radius: 3px;
  overflow: hidden;
}

.my-project-progress-fill {
  height: 100%;
  background-color: var(--color-primary, #5170FF);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.my-project-percent {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 700;
  color: #111827;
  flex-shrink: 0;
}

/* Bottom Meta Row */
.my-project-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 2px;
}

.my-project-tasks-text {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11px;
  color: #6b7280;
  font-weight: 400;
}

.my-project-due-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.my-project-due-text {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11px;
  color: #6b7280;
}

.my-project-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   2. PROJECTS TO EXPLORE SECTION (List view)
   ========================================================================== */
.explore-projects-list {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.explore-project-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #f3f4f6;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

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

.explore-project-item:hover {
  background-color: #f8fafc;
}

.explore-project-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.explore-project-text-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.explore-project-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

.explore-project-subtitle {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 10.5px;
  font-weight: 400;
  color: #6b7280;
  margin: 0;
  line-height: 1.35;
}

.explore-project-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.explore-project-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.explore-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 10.5px;
  color: #6b7280;
  font-weight: 500;
}

/* ==========================================================================
   3. COMPLETED PROJECTS SECTION (List view)
   ========================================================================== */
.completed-projects-list {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.completed-project-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #f3f4f6;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

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

.completed-project-item:hover {
  background-color: #f8fafc;
}

.completed-project-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.completed-project-text-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.completed-project-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

.completed-project-subtitle {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 10.5px;
  font-weight: 400;
  color: #6b7280;
  margin: 0;
  line-height: 1.35;
}

.completed-project-date {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 10.5px;
  font-weight: 500;
  color: #6b7280;
  flex-shrink: 0;
}

