/* ===== ELVIR Custom Styles ===== */

/* Upload zone */
.upload-zone {
  display: block;
  border: 2px dashed #b4c6e7;
  border-radius: 12px;
  padding: 30px;
  cursor: pointer;
  transition: .3s;
  background: #fafcff;
}
.upload-zone:hover, .upload-zone.drag-active {
  border-color: #3b82f6;
  background: #eff6ff;
  transform: scale(1.01);
}

/* Type cards */
.type-card {
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: .3s;
}
.type-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
}
.type-card.selected {
  border-color: #10b981;
  background: #f0fdf4;
  box-shadow: 0 6px 20px rgba(16,185,129,.2);
}

/* Architecture flow */
.arch-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.arch-node {
  padding: 9px 22px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  min-width: 200px;
}
.arch-arrow {
  color: #94a3b8;
  font-size: 1rem;
}
.arch-sub {
  text-align: center;
}

/* Background helpers */
.bg-success-light { background: #f0fdf4; }
.bg-primary-light { background: #eff6ff; }
.bg-indigo-light  { background: #eef2ff; }
.bg-teal-light    { background: #f0fdfa; }

/* Coherence badges */
.coherence-pass {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 600;
  background: #dcfce7;
  color: #166534;
}
.coherence-fail {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 600;
  background: #fee2e2;
  color: #991b1b;
}

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 25px;
  font-size: .75rem;
  color: #8392a5;
  border-top: 1px solid #e5e9f2;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 576px) {
  .upload-zone { padding: 20px; }
  .arch-node { min-width: 140px; font-size: .72rem; padding: 7px 12px; }
}
