* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #eef2f7;
  color: #1f2937;
}

.container {
  max-width: 720px;
  margin: 40px auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

h1,
h2 {
  margin: 0 0 16px;
}

section {
  margin-bottom: 28px;
}

label {
  display: block;
  margin: 12px 0;
  font-weight: 600;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 1rem;
}

button {
  display: inline-block;
  width: 100%;
  padding: 12px 16px;
  margin-top: 12px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background: #1d4ed8;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.result,
.message {
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  margin-top: 16px;
}

.message {
  background: #eef2ff;
  border-color: #93c5fd;
}

.hidden {
  display: none;
}

code {
  font-family: Consolas, "Courier New", monospace;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 6px;
}