/* General styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 20px;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
  }
  
  h1 {
    color: #4CAF50;
    text-align: center;
    margin-bottom: 20px;
  }
  
  label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
  }
  
  select {
    width: 20%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 21px;
    box-sizing: border-box;
  }
  
  .scrollable-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    margin-top: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
  }
  
  .story-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #eee;
  }

  .story-link{
    text-decoration: underline;
    color: #333;    
  }
  
  .story-item:last-child {
    border-bottom: none;
  }
  
  button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
  }
  
  button:hover {
    background-color: #45a049;
  }
  
  button:active {
    background-color: #3e8e41;
  }
  
  button:focus {
    outline: none;
  }
  
  #addRowBtn, #saveButton {
    width: 200px; /* Set a fixed width for the buttons */
    box-sizing: border-box;
  }
  
  .button-container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  
  @media (max-width: 600px) {
    .story-item {
      flex-direction: column;
      align-items: flex-start;
    }
  
    button {
      width: 100%;
    }
  }