.post-card {
    transition: transform 0.2s;
}
.post-card:hover {
    transform: translateY(-5px);
}
.badge-draft {
    background-color: #6c757d;
}
.badge-published {
    background-color: #28a745;
}
.book-tag,
.post-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background-color: #e9ecef;
    border-radius: 15px;
    margin: 2px;
}
.book-tag .btn-remove,
.post-tag .btn-remove {
    width: 20px;
    height: 20px;
    padding: 0;
    font-size: 10px;
    border-radius: 50%;
}
.search-result-item {
    position: relative;
}
.cover-tooltip {
    position: fixed;
    z-index: 1060;
    padding: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}
.cover-tooltip.show {
    opacity: 1;
}
.cover-tooltip img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    display: block;
}
.cover-tooltip .spinner-border {
    width: 2rem;
    height: 2rem;
    margin: 50px;
}
/* Quill editor styling */
.quill-editor-container {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background: white;
}
.quill-editor-container .ql-toolbar {
    border: none;
    border-bottom: 1px solid #ced4da;
    background: #f8f9fa;
    border-radius: 0.375rem 0.375rem 0 0;
}
.quill-editor-container .ql-container {
    border: none;
    font-size: 1rem;
    font-family: inherit;
}
.quill-editor-container .ql-editor {
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
}
.quill-editor-container .ql-editor.ql-blank::before {
    color: #6c757d;
    font-style: normal;
}
/* Style for images inserted in Quill editor */
.quill-editor-container .ql-editor img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.quill-editor-container .ql-editor video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
    border-radius: 4px;
}
