/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : Aug 1, 2026, 1:33:11 PM
    Author     : PC
*/

/* Task Card */
.task-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-left: 6px solid #e74c3c;
  transition: box-shadow 0.25s ease, transform 0.15s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.task-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  transform: translateY(-2px);
}

/* Priority */
.task-priority {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.priority-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.priority-dot.urgent {
  background: #e74c3c;
}

.priority-label {
  font-size: 13px;
  font-weight: 600;
  color: #e74c3c;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Task Body */
.task-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.task-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 2px 0;
  line-height: 1.4;
}

.task-features {
  font-size: 14px;
  color: #475569;
  margin: 0 0 8px 0;
}

/* Meta info */
.task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  font-size: 14px;
  color: #334155;
  margin-bottom: 10px;
}

.task-meta i {
  margin-right: 6px;
  opacity: 0.7;
}

.workload b {
  color: #0f172a;
}

/* Progress */
.progress-wrapper {
  margin: 10px 0 14px 0;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  margin-bottom: 4px;
}

.progress-value {
  font-weight: 700;
  color: #1e293b;
}

.progress-bar-track {
  background: #e9edf2;
  border-radius: 40px;
  height: 8px;
  overflow: hidden;
}

.progress-bar-fill {
  background: #e74c3c;
  height: 100%;
  width: 0%;
  border-radius: 40px;
  transition: width 0.3s ease;
}

/* Action button */
.task-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.btn-update {
  background: #e74c3c;
  border: none;
  color: white;
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 6px rgba(231, 76, 60, 0.25);
}

.btn-update:hover {
  background: #c0392b;
  transform: scale(1.02);
}

.btn-update i {
  font-size: 14px;
}

/* Collapsible Details */
.task-details {
  margin-top: 14px;
  border-top: 1px solid #eef2f6;
  padding-top: 14px;
  display: none; /* or use JS to toggle */
}

.task-details.open {
  display: block;
}

.detail-content {
  font-size: 14px;
  color: #1e293b;
}

.detail-content hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 10px 0;
}

/* Icons (using emoji/unicode as fallback) */
.icon-folder::before { content: "📁 "; }
.icon-weight::before { content: "⚖️ "; }
.icon-pencil::before { content: "✏️ "; }
.icon-pin::before { content: "📍 "; }