.book-box {
    border: 2px solid transparent;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 10px;
    transition: border 0.3s ease;
}

/* Colored borders based on status */
.book-box.status-borrowed {
    border-color: #dc3545; /* Red */
    background-color: #fff5f5;
}

.book-box.status-reserved {
    border-color: #fd7e14; /* Orange */
    background-color: #fffaf0;
}

/* Badge in top-right of cover */
.book-status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #333;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}

.book-box.status-borrowed .book-status-badge {
    background-color: #dc3545;
}

.book-box.status-reserved .book-status-badge {
    background-color: #fd7e14;
}
