/* Client Management Styles */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.client-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.client-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.client-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.client-info h3 {
  margin: 0 0 4px 0;
  color: var(--color-text-primary);
  font-size: 18px;
}

.client-info p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 14px;
}

.client-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--color-gray-50);
  border-radius: 8px;
}

.stat-item {
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.stat-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.client-documents {
  margin-bottom: 20px;
}

.doc-status {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--color-text-primary);
}

.doc-status.pending {
  color: var(--color-yellow);
}

.doc-status.missing {
  color: var(--color-red);
}

.doc-icon {
  margin-right: 8px;
  font-size: 16px;
}

.client-actions {
  display: flex;
  gap: 12px;
}

.client-actions .btn {
  flex: 1;
}

/* Warning Button */
.btn-warning {
  background-color: var(--color-yellow);
  color: white;
}

.btn-warning:hover {
  background-color: #f59e0b;
  transform: translateY(-1px);
}

/* Updated client card styles */
.client-details {
  margin-bottom: 16px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--color-gray-100);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row .label {
  color: var(--color-text-secondary);
  font-weight: 500;
}

.detail-row .value {
  color: var(--color-text-primary);
  font-weight: 600;
}

.text-warning {
  color: var(--color-yellow) !important;
}

.text-success {
  color: var(--color-green) !important;
}

.btn-text {
  background: none;
  border: none;
  color: var(--color-primary);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-text:hover {
  opacity: 0.8;
  text-decoration: underline;
}