body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #e0e7ff 0%, #f8fafc 100%);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s;
}
.container {
  background: #fff;
  box-shadow: 0 8px 32px rgba(60, 72, 88, 0.18);
  border-radius: 18px;
  padding: 40px 28px 28px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  transition: box-shadow 0.3s;
}
.container:hover {
  box-shadow: 0 12px 40px rgba(60, 72, 88, 0.22);
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #3b4a6b;
  letter-spacing: 1px;
}
p {
  color: #5a6782;
  margin-bottom: 18px;
  font-size: 1.05rem;
}
#fileInput {
  margin: 18px 0;
  padding: 12px 18px;
  font-size: 16px;
  border: 1.5px solid #bfc8e6;
  border-radius: 10px;
  background: #f1f5fa;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(123, 156, 255, 0.08);
  cursor: pointer;
}
#fileInput:hover,
#fileInput:focus {
  border-color: #7b9cff;
  box-shadow: 0 2px 8px rgba(123, 156, 255, 0.18);
  outline: none;
}
#canvas {
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(60, 72, 88, 0.13);
  border: 1.5px solid #e0e7ff;
  margin-top: 24px;
  max-width: 100%;
  height: auto;
  background: #f8fafc;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: box-shadow 0.3s;
}
#canvas:hover {
  box-shadow: 0 8px 32px rgba(60, 72, 88, 0.18);
}
.info {
  margin-top: 14px;
  font-size: 15.5px;
  color: #7b8ca6;
  background: #f1f5fa;
  border-radius: 6px;
  padding: 6px 0;
  box-shadow: 0 1px 4px rgba(123, 156, 255, 0.06);
  transition: background 0.2s;
}
@media (max-width: 600px) {
  .container {
    padding: 18px 2vw 12px 2vw;
    max-width: 98vw;
  }
  h1 {
    font-size: 1.3rem;
  }
  #canvas {
    margin-top: 16px;
  }
}
