@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap");

* {
  box-sizing: border-box;
  user-select: none;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
}

.container {
  width: 460px;
  max-width: calc(100% - 32px);
  border: 1px solid #303030;
  padding: 28px;
  background: #000;
}

.header {
  margin-bottom: 24px;
}

h1 {
  margin: 0 0 7px;
  font-size: 20px;
  font-weight: normal;
}

.header p {
  margin: 0;
  color: #777;
  font-size: 12px;
  line-height: 1.7;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upload-area {
  position: relative;
  width: 100%;
  min-height: 300px;
  border: 1px solid #303030;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.upload-area:hover {
  border-color: #505050;
  background: #070707;
}

.upload-area.dragging {
  border-color: #707070;
  background: #0a0a0a;
}

.upload-area input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.upload-content {
  text-align: center;
  pointer-events: none;
}

.upload-title {
  color: #ccc;
  font-size: 12px;
}

.upload-subtitle {
  margin-top: 7px;
  color: #555;
  font-size: 10px;
}

.upload-preview {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

button {
  width: 100%;
  height: 42px;
  border: 1px solid #303030;
  background: #000;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

button:hover:not(:disabled) {
  background: #080808;
  border-color: #505050;
}

button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}