/* ===== CHATS PAGE STYLES ===== */
/* Chat list and cards */

.chat-preview {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
}

.chat-message-preview {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.message-status {
    font-size: 0.75rem;
}

.card.border-primary {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Responsive design for chats */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-footer {
        padding: 0.75rem 1rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .chat-preview {
        padding: 0.75rem !important;
    }
    
    .chat-message-preview {
        font-size: 0.8rem;
    }
    
    .badge {
        font-size: 0.7rem;
    }
    
    /* Mobile header adjustments */
    .d-flex.justify-content-between.flex-wrap.mb-4.align-items-center {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
    
    /* Mobile search adjustments */
    .row.mb-4 .col-md-6:first-child {
        margin-bottom: 1rem;
    }
    
    .search-wrapper {
        width: 100%;
    }
    
    /* Mobile card grid adjustments */
    .col-md-6.col-lg-4.mb-4 {
        width: 100%;
    }
    
    /* Mobile button adjustments */
    .btn {
        font-size: 14px;
        padding: 0.5rem 1rem;
    }
    
    /* Mobile empty state adjustments */
    .empty-state {
        padding: 2rem 1rem;
    }
    
    .empty-state i {
        font-size: 3rem !important;
    }
    
    .empty-state h5 {
        font-size: 1.25rem;
    }
    
    .empty-state p {
        font-size: 0.9rem;
    }
} 