.constructorButtonsEditor {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}

.buttonsContainer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.buttonWrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.linkInputWrapper {
    position: absolute;
    bottom: 100%;
    margin-bottom: 8px;
    width: 300px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.linkInput {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 14px;
    line-height: 20px;
    color: #111827;
    outline: none;
}

.linkInput:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.addButton {
    background: #e5e7ec;
    border: none;
    background-image: url('../../../assets/icons/plus.svg');
    background-position: center;
    background-repeat: no-repeat;
}

.deleteButton {
    padding: 4px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.deleteButton:hover {
    opacity: 0.8;
}

.editableButton {
    display: inline-flex;
    min-width: fit-content;
    width: auto;
}

.buttonContent {
    display: inline-block;
    min-width: 1em;
    max-width: 40em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    outline: none;
    margin: 0;
    padding: 0;
    line-height: inherit;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    text-align: center;
    width: 100%;
}

.buttonContent::placeholder {
    color: #9CA3AF;
}

.buttonContent:empty::before {
    content: 'Кнопка';
    color: #9CA3AF;
}

.buttonRow {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.buttonInput {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    background-color: #fff;
    transition: border-color 0.2s;
}

.buttonInput:focus {
    outline: none;
    border-color: #91CF4F;
}

.buttonInput::placeholder {
    color: #9CA3AF;
}

.editorSaveButton {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
} 