/* Cruvels Assignment Submission Portal Styles */

.assign-hero {
  padding: calc(var(--header-height, 72px) + var(--space-10, 40px)) 0 var(--space-8, 32px);
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(212, 177, 95, 0.1) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

.assign-deadline-card {
  background: rgba(15, 30, 53, 0.7);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.deadline-pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
  margin-right: 6px;
}

.rubric-pill {
  background: rgba(92, 167, 255, 0.1);
  border: 1px solid rgba(92, 167, 255, 0.25);
  border-radius: 6px;
  padding: 6px 12px;
  font-family: var(--font-mono, monospace);
  font-size: 0.8125rem;
  color: #5ca7ff;
}

.rubric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.project-track-card {
  border: 1px solid #1e3452;
  background: #061222;
  border-radius: 10px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.project-track-card:hover {
  border-color: #5ca7ff;
  background: #091a33;
}

.project-track-card.is-selected {
  border-color: #5ca7ff;
  background: rgba(92, 167, 255, 0.12);
}

.receipt-card {
  background: #08162b;
  border: 1px solid #22c55e;
  border-radius: 16px;
  padding: 36px;
  text-align: center;
}

/* Assignment Question Parts & Sections */
.assign-part-card {
  background: linear-gradient(180deg, #091a33 0%, #061120 100%);
  border: 1px solid rgba(92, 167, 255, 0.2);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.assign-part-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.assign-part-title {
  color: #fff;
  font-size: 1.25rem;
  font-family: var(--font-display, sans-serif);
  margin: 0;
}

.assign-part-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.assign-question-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assign-question-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 16px;
  color: #cbd5e1;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.assign-table-wrap {
  overflow-x: auto;
  margin: 14px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.assign-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  text-align: left;
}

.assign-table th {
  background: #040a16;
  color: #38bdf8;
  padding: 10px 12px;
  font-family: var(--font-mono, monospace);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.assign-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #94a3b8;
}

/* Verification Gate & Gated Card */
.assign-gate-card {
  background: linear-gradient(180deg, #0d1e38 0%, #081324 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.practical-task-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.practical-task-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px;
  transition: all 0.2s;
}

.practical-task-card h4 {
  margin: 0 0 6px;
  color: #38bdf8;
  font-size: 0.9375rem;
}

.practical-task-card p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.8125rem;
  line-height: 1.4;
}
