/**
 * Omnex Pages — pages/compliance.css (B3.2)
 * Uyumluluk sayfası: politika kartları + rıza kanıt defteri + okuma modalı.
 */

.ox-cmp-section { margin-bottom: var(--ox-space-6); }
.ox-cmp-section > .ox-card__title {
  padding: var(--ox-space-4) var(--ox-space-6);
  border-bottom: 1px solid var(--ox-border);
  margin: 0;
}

.ox-cmp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--ox-space-4);
  padding: var(--ox-space-5) var(--ox-space-6);
}
.ox-cmp-card {
  display: flex;
  flex-direction: column;
  gap: var(--ox-space-3);
  padding: var(--ox-space-4);
  border: 1px solid var(--ox-border);
  border-radius: var(--ox-radius-md);
  background: var(--ox-surface);
}
.ox-cmp-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--ox-space-2); }
.ox-cmp-card__name { font-weight: var(--ox-weight-semibold); }
.ox-cmp-card__meta { display: flex; align-items: center; gap: var(--ox-space-2); flex-wrap: wrap; font-size: var(--ox-text-sm); }
.ox-cmp-card__actions { display: flex; flex-wrap: wrap; gap: var(--ox-space-2); margin-top: auto; }
.ox-cmp-card__actions .ox-btn { gap: 5px; }

/* Okuma modalı: politika metni pre-wrap. */
.ox-cmp-view__meta { font-size: var(--ox-text-xs); color: var(--ox-fg-muted); margin-bottom: var(--ox-space-3); word-break: break-all; }
.ox-cmp-view__body {
  white-space: pre-wrap;
  font-family: var(--ox-font-sans);
  font-size: var(--ox-text-sm);
  line-height: var(--ox-leading-relaxed, 1.6);
  color: var(--ox-fg);
  max-height: 55vh;
  overflow: auto;
  margin: 0;
  padding: var(--ox-space-4);
  background: var(--ox-surface-2);
  border-radius: var(--ox-radius-md);
}

/* Çok satırlı giriş (FormModal type:'textarea'). */
.ox-textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--ox-font-sans);
  line-height: var(--ox-leading-normal, 1.5);
}
