	.pm-overlay {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    max-height: 600px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 10000;
}

.pm-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.pm-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.pm-backdrop.active {
    display: block;
}

/* Modal Header */
.pm-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pm-header h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.pm-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
}

.pm-close-btn:hover {
    background: #e9ecef;
    color: #333;
}

/* Chat List Container */
.pm-chat-list {
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f8f9fa;
}

.pm-chat-list::-webkit-scrollbar {
    width: 6px;
}

.pm-chat-list::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.pm-chat-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.pm-chat-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Chat Block Item */
.pm-chat-block {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.pm-chat-block:hover {
    background: #f8f9fa;
}

/* Avatar Container */
.pm-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.pm-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

.pm-online-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
}

.pm-online-status.online {
    background-color: #28a745;
}

.pm-online-status.offline {
    background-color: #dc3545;
}

/* Chat Info */
.pm-chat-info {
    flex: 1;
    min-width: 0;
}

.pm-nickname {
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    font-size: 14px;
}

.pm-last-message {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.pm-message-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-message-time {
    font-size: 11px;
    color: #999;
    font-weight: 600;
    flex-shrink: 0;
}

/* Empty State */
.pm-empty-state {
    padding: 40px 20px;
    text-align: center;
    color: #999;
}

.pm-empty-state-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
}

/* Footer Section */
.pm-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    background: #fafbfc;
    display: flex;
    gap: 10px;
}

.pm-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.pm-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.pm-start-btn {
    padding: 10px 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.pm-start-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.pm-start-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .pm-overlay {
        width: 90%;
        max-width: 500px;
        max-height: 80vh;
    }

    .pm-chat-list {
        max-height: calc(80vh - 200px);
    }

    .pm-footer {
        flex-direction: column;
    }

    .pm-start-btn {
        width: 100%;
    }
}