/* PM Faces Block - Editor Styles */

.pm-faces-editor {
    padding: 20px;
    background: linear-gradient(135deg, #1a1f36 0%, #0d1025 100%);
    border-radius: 12px;
}

.pm-faces-editor .pm-faces {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-faces-editor .pm-face {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: -12px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    position: relative;
}

.pm-faces-editor .pm-face:first-child {
    margin-left: 0;
}

.pm-faces-editor .pm-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pm-faces-editor .pm-face-placeholder {
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-faces-editor .pm-face-placeholder .components-button {
    min-width: auto;
    padding: 0;
    width: 24px;
    height: 24px;
}

.pm-faces-editor .pm-face-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.pm-faces-editor .pm-face:hover .pm-face-overlay {
    opacity: 1;
}

.pm-faces-editor .pm-face-overlay .components-button {
    min-width: auto;
    padding: 4px;
    width: 20px;
    height: 20px;
}

.pm-faces-editor .pm-face-overlay .components-button svg {
    width: 12px;
    height: 12px;
}

.pm-faces-editor .pm-face-count {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-left: -12px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    flex-shrink: 0;
}

.pm-faces-editor .pm-face-count span {
    outline: none;
}

.pm-faces-editor .pm-face-count [data-rich-text-placeholder]::after {
    color: rgba(255, 255, 255, 0.5);
}
