.contracts-page,
.contracts-view-page {
  .badge.status-active {
    background: #10b981;
  }

  .badge.status-expired {
    background: #ef4444;
  }

  .badge.status-draft {
    background: #6b7280;
  }

  .badge.status-cancelled {
    background: #f59e0b;
  }
}

.contracts-page {
  .stats-dashboard {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .stat-card {
    flex: 1;
    min-width: 120px;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;

    &.active {
      background: #d1fae5;
      color: #065f46;
    }

    &.expired {
      background: #fee2e2;
      color: #991b1b;
    }

    &.about-to-expire {
      background: #fef3c7;
      color: #92400e;
    }

    &.recently-added {
      background: #dbeafe;
      color: #1e40af;
    }

    &.trash {
      background: #e5e7eb;
      color: #374151;
    }
  }

  .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
  }
}

.contracts-view-page {
  .signature-info {
    font-size: 0.9rem;
  }

  .contract-text-pre-line {
    white-space: pre-line;
  }

  .contract-attachment-input-hidden {
    display: none;
  }
}
