body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  margin: 0;
  background: #f4f5f7;
  color: #1f2933;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #1f2933;
  color: #fff;
}

.brand {
  font-weight: 700;
  letter-spacing: 1px;
}

.user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user button {
  background: #f4f5f7;
  border: 1px solid #cbd2d9;
  padding: 6px 10px;
  cursor: pointer;
}

.layout {
  display: flex;
  min-height: calc(100vh - 52px);
}

.sidebar {
  width: 200px;
  background: #ffffff;
  border-right: 1px solid #e4e7eb;
  padding: 16px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 8px;
}

.sidebar a {
  text-decoration: none;
  color: #1f2933;
}

.content {
  flex: 1;
  padding: 24px;
}

.login-wrap {
  max-width: 360px;
  margin: 80px auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e4e7eb;
  border-radius: 6px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-form input {
  padding: 8px;
  border: 1px solid #cbd2d9;
  border-radius: 4px;
}

.login-form button {
  padding: 10px;
  background: #1f2933;
  color: #ffffff;
  border: none;
  cursor: pointer;
}

.alert {
  background: #ffe3e3;
  padding: 8px 12px;
  border: 1px solid #ffbdbd;
  margin-bottom: 12px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.table th,
.table td {
  border: 1px solid #e4e7eb;
  padding: 10px;
  text-align: left;
}

.note {
  color: #52606d;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.button {
  display: inline-block;
  padding: 6px 10px;
  background: #1f2933;
  border: 1px solid #1f2933;
  border-radius: 4px;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  background: #52606d;
  border-color: #52606d;
}

.button.danger {
  background: #b42318;
  border-color: #b42318;
}

.inline-form {
  display: inline;
  margin-left: 6px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

.form input[type="text"],
.form input[type="password"] {
  padding: 8px;
  border: 1px solid #cbd2d9;
  border-radius: 4px;
}

.form fieldset {
  border: 1px solid #e4e7eb;
  border-radius: 4px;
  padding: 12px;
}

.form legend {
  padding: 0 6px;
}

.checklist {
  display: grid;
  gap: 6px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.logo-preview img {
  max-height: 120px;
  border: 1px solid #e4e7eb;
  padding: 6px;
  background: #ffffff;
}
