/* frontend/css/styles.css - base UI for WhySave */
:root{
  --bg-900: #030405;
  --card: #0f1720;
  --muted: #9aa6b2;
  --accent: #1f6feb;
  --accent-2: #12ff66;
  --danger: #ff6b68;
  --glass: rgba(255,255,255,0.02);
  --mono: "Inter", system-ui, -apple-system, Roboto, "Segoe UI", Arial;
}

html,body{
  height:100%;
  margin:0;
  font-family: var(--mono);
  background: radial-gradient(circle at 10% 10%, #041025 0%, var(--bg-900) 40%);
  color: #e6eef6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Cards and containers */
.container {
  max-width: 980px;
  margin: 40px auto;
  padding: 18px;
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* Headings & small text */
h1, h2 { margin:0 0 12px 0; font-weight:800; }
.small { color: var(--muted); font-size:13px; }

/* Buttons */
.btn {
  display:inline-block;
  padding:10px 14px;
  border-radius:8px;
  border:0;
  cursor:pointer;
  background: var(--accent);
  color: #fff;
  font-weight:700;
}
.btn.secondary { background:#323b45; }
.btn.warn { background: var(--danger); color:#070707; }

/* Input styles */
.input, input[type="text"], input[type="password"], input[type="file"] {
  width:100%;
  padding:10px;
  border-radius:8px;
  background:#071018;
  color:#e6eef6;
  border:1px solid rgba(255,255,255,0.03);
}

/* Drop area */
.drop-area {
  background: var(--glass);
  border: 2px dashed rgba(255,255,255,0.04);
  border-radius: 12px;
  min-height: 140px;
  padding: 14px;
}

/* File list */
.file-list { margin-top:12px; }
.file-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px;
  border-bottom:1px dashed rgba(255,255,255,0.02);
  color:#d9f7e0;
}
.file-row:last-child { border-bottom:none; }
.remove { background:transparent; border:0; color:#ff8b8b; cursor:pointer; }

/* Status badges */
.badge {
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(10,40,20,0.6);
  color: var(--accent-2);
  font-weight:700;
}

/* Utilities */
.hidden { display:none; }
.center { text-align:center; }
.hint { color: var(--muted); font-size:13px; margin-top:8px; }

#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.transfer-limit-note {
  margin-top: 10px;
  color: #8d9a92;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

/* Small screens */
@media (max-width:700px){
  .container { padding:12px; margin:20px auto; }
  .card { padding:12px; }
}
