/* static/css/style.css */
/* Terminal CRT Styling for SleeperUnit ID Generator */
@font-face {
  font-family: 'IBMPlexMono';
  src: url('../fonts/IBMPlexMono-Regular.ttf') format('truetype');
}

body {
  background-color: #000;
  color: #e60000;
  font-family: 'IBMPlexMono', monospace;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 0, 0, 0.05),
    rgba(255, 0, 0, 0.05) 1px,
    transparent 1px,
    transparent 2px
  );
}

.terminal-container {
  max-width: 720px;
  margin: 60px auto;
  padding: 40px;
  background-color: #000;
  border: 2px solid #e60000;
  border-radius: 6px;
  box-shadow: 0 0 12px red;
}

.title {
  font-size: 1.4rem;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.id-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

input[type="text"],
input[type="file"] {
  background: #111;
  border: 1px solid #e60000;
  padding: 8px 12px;
  color: #e60000;
  font-family: 'IBMPlexMono', monospace;
}

input[type="file"] {
  border-style: dashed;
}

.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

button[type="submit"] {
  margin-top: 10px;
  background-color: #e60000;
  color: black;
  border: none;
  padding: 10px 16px;
  font-family: 'IBMPlexMono', monospace;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
}

button[type="submit"]:hover {
  background-color: #ff1a1a;
}

.output {
  margin-top: 40px;
  text-align: center;
}

.output-heading {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.id-preview {
  max-width: 100%;
  height: auto;
  border: 2px solid #e60000;
  box-shadow: 0 0 12px red;
}

.download-link {
  display: inline-block;
  margin-top: 12px;
  color: #e60000;
  text-decoration: underline;
  font-size: 0.95rem;
}
