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

.container {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 16px;
}

h1 {
  margin-bottom: 18px;
}

.card {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

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

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

input, select {
  padding: 10px;
  border: 1px solid #ccd3df;
  border-radius: 8px;
  font-size: 14px;
}

button {
  margin-top: 12px;
  padding: 10px 16px;
  border: none;
  background: #2e5bff;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

button.danger {
  background: #e03b3b;
}

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

thead th {
  text-align: left;
  font-size: 13px;
  color: #5f6b7a;
  border-bottom: 1px solid #e5e9f2;
  padding: 8px 6px;
}

tbody td {
  border-bottom: 1px solid #f0f2f6;
  padding: 8px 6px;
  font-size: 14px;
}

.inline {
  display: inline;
}

.errors {
  background: #ffe6e6;
  border: 1px solid #ffb3b3;
  color: #8a1f1f;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.notifications {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow: auto;
}

.notification-item {
  background: #f3f6ff;
  border: 1px solid #dbe4ff;
  padding: 8px;
  border-radius: 8px;
  font-size: 14px;
}
