/* ----------------------------------------------------------
   GLOBAL BASE
-----------------------------------------------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  background: #f3f4f6;   /* soft neutral background */
  color: #222;
}

/* ----------------------------------------------------------
   HEADER TITLE
-----------------------------------------------------------*/
#header {
  position: absolute;
  top: 25px;
  width: 100%;
  text-align: center;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 2px;
  z-index: 100;
  color: #2d2d2d;
  text-shadow: 0 3px 10px rgba(0,0,0,0.25);
  pointer-events: none;
  user-select: none;
}

/* ----------------------------------------------------------
   NOTE COUNTER (top-left)
-----------------------------------------------------------*/
#noteCount {
  background: rgba(255,255,255,0.9);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 18px;
  color: #222;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  user-select: none;
}

/* ----------------------------------------------------------
   CLEAR BUTTON
-----------------------------------------------------------*/
#clearBtn {
  position: absolute;
  top: 25px;
  right: 25px;
  padding: 12px 22px;
  background: #ff4d4d;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  transition: background 0.25s ease, transform 0.2s ease;
}

#clearBtn:hover {
  background: #e33a3a;
  transform: scale(1.05);
}

/* ----------------------------------------------------------
   CANVAS (WALL)
-----------------------------------------------------------*/
#wall {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
}

/* ----------------------------------------------------------
   INPUT PAGE (Mobile-Friendly)
-----------------------------------------------------------*/
.input-body {
  background: #f3f4f6;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
}

.input-card {
  width: 95%;
  max-width: 420px;
  background: #ffffff;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.input-card h1 {
  font-size: 28px;
  margin-bottom: 14px;
  color: #222;
  font-weight: 700;
}

textarea {
  width: 100%;
  min-height: 140px;
  padding: 16px;
  font-size: 16px;
  border-radius: 14px;
  border: 1px solid #ccc;
  background: #fafafa;
  resize: vertical;
  outline: none;
  transition: border 0.2s ease;
}

textarea:focus {
  border-color: #2d8cff;
}

input[type="color"] {
  width: 60px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  cursor: pointer;
  background: #fff;
}

.send-btn {
  width: 100%;
  margin-top: 18px;
  padding: 14px 20px;
  border: none;
  border-radius: 14px;
  background: #2d8cff;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(45,140,255,0.35);
  transition: background 0.25s ease, transform 0.2s ease;
}

.send-btn:hover {
  background: #2273d8;
  transform: scale(1.03);
}

#status {
  font-size: 15px;
  margin-top: 12px;
  color: #444;
}

/* ----------------------------------------------------------
   QR BOX (for future if you add it)
-----------------------------------------------------------*/
.qr-box {
  position: absolute;
  top: 90px;
  right: 20px;
  z-index: 80;
  padding: 12px;
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  text-align: center;
}

.qr-box img {
  width: 140px;
  margin-top: 10px;
}

/* ----------------------------------------------------------
   RESPONSIVE TWEAKS
-----------------------------------------------------------*/
@media (max-width: 768px) {
  #header {
    font-size: 32px;
  }
  #noteCount {
    font-size: 16px;
  }
  #clearBtn {
    font-size: 14px;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  #header {
    font-size: 26px;
  }
}
