* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0d0d0d;
  color: #ddd;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.container { width: 100%; max-width: 520px; padding: 20px; }
.card {
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 40px;
}
.card.dashboard { max-width: 600px; }
.logo {
  font-size: 28px; font-weight: 800;
  color: #cc1414; letter-spacing: 2px;
  text-align: center;
}
.subtitle { text-align: center; color: #777; margin: 8px 0 24px; font-size: 14px; }
.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.header .logo { margin: 0; }
input, textarea {
  width: 100%; padding: 12px 14px; margin: 6px 0 14px;
  background: #0d0d0d; border: 1px solid #333; border-radius: 6px;
  color: #ddd; font-size: 14px; outline: none;
}
input:focus, textarea:focus { border-color: #cc1414; }
textarea { resize: vertical; font-family: inherit; }
.btn, button[type=submit] {
  width: 100%; padding: 12px; border: none; border-radius: 6px;
  background: #cc1414; color: #fff; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .2s;
}
.btn:hover, button[type=submit]:hover { background: #dc2828; }
.btn-small {
  padding: 6px 14px; border: none; border-radius: 4px;
  background: #333; color: #ddd; font-size: 12px; cursor: pointer;
}
.btn-small:hover { background: #444; }
.field label { font-size: 13px; color: #999; display: block; margin-top: 4px; }
section { margin-bottom: 24px; }
section h2 { font-size: 16px; color: #cc1414; margin-bottom: 12px; }
hr { border: none; border-top: 1px solid #222; margin: 20px 0; }
.hidden { display: none; }
.error { color: #e74c3c; font-size: 13px; margin-top: 10px; text-align: center; }
.success { color: #2ecc71; font-size: 13px; margin-top: 10px; text-align: center; }
#uploadProgress { background: #222; border-radius: 4px; height: 6px; margin: 10px 0; overflow: hidden; }
#progressBar { width: 100%; height: 100%; background: #cc1414; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%{opacity:.4} 50%{opacity:1} 100%{opacity:.4} }
#statusDisplay p { font-size: 14px; margin: 4px 0; color: #aaa; }
#statusDisplay strong { color: #ddd; }
