body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
  }
  
  .container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  }
  
  input[type="text"],
  input[type="number"],
  input[list] {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  
  label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
  }
  
  button {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  button:hover {
    background-color: #0056b3;
  }
  
  .actions {
    margin-top: 10px;
  }
  
  .actions button {
    margin-right: 10px;
    padding: 8px 16px;
  }
  
  .error {
    color: red;
    font-weight: bold;
    margin-top: 10px;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  
  th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .overlay[style*="display: none"] {
    display: none !important;
  }
  
  .form-container {
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    position: relative;
  }
  
  .form-container h2 {
    margin-top: 0;
    margin-bottom: 20px;
  }
  
  .close-btn {
    background-color: #6c757d;
    color: white;
    margin-left: 10px;
  }
  
  .close-btn:hover {
    background-color: #495057;
  }
  