
.chat-list-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: transparent;
}

.chat-list-header {
    padding: 15px 20px;
    background-color: #33415556;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.chat-list-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 5px;
}

.chat-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin: 5px 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.chat-item:active {
    background-color: rgba(255, 255, 255, 0.12);
    transform: scale(0.98);
}

.chat-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    aspect-ratio: 1 / 1;
    margin-right: 15px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.chat-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-info-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.chat-name {
    font-weight: 600;
    font-size: 15px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.chat-info-bottom {
    display: flex;
    justify-content: flex-start;
}

.chat-last-message {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-list-content::-webkit-scrollbar {
    width: 4px;
}

.chat-list-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* Glassmorphism empty state card styling */
.empty-chats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    height: calc(100% - 40px);
    min-height: 380px;
    box-sizing: border-box;
}

.empty-chats-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px 24px;
    text-align: center;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    animation: fadeInEmptyCard 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.empty-chats-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.empty-chats-icon-wrapper i {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.95);
    animation: pulseIcon 3s infinite ease-in-out;
}

.empty-chats-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px 0;
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    letter-spacing: -0.5px;
}

.empty-chats-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
}

@keyframes fadeInEmptyCard {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(255,255,255,0));
    }
    50% {
        transform: scale(1.06);
        filter: drop-shadow(0 0 8px rgba(255,255,255,0.3));
    }
}