.builderius-rename-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.builderius-rename-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.builderius-rename-dialog {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    padding: 24px;
    z-index: 1000000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    animation: builderius-modal-slide-in 0.2s ease-out;
}

@keyframes builderius-modal-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.builderius-rename-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.builderius-rename-header h3 {
    margin: 0;
    font-size: 18px;
    color: #1e293b;
    font-weight: 600;
}

.builderius-rename-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.builderius-rename-close:hover {
    color: #1e293b;
}

.builderius-rename-body label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.builderius-rename-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s;
}

.builderius-rename-input:focus {
    border-color: #3b82f6;
    background: #fff;
}

/* FIX: Markierter Text lesbar machen */
.builderius-rename-input::selection {
    background-color: #3b82f6;
    color: #ffffff;
}

.builderius-rename-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.builderius-rename-cancel,
.builderius-rename-save {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

.builderius-rename-cancel {
    background: #f1f5f9;
    color: #475569;
}

.builderius-rename-save {
    background: #3b82f6;
    color: #fff;
}

.builderius-rename-cancel:hover,
.builderius-rename-save:hover {
    opacity: 0.9;
}