@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: "Roboto", sans-serif;
}

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

th,
td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
}

thead th {
  background-color: #f5f5f5;
  border-bottom: 2px solid #999;
}

form > div {
  margin-bottom: 12px;
}

form label {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 0.9rem;
}

form input,
form select {
  font-family: inherit;
  font-size: 1rem;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 300px;
  box-sizing: border-box;
}

form input:focus,
form select:focus {
  outline: none;
  border-color: #555;
}

form button,
button {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 8px 16px;
  border: 1px solid #999;
  border-radius: 4px;
  background-color: #f5f5f5;
  cursor: pointer;
}

form button:hover,
button:hover {
  background-color: #e8e8e8;
}

form button[type="submit"] {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

form button[type="submit"]:hover {
  background-color: #555;
}

.item {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.item input {
  width: auto;
  flex: 1;
}

.item input[name="price"] {
  flex: 0 0 140px;
}

.placeholder-btn {
  visibility: hidden;
}

td a {
  margin: 0 5px;
}

td a img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.flash {
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 700;
}

.flash-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
