body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: #f6f7fb;
  color: #1f2a44;
}

.topbar {
  background: #121826;
  color: #fff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.user {
  display: flex;
  gap: 12px;
  align-items: center;
}

.user button {
  background: #2f3c57;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.container {
  max-width: 960px;
  margin: 24px auto;
  padding: 0 16px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.tabs a {
  color: #1f2a44;
  background: #e9edf7;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.tabs a:hover {
  background: #dfe6f4;
}

.card {
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(19, 35, 78, 0.08);
  margin-bottom: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

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

input, select {
  width: 100%;
  padding: 10px;
  border: 1px solid #d0d6e0;
  border-radius: 8px;
  margin-top: 6px;
}

button, .button {
  margin-top: 14px;
  background: #1f6feb;
  color: #fff;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #e6e9ef;
  font-size: 14px;
}

.message {
  background: #e8f1ff;
  color: #1f2a44;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.result {
  background: #f1f5ff;
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  word-break: break-all;
}

.hint {
  font-size: 14px;
  color: #56627a;
}
