.login-card {
  max-width: 360px;
  margin: 15vh auto;
  padding: 24px;
  background: white;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.login-card h1 {
  margin-bottom: 8px;
}

.login-card input {
  width: 100%;
  padding: 10px;
  margin-top: 12px;
}

.login-card button {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  cursor: pointer;
}

.error {
  color: red;
  margin-top: 10px;
}

.hidden { display: none !important; }

.dc-ai-status {
  padding: 6px 0 10px 0;
  color: rgba(0,0,0,0.65);
}

.dc-suspects-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 10px 2px;
}

.dc-suspects-strip::-webkit-scrollbar {
  height: 8px;
}

.dc-suspects-strip::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 999px;
}

.suspect-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.85);
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  font-size: 0.92rem;
}

.suspect-chip:hover {
  border-color: rgba(0,0,0,0.20);
}

.suspect-selected {
  outline: 2px solid rgba(13,110,253,0.35);
  border-color: rgba(13,110,253,0.35) !important;
}

.suspect-chip .suspect-avatar {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  box-shadow: none;
}

.dc-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dc-header-actions {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}

/* Keep setup header buttons visible on small screens */
#setup-card .card-header .d-flex {
  flex-wrap: wrap;
  gap: 10px;
}

#adminPanelBtn {
  white-space: nowrap;
}

.dc-title {
  flex: 1 1 auto;
  text-align: center;
  position: relative;
  margin: 0;
}

.dc-title-text {
  display: inline-block;
}

.dc-title-logo-left {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(28px, 6vw, 38px);
  height: clamp(28px, 6vw, 38px);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.92);
}

.sidebar-sticky {
  position: sticky;
  top: 16px;
}

.suspect-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 10px;
  cursor: pointer;
}

.suspect-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.10);
  background: #f2f4f8;
  flex: 0 0 auto;
}

#setting-image-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#setting-image {
  width: 300px;
  height: 300px;
  max-width: 100%;
  object-fit: cover;
}

.suspect-meta {
  min-width: 0;
}

.suspect-name {
  font-weight: 700;
  line-height: 1.1;
}

.suspect-desc {
  font-size: 0.88rem;
  color: rgba(0,0,0,0.68);
  margin-top: 2px;
}

.dc-plot-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1050;
}

.dc-plot-card {
  position: relative;
  width: min(680px, 100%);
  max-height: 85vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.dc-plot-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.dc-plot-body {
  font-size: 0.98rem;
}

.dc-plot-body .plot-section {
  margin-bottom: 12px;
}

.dc-plot-body .plot-label {
  font-weight: 700;
  margin-right: 6px;
}

.dc-plot-feedback textarea {
  resize: vertical;
}
