
body{
  color:#666;
}

.ebook-dashboard {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .ebook-dashboard h2 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .filters input {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex: 1;
  }
  
  .ebook-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .ebook-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .ebook-cover {
    width: 100px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
  }
  
  .no-cover {
    width: 100px;
    height: 150px;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #666;
  }
  
  .ebook-card h3 {
    font-size: 16px;
    margin: 10px 0;
  }
  
  .ebook-card p {
    margin: 5px 0;
    font-size: 14px;
  }
  
  .ebook-card button {
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .ebook-card button:hover {
    background: #0056b3;
  }
  
  .error {
    color: red;
    text-align: center;
  }