.gratification-adjustment-panel,
.gratification-adjustment-audit {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
}

.gratification-adjustment-panel.hidden {
  display: none;
}

.gratification-adjustment-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.gratification-adjustment-head h3,
.gratification-adjustment-audit h3 {
  margin: 0 0 6px;
}

.gratification-adjustment-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0;
  padding: 10px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
}

.gratification-adjustment-confirmation input {
  width: auto;
  margin: 2px 0 0;
}

.gratification-adjustment-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.gratification-adjustment-status.pending {
  color: #92400e;
  background: #fef3c7;
}

.gratification-adjustment-status.approved {
  color: #065f46;
  background: #d1fae5;
}

.gratification-adjustment-status.rejected,
.gratification-adjustment-status.blocked {
  color: #991b1b;
  background: #fee2e2;
}

.gratification-adjustment-status.reversed,
.gratification-adjustment-status.stale {
  color: #475569;
  background: #e2e8f0;
}

.gratification-adjustment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.gratification-adjustment-actions button {
  padding: 6px 8px;
  font-size: 11px;
}

.gratification-adjustment-positive {
  color: #047857;
  font-weight: 700;
}

.gratification-adjustment-negative {
  color: #b91c1c;
  font-weight: 700;
}

@media (max-width: 900px) {
  .gratification-adjustment-head {
    display: block;
  }

  .gratification-adjustment-head button {
    margin-top: 8px;
  }
}

@media print {
  .gratification-adjustment-panel,
  .gratification-adjustment-actions,
  #openGratificationManualAdjustment,
  #refreshGratificationManualAdjustments,
  #downloadGratificationAdjustmentReconciliation {
    display: none !important;
  }
}
