body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f6f8;
}

.topbar {
  height: 54px;
  background: #172033;
  color: white;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 18px;
}

.company-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.company-form input {
  padding: 6px;
}

.layout {
  display: flex;
  min-height: calc(100vh - 54px);
}

.sidebar {
  width: 220px;
  background: #222b3d;
  padding: 14px;
}

.sidebar a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 10px;
  border-radius: 6px;
}

.sidebar a:hover {
  background: #34405a;
}

.content {
  flex: 1;
  padding: 22px;
}

.toolbar, .panel {
  background: white;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.note {
  background: #fff8d6;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}

button, .button {
  padding: 8px 12px;
  border: 0;
  background: #2656d9;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
}

input, select {
  padding: 8px;
}

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

th, td {
  border: 1px solid #ddd;
  padding: 8px;
}

td[contenteditable="true"] {
  background: #fff;
}

th {
  background: #eef1f7;
}

.cards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 18px;
  border-radius: 8px;
  width: 180px;
}

.big {
  font-size: 34px;
  font-weight: bold;
}

.toplink {
  color: white;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 5px;
}

.toplink:hover {
  background: #34405a;
}

.login-body {
  background: #172033;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: white;
  width: 360px;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.login-card h1 {
  margin-top: 0;
}

.login-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.error {
  background: #ffe1e1;
  color: #8c0000;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.success {
  background: #dcffe4;
  color: #005e18;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.vertical {
  display: block;
}

.password-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
}
