/* ============================================================
   browse.css — Browse Documents Page Styles
   ============================================================ */

.document-card {
    position: relative;
    transition: all 0.3s ease;
}

.document-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.document-icon {
    text-align: center;
}

.document-list-item {
    transition: all 0.3s ease;
}

.document-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.tags {
    line-height: 1.4;
}

.btn-group .btn {
    border-radius: 16px !important;
}

/* Grid/List view transitions */
#documentsGrid, #documentsList {
    transition: opacity 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .d-flex.justify-content-between.align-items-center.mb-4 {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start !important;
    }

    .document-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .document-actions .btn {
        width: 100%;
    }
}
