.book-manage-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.book-manage-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.book-manage-header {
  background-color: #3f51b5;
  color: white;
  padding: 1.5rem;
}

.book-manage-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.book-manage-body {
  padding: 2rem;
}

.book-select-section {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-control,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: #3f51b5;
  outline: none;
  box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.half-width {
  flex: 1;
  margin-bottom: 0;
}

.price-input-group {
  display: flex;
  align-items: center;
}

.price-symbol {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: 4px 0 0 4px;
  height: 2.75rem;
}

.price-input-group .form-control {
  border-radius: 0 4px 4px 0;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary {
  background-color: #3f51b5;
  color: white;
}

.btn-primary:hover {
  background-color: #303f9f;
}

.btn-danger {
  background-color: #f44336;
  color: white;
}

.btn-danger:hover {
  background-color: #d32f2f;
}

.btn-cancel {
  background-color: #f5f5f5;
  color: #333;
}

.btn-cancel:hover {
  background-color: #e0e0e0;
}

.confirmation-message {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #ffebee;
  border: 1px solid #ffcdd2;
  border-radius: 4px;
  color: #c62828;
}

.delete-mode {
  background-color: #dc3545 !important;
}

.delete-mode h3 {
  color: white;
}

.image-preview {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.img-thumbnail {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.bg-light {
  background-color: #f8f9fa;
}

.current-categories {
  border-left: 3px solid #007bff;
  padding-left: 10px;
}
