* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  body,
  input,
  button {
    font-family: "Open Sans", sans-serif;
  }
  
  input,
  button {
    font-size: 16px;
  }
  
  .head_bar {
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(0,0,0);
    color: white;
  }
  
  main {
    max-width: 800px;
    width: 80%;
    margin: 0 auto;
    padding: 16px;
  }
  
  .input_section {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1px solid black;
    border-radius: 10px;
  }
  
  .input_section > h2 {
    text-align: center;
    color: rgb(0,0,0);
  }
  
  .input_section > form {
    margin: 8px 0;
  }
  
  .input_section > form >  button {
    background-color: rgb(0,0,0);
    color: white;
    border: 0;
    border-radius: 5px;
    display: block;
    width: 100%;
    padding: 8px;
    cursor: pointer;
  }
  
  .input_section > form >  button > span {
    font-weight: bold;
  }
  
  .input_section > form > .input > input {
    display: block;
    width: 100%;
    padding: 8px;
    border-radius: 5px;
  }
  
  .input_section > form > .input > label {
    color: rgb(0, 0, 0);
    font-weight: bold;
  }
  
  .input_section > form > .input_inline {
    margin: 12px 0;
    display: flex;
    align-items: center;
  }
  
  .input_section > form > .input_inline > label {
    color: rgb(0,0,0);
    font-weight: bold;
    margin-right: 10px;
  }
  
  .search_section {
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    border: 1px solid black;
    border-radius: 10px;
  }
  
  .search_section > h2 {
    color: rgb(0,0,0);
  }
  
  .search_section > form {
    padding: 16px;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr 0.5fr;
    grid-gap: 10px;
  }
  
  .search_section > form > label {
    display: flex;
    align-items: center;
  }
  
  .search_section > form > input {
    padding: 5px;
    border-radius: 5px;
  }
  
  .search_section > form > button {
    background-color: rgb(0,0,0);
    color: white;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .book_shelf {
    margin: 16px 0 0 0;
    border: 1px solid black;
    padding: 16px;
    border-radius: 10px;
  }
  
  .book_shelf > h2 {
    color: rgb(0,0,0);
  }
  
  .book_shelf > .book_list {
    padding: 16px;
  }
  
  .book_shelf > .book_list > .book_item {
    padding: 8px 16px 16px 16px;
    border: 1px solid black;
    border-radius: 5px;
    margin: 10px 0;
  }
  
  .book_shelf > .book_list > .book_item > h3,
  p {
    margin: 8px 0;
  }
  
  .book_shelf > .book_list > .book_item > .action > button {
    border: 0;
    padding: 5px;
    margin: 0 5px 0 0;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .book_shelf > .book_list > .book_item > .action > .green {
    background-color: darkgreen;
    color: white;
  }
  
  .book_shelf > .book_list > .book_item > .action > .red {
    background-color: darkred;
    color: white;
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 5px;
    width: 50%;
  }
  
  .close {
    float: right;
    font-size: 28px;
    cursor: pointer;
  }
  
  
  .input_section h2 {
    text-align: center;
    color: #333;
  }
  
  [data-bookid] {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    margin-top: 15px;
  }
  
  .input {
    margin-bottom: 15px;
  }
  
  .input h3 {
    margin-bottom: 5px;
    color: #444;
  }
  
  
  
  p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
  }
  
  div button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
  }
  
  div button:hover {
    background-color: #0056b3;
  }
  
  [data-testid="bookItemDeleteButton"] {
    background-color: #dc3545;
  }
  
  [data-testid="bookItemDeleteButton"]:hover {
    background-color: #c82333;
  }
  
  [data-testid="bookItemEditButton"] {
    background-color: #28a745;
  }
  
  [data-testid="bookItemEditButton"]:hover {
    background-color: #218838;
  }
  