/* Attention picker wrapper */
.att-wrap {
  display: flex; flex-direction: column;
  height: calc(100vh - 60px); /* viewport-constrained so children scroll */
  overflow: hidden;
}
.att-heading { font-size: 18px; font-weight: 600; margin: 16px 0 4px; color: var(--navy); }
.att-sub { font-size: 13px; color: var(--text-muted); margin: 0 0 12px; }

/* Call list */
.att-list {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
  padding-bottom: 12px;
}
.att-card {
  padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); cursor: pointer;
  background: var(--surface); transition: all 0.15s;
}
.att-card:hover {
  border-color: var(--accent); background: var(--accent-dim);
  transform: translateX(2px);
}
.att-card-title { font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.att-card-meta { font-size: 12px; color: var(--text-muted); }

/* Loading list state */
.att-loading-list {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; padding: 48px 0;
  color: var(--text-muted); font-size: 14px;
}

/* Spinner keyframes */
@keyframes att-spin { to { transform: rotate(360deg); } }
@keyframes att-pulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

.att-spinner {
  width: 28px; height: 28px; border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  animation: att-spin 0.8s linear infinite;
}
.att-spinner-lg {
  width: 44px; height: 44px; border-radius: 50%;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  animation: att-spin 0.8s linear infinite;
}
.att-spinner-sm {
  display: inline-block; width: 16px; height: 16px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  animation: att-spin 0.7s linear infinite;
  vertical-align: middle; margin-right: 6px;
}

/* Transcript loading / error screen */
.att-tx-loading {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  padding: 48px 0; text-align: center;
}
.att-tx-loading h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin: 0; }
.att-tx-loading p { font-size: 13px; color: var(--text-muted); margin: 0;
  animation: att-pulse 1.5s ease-in-out infinite; }
.att-tx-error p { color: var(--danger, #c0392b); animation: none; font-weight: 500; }
.att-tx-error { gap: 8px; }

/* Transcript body — full screen feel */
.att-tx-body {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); margin-top: 8px;
}
.att-tx-meta {
  display: flex; gap: 16px; padding: 10px 14px;
  font-size: 12px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.att-tx-text {
  flex: 1; padding: 14px; font-size: 13px;
  line-height: 1.65; color: var(--text); overflow-y: auto;
}

/* Import actions bar */
.att-tx-actions {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0 0; gap: 12px;
}
.att-import-btn {
  min-width: 200px; display: flex; align-items: center;
  justify-content: center; gap: 6px;
}
