.action-instructions {
}

/* TABLE */
.action-instructions table {
  width: 1200px;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e9edf5;
}

.instructions-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* HEADER */
.action-instructions thead {
  background: #fafbfc;
}

.action-instructions thead tr {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
  align-items: center;
  justify-items: center;
  padding: 20px;
}

.action-instructions thead th {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

/* BODY */
.action-instructions tbody {
  display: flex;
  flex-direction: column;
}

.action-instructions tbody tr {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid #edf1f7;
  padding: 20px;
  align-items: center;
  justify-items: center;
}

/* INSTRUCTION CELL */
.instruction-cell {
  display: flex;
  gap: 18px;
  align-items: center;
}

.file-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  flex-shrink: 0;
}

.action-instructions .instruction-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

/* BADGES */
.action-instructions .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.badge.blue {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.badge.green {
  background-color: #dcfce7;
  color: #15803d;
}

.badge.orange {
  background-color: #ffedd5;
  color: #ea580c;
}

.badge.purple {
  background-color: #f3e8ff;
  color: #7e22ce;
}

.badge.teal {
  background-color: #ccfbf1;
  color: #0f766e;
}

.badge.gray {
  background-color: #f3f4f6;
  color: #4b5563;
}

.badge.red {
  background-color: #fee2e2;
  color: #dc2626;
}

/* DATE */
.action-instructions .date {
  color: #374151;
  font-size: 15px;
  white-space: nowrap;
  padding-top: 8px;
}

/* ACTIONS */
.action-instructions .actions {
  display: flex;
  gap: 12px;
}

.action-instructions .action-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.action-instructions .action-btn:hover {
  background: #f9fafb;
}

.action-instructions .delete-btn {
  border-color: #fecaca;
  color: #ef4444;
}

.action-instructions .edit-btn {
  color: #374151;
}

.action-instructions img {
  width: 18px;
  height: 18px;
}
