* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f1f5f9;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem;
  color: #111827;
}

.container {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

#book-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
#book-form label {
  font-weight: 600;
  font-size: 0.95rem;
}
#book-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#book-form input,
#book-form select {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: 0.2s ease;
}
#book-form input:focus,
#book-form select:focus {
  border-color: #2563eb;
  outline: none;
}
#book-form button {
  align-self: flex-start;
  background-color: #2563eb;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}
#book-form button:hover {
  background-color: rgb(18.5714285714, 76.1428571429, 202.4285714286);
}

.table-container {
  overflow-x: auto;
}

.table__items {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.table__items th,
.table__items td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.table__items th {
  background-color: #f8fafc;
}
.table__items .status {
  padding: 0.5rem;
  border-radius: 10px;
  font-weight: bold;
}
.table__items .status--read {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}
.table__items .status--notread {
  background-color: rgba(244, 67, 54, 0.1);
  color: #f44336;
}
.table__items .btn--delete {
  background-color: #f44336;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.table__items .btn--delete:hover {
  background-color: rgb(234.1839622642, 27.9622641509, 12.8160377358);
}

@media (max-width: 600px) {
  .container {
    padding: 1rem;
  }
  .table__items {
    font-size: 0.85rem;
  }
  .table__items th,
  .table__items td {
    padding: 0.6rem;
  }
  #book-form button {
    width: 100%;
  }
}

/*# sourceMappingURL=main.css.map */
