.modern-list-item {
    margin-bottom: 25px;
}

.book-list-card {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    position: relative;
}

.book-list-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    /* transform: translateY(-2px); */
}

/* .book-list-icon-section {
background: linear-gradient(135deg, #33d6b5 0%, #4ca1af 100%);
padding: 30px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-width: 140px;
position: relative;
} */

.book-type-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
}

.book-type-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.digital-indicator {
    background: #28a745;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.digital-indicator i {
    font-size: 12px;
}

.book-list-content {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
}

.book-list-header {
    margin-bottom: 20px;
}

.list-book-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.list-book-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.list-book-title a:hover {
    color: #4ca1af;
}

.list-arabic-title {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    text-align: right;
    margin-top: 8px;
}

.book-list-meta {
    flex: 1;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 12px;
}

.meta-col {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    flex: 1;
    min-width: 200px;
}

.meta-col i {
    color: #4ca1af;
    margin-right: 8px;
    margin-top: 3px;
    min-width: 16px;
    flex-shrink: 0;
}

.meta-col strong {
    color: #333;
    margin-right: 6px;
    white-space: nowrap;
}

.meta-col span {
    color: #555;
}

.book-list-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.book-list-footer .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 24px;
    transition: all 0.2s ease;
}

.book-list-footer .btn:hover {
    /* transform: translateY(-1px); */
    box-shadow: 0 4px 12px rgba(0, 123, 186, 0.3);
}

.library-logo-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.library-logo-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Highlight style */
.book-list-card span[style*="background-color: yellow"] {
    background-color: #fff3cd !important;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .book-list-icon-section {
        min-width: 120px;
        padding: 20px;
    }

    .book-type-icon {
        width: 70px;
        height: 70px;
    }

    .book-type-icon img {
        width: 40px;
        height: 40px;
    }

    .book-list-content {
        padding: 20px;
    }

    .list-book-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .book-list-card {
        flex-direction: column;
    }

    .book-list-icon-section {
        min-width: auto;
        width: 100%;
        padding: 20px;
        flex-direction: row;
        justify-content: space-between;
    }

    .book-type-icon {
        margin-bottom: 0;
    }

    .meta-row {
        flex-direction: column;
        gap: 8px;
    }

    .meta-col {
        min-width: auto;
        width: 100%;
    }

    .library-logo-badge {
        width: 50px;
        height: 50px;
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 576px) {
    .book-list-content {
        padding: 15px;
    }

    .list-book-title {
        font-size: 16px;
    }

    .meta-col {
        font-size: 13px;
    }

    .library-logo-badge {
        width: 40px;
        height: 40px;
        padding: 5px;
    }
}
