/* ===== GLOBAL RESET ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;

  display: flex;
  flex-direction: column;
  height: 100vh;     /* ✅ IMPORTANT */
}

/* ===== SHARED LAYOUT ===== */
.app-header {
  background: #202c33;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
}

.app-footer {
  background: #202c33;
  color: white;
  text-align: center;
  padding: 6px;
  font-size: 12px;
}

/* Pages take remaining space */
.home-wrapper,
.chat-wrapper {
  flex: 1;
  min-height: 0;  /* ✅ CRITICAL for scroll layouts */
}

/* ===== HOME PAGE ONLY ===== */
.home-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.upload-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  width: 400px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.upload-card h2 {
  margin-bottom: 10px;
  color: #202c33;
}

.upload-card p {
  color: #667781;
  margin-bottom: 20px;
}

.upload-card button {
  background: #00a884;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

.upload-card.dragover {
  border: 2px dashed #00a884;
  background: #f0fdf9;
}