.user-image,
.feed-user-image {
    width: 40px;
    height: 40px;
    object-fit: cover
}

.card-footer {
    justify-content: center
}

.pagination {
    margin-bottom: 0
}

@media (min-width: 576px) {
    .modal-dialog {
        margin: 6rem auto;
    }
}

.app-main {
    z-index: auto;
}

.app-header {
    z-index: 15;
}

.fixed-sidebar .app-main .app-main__outer {
    z-index: auto;
}

.app-main .app-main__outer {
    z-index: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: 400;
    height: auto;
    opacity: 1;
    transition: height 0ms 0ms, opacity 600ms 0ms;
}

.closed-sidebar:not(.closed-sidebar-mobile) .app-header .app-header__logo .logo-text {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: height 0ms 400ms, opacity 400ms 0ms;
}

.feed-small-img {
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .5) !important;
}

.feed-small-img>img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.referrals-block {
    display: inline-block;
    background-color: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

.referrals-block:hover {
    background-color: #eee;
    cursor: pointer;
}

.scrollbar-sidebar {
    overflow: auto;
}

.vertical-nav-menu li a {
    line-height: 1.8rem;
    height: 1.8rem;
}

.vertical-nav-menu i.metismenu-icon {
    width: 1.8rem;
    height: 1.8rem;
    line-height: 1.8rem;
    margin-top: -13px;
}

.feed-table td {
    word-wrap: break-word;
    overflow-wrap: break-word;
    /* max-width: 200px; */
}

.widget-content.custom .widget-content-wrapper{
    gap: 10px;
}
.buyer-icon{
    filter: invert(59%) sepia(152%) saturate(6322%) hue-rotate(69deg) brightness(100%) contrast(143%);
}

.date-filter-container {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 10px 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.date-filter-container .row {
    align-items: center;
    margin: 0 -5px;
}

.date-filter-container .col-md-5,
.date-filter-container .col-md-2 {
    padding: 0 5px;
}

.date-filter {
    display: flex;
    align-items: center;
}

.date-filter label {
    font-weight: 600;
    font-size: 13px;
    color: #495057;
    margin-right: 10px;
    margin-bottom: 0;
    white-space: nowrap;
    min-width: 45px;
}

.date-filter input[type="date"] {
    font-size: 13px;
    height: 36px;
    padding: 4px 8px;
}

#applyDateFilter {
    height: 36px;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 15px;
    width: 100%;
    transition: all 0.2s ease;
}

#applyDateFilter:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Business Documents Modal Styles */
#documentModal .modal-content {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#documentModal .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

#documentModal .modal-title {
    font-weight: 600;
    color: #2c3e50;
}

#documentModal .modal-body {
    padding: 1.5rem;
}

.document-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem;
}

.document-item {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.document-item h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.document-preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 0.5rem;
}

.document-preview-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.document-preview-container img:hover {
    transform: scale(1.05);
}

.pdf-preview {
    text-align: center;
    padding: 1rem;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.pdf-preview:hover {
    background-color: #f8f9fa;
}

.pdf-preview i {
    color: #dc3545;
    margin-bottom: 0.5rem;
}

.pdf-preview p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Image Preview Modal Styles */
#imagePreviewModal .modal-content {
    background-color: #000;
    border: none;
}

#imagePreviewModal .modal-header {
    background-color: rgba(0, 0, 0, 0.8);
    border-bottom: none;
}

#imagePreviewModal .modal-title {
    color: #fff;
}

#imagePreviewModal .close {
    color: #fff;
    text-shadow: none;
}

#imagePreviewModal .modal-body {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#fullImagePreview {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* PDF Preview Modal Styles */
#pdfPreviewModal .modal-content {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#pdfPreviewModal .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

#pdfPreviewModal .modal-body {
    padding: 0;
    background-color: #f8f9fa;
}

#fullPdfPreview {
    border: none;
    background-color: #fff;
}